[Rcpp-devel] passing a PATH within R

Frank Erickson FErickson at psu.edu
Thu Sep 26 22:06:31 CEST 2013


Hi,

At this point, my question might be better directed at a different forum,
but just in case...

I'm wondering if I can tell R, or the package or cppFunction what path to
look in?


The verbose version follows:

I'm compiling a few Rcpp+RcppArmadillo functions in Windows 7 without admin
access. The rtools30.exe installer worked just fine and told me what PATH
it wanted to set. However, the installer couldn't set the PATH in the
registry itself (because I wasn't running the installer as an admin).

At Dirk's suggestion (link below), I changed the PATH in the console and
loaded up R from there; and it worked.
http://chat.stackoverflow.com/transcript/message/12028706#12028706

I prefer to use my own editor instead of R's default one. I tried spawning
it (notepad++) from the console and then using a plugin for the editor to
spawn R. That didn't work, so

I'm wondering if I can tell R, or the package or cppFunction what path to
look in?


If not, I'll go ask the notepad++-to-R (nppToR) folks. I also tried editing
options(editor='path to my editor') in the R session with the right path,
but couldn't get that to work.

Thanks,

Frank Erickson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20130926/62a87f03/attachment.html>


More information about the Rcpp-devel mailing list