From phlamber@luc.ac.be  Thu Nov 27 10:02:26 1997
From: phlamber@luc.ac.be (Philippe Lambert)
Date: Thu, 27 Nov 1997 11:02:26 +0100 (MET)
Subject: R-alpha: RData in batch
Message-ID: <Pine.OSF.3.96.971127103915.13153A-100000@alpha>

Just a word to mention that I have lost 2 hours yesterday to find out why
R refused to use a function from a package calling C-code.
R invariably answered that the C code was not in the load table (something
like this). I have tried everything (or nearly) to solve my problem
knowing that this same package used to work on my computer at the
university.
Finally, I found out that running the same instructions as root work fine.
The explanation for my computer sudden good will is not that I was root,
but that I ran R in a different directory ... without .RData!!
(and I don't care about .RData when I use R in batch mode!!).

Thus, 
would it be possible to have R not creating .RData file by default in
batch mode?

A second potential problem: when I build packages including personal
functions, I use to test my functions interactively by typing
library(mypackage) after modification of my code in an editor.
The problem is that repeating the library load does not erase the old
version. Do I do something wrong?


Philippe


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


R-alpha: RData in batch
Philippe Lambert