If you start Rterm/Rgui from the cmd (NT4.4) command line, the .Rhistory and .RData files are created/used in the current directory. I think, R should honor HOME or even the USERPROFILE variable. Regards Karl PS: is this the correct list for such reports or would it be better to use r-devel? -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Tue, Feb 23, 1999 at 12:09:08PM +0100, Karl M. Syring wrote:> If you start Rterm/Rgui from the cmd (NT4.4) command line, the .Rhistory and > .RData files are created/used in the current directory. > I think, R should honor HOME or even the USERPROFILE variable.This is modelled on the Unix behaviour. About .RData, I strongly believe that it is a very sensible (and useful) behavior (I use different directories for different projects or data and WANT different .RData). About .RHistory is more a matter of taste. Probably, I agree that one .RHistory is enough. BTW, since we are speaking on .RHistory: under Unix, I would like to have the command history saved also when one doesn't save the workspace; now, exiting with q("no") or friends doesn't update .RHistory. guido -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Guido Masarotto) (Guido Masarotto
1999-Feb-24 22:26 UTC
[R] rw0632 makes stray .Rhistory orphans
On Wed, Feb 24, 1999 at 09:42:50PM +0100, Kjetil Halvorsen wrote:> Opened the tema, another small mal-function which could be easily > repaired: When sourcing a file from the menu, the working directory > (HOME?) changes to the files directory, then leaving R the Rdata > gets saved in the wrong place! I feel that sourcing shouldnt change > HOME, it surprised me more than once. >K., I think you are perfectly right. Any opinion by others before I change the source? And, what about loading and saving the workspaces? I haven't checked but since code is essentialy the same I suppose behaviour is the same and, hence, it must be changed too. g. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._