Skip to content
Prev 32147 / 63424 Next

R in standalone application

Eric,
On Mar 31, 2009, at 10:50 PM, Eric wrote:

            
Yes - you didn't read the 8.1 section of R-ext attentively enough. It  
tells you that you need to setup the environment properly and the  
easiest way to do that on unix is to run
R CMD yourApp

Clearly, R must be installed in order to use your application, since  
your application is using R ;). It is common for the embedding  
application to determine the correct settings before starting R (see  
the R.app GUI on how to setup the environment on a Mac in a GUI  
application [you can still use R CMD though], see for example Rserve  
on how to find the R settings from the registry on Windows).

Cheers,
Simon