I've also looked for such things and I don't think there is any such thing. Actually, the typical Matlab "compiler" copies the Matlab engine, it just doesn't allow another party to do any programming for it. Generating independent C (say) requires an expensive add-on, and even then does not support the entire Matlab language. I.e., running the Matlab-generated "executable" would be like installing Matlab...so it's pretty much equivalent to installing R.
Besides Gregory's idea (below), R also comes with Tcl/Tk. With some learning of this toolkit and how R talks to it, you could create a minimal GUI application that would allow someone to load a data file and generate a result. The user has to start R and launch the script (surely there is a way to just launch the script--anyone?) but then the user experience is easy.
If you can get any IT and programming support, I think the best avenue is to link R to a web page (it's what my group does). This way you only have to manage 1 instance of the script running on 1 machine, and the user only needs a web browser. This requires IT support and some programming, but in the long run I think it's the best option. You might want to keep that in mind as a goal: give people scripts, get management buy-in, then ask for help to deploy an intranet site.
-Jim
-------------------------------------------
James Garrett
Manager, R&D Statistics
Becton Dickinson
-------------------------------------------
Original Message:
Sent: 10-06-2011 16:57
From: Gregory Snow
Subject: Compiling R codes to executable format
I don't know of any full compilers (most efforts I have seen have either been very simplistic, or still required most of R to be installed, or both), but one option is the RExcel project (http://rcom.univie.ac.at/download.html) which will install R as an Excel "Add-in". You can use this to install R on the non-statisticians computer, but they will not see it, only an add-in for Excel. Then you can send them an excel spreadsheet that will run R in the background to do the computations or graphing.
-------------------------------------------
Gregory Snow
-------------------------------------------