Skip to content
Prev 3471 / 10988 Next

[Rcpp-devel] RInside under Windows

Success.

I'll tentatively offer this summary of the
important things to do.  There are three
environment variables to set:

* PATH needs to include the path to the R DLLs
for example the bin\i386 under your R_HOME.

* R_HOME needs to be set.

* R_LIBS_USER needs to be set.  (Trying to do it
in .Rprofile didn't work for me.)


There is still a puzzle in my mind.  Setting
R_LIBS_USER was necessary to get:
make -f Makefile.win
to work.  Fine.

But when it is not set and the exe files already
exist, there is strange (to me) behavior.  Double
clicking runs the code, but running it in a
command window does not.  Essentially R_LIBS_USER
is okay in the double click route but the environment
variable is necessary when run in a command window.

Pat
On 15/02/2012 14:03, Dirk Eddelbuettel wrote: