Skip to content
Prev 67355 / 398506 Next

R_LIBS difficulty ?

Hi, R people.

I'm shy reporting this, as a bug in this area sounds very unlikely.  Did
I make my tests wrongly?  I'm still flaky at all this.  Let me dare
nevertheless, who knows, just in case...  Please don't kill me! :-)

Not so long ago, I wrote to this list:
Now using this line within `~/.Renviron':

   R_LIBS=/home/pinard/etc/R

my tiny package is correctly found by R.  However, R does not seem to
see any library within that directory if I rather use either of:

   R_LIBS=$HOME/etc/R
   R_LIBS="$HOME/etc/R"

The last writing (I mean, something similar) is suggested somewhere in
the R manuals (but I do not have the manual with me right now to give
the exact reference, I'm in another town).

Another hint that it could be expected to work is that the same
`~/.Renviron' once contained the line:

   R_BROWSER=$HOME/bin/links

which apparently worked as expected.  (This `links' script launches the
real program with `-g' appended whenever `DISPLAY' is defined.)

This is R 2.0.1, installed on SuSE 9.2.