[R] R and Vista
murdoch at stats.uwo.ca
Wed Jan 16 17:10:40 CET 2008
On 1/16/2008 10:53 AM, Marcia Rocha wrote:
> Hello Duncan,
> Thank you for your answer.
> I get a very strange path on my R.home():
> " C:\\PROGRA~2\\R\\R-25~1.0"
> And the command
> readLines(C:\\PROGRA~2\\R\\R-25~1.0\etc\Rprofile.site) returns an Error (a
> syntax one, I triple checked the syntax...)
> Would you know what this means?
The error is about the single backslashes (I used forward slashes,
because that's what R uses internally), and the lack of quotes. You
However, I'm guessing based on your path that you're using R 2.5.x. I'd
upgrade to 2.6.1 if you can; it has had some things fixed to deal with
> Thank you agian,
> On Jan 16, 2008 4:36 PM, Duncan Murdoch <murdoch at stats.uwo.ca> wrote:
>> On 1/16/2008 10:19 AM, marciarr wrote:
>> > Hello R users,
>> > I have been using R for a while on xp and have just updated my system to
>> > vista. Have encountered some problems... First and main problem is that
>> > cannot make R recognize my own written functions by coping them into the
>> > Rprofile.site on the etc folder. For some reason, this very useful tool
>> > seems not to be working anymore. Could someone help?? Any other
>> > to make R start with my functions?
>> What does the command
>> print in an R session on your system? Can you add "/etc/Rprofile.site"
>> to the end, and read the file? For example, on my system I see
>> > R.home()
>>  "F:\\R\\R-2.6.1"
>> and see
>> > readLines("F:\\R\\R-2.6.1/etc/Rprofile.site")
>>  "# Things you might want to change"
>>  ""
>>  "# options(papersize=\"a4\")"
>>  "# options(editor=\"notepad\")"
>> [ remaining lines deleted ]
>> Duncan Murdoch
More information about the R-help