Skip to content
Prev 2353 / 398506 Next

library

On Wed, 7 Apr 1999, Heberto Ghezzo wrote:

            
The ":" is a mistake: it should be ";" on Windows (and is on rw0640).
I suggesting putting the line in your .Rprofile, not in Rprofile: the `.'
is crucial. That is have .Rprofile containing

.lib.loc <- c("c:/MyR/library", .Library)

Put the .Rprofile file where R will find it: it tries

HOME
R_HOME
the working directory of the shortcut launching Rgui

in turn.

An easier way if this is your personal machine is to replace the
line in etc/Rprofile by the one I have given above.
Sounds to me as if you need to use call_R and pass the function (not its
name) as an argument to .C("Setup_system", ....

Now, there are not many examples of call_R/call_S about.  Read the
appropriate section in the Blue Book rather carefully.