[R] .Rprofile under Windoze.
Charles Annis, P.E.
Charles.Annis at StatisticalEngineering.com
Thu Aug 31 00:06:43 CEST 2006
Under Windows mine is located here
C:\Program Files\R\R-2.3.1\library\base\R
The file name, however is not .Rprofile, but rather Rprofile
Charles Annis, P.E.
Charles.Annis at StatisticalEngineering.com
phone: 561-352-9699
eFax: 614-455-3265
http://www.StatisticalEngineering.com
-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Rolf Turner
Sent: Wednesday, August 30, 2006 5:50 PM
To: r-help at stat.math.ethz.ch
Subject: [R] .Rprofile under Windoze.
I am (for my sins) having to do some work using R under Windoze. I
wanted to set up a .Rprofile to control my set-up. The docs on
.Rprofile say that it can/should be placed in ``the user's home
directory''. ``An Introduction to R'' observes lucidly that this
concept needs to be clarified under Windoze.
Following the suggestions in An Introduction to R, I tried
putting a .Rprofile in
"C:\Documents and Settings\rolf\My Documents"
When that didn't work, I tried putting it in the starting directory
(and confirmed that I'd got that right by checking with getwd() and
list.files(all.files=TRUE) ).
The last invocation indicated that the name of the file was *really*
``.Rprofile.txt'' --- although I'd tried to save it as (simply)
``.Rprofile''. Is that the problem? If so, how can I persuade
Windoze NOT to stick that damned .txt tag on the end? (Gawd, but I
***hate*** Windoze!!!) If that's not the problem, can you suggest
what *is* the problem?
All that .Rprofile(.txt) has in it at the moment is
options(prompt="Wheee! ")
so that I can easily tell whether it's working. If I
execute
> source(".Rprofile.txt")
the prompt does indeed get changed to ``Wheee! '' as it should.
I would appreciate enlightenment. Ta.
cheers,
Rolf Turner
rolf at math.unb.ca
______________________________________________
R-help at stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list