RE: Receiver battery and Gas engine?
As DD said the general rule is 12 inches.
If you have a good ignition and good installation, there is nothing wrong with having them close. Many installations have the throttle servo on the engine box and there are no problems. Just make sure that you have solid connections and good maintenance and you will be fine.