On Fri, Jul 2, 2010 at 2:14 AM, Tal Galili <tal.gal...@gmail.com> wrote: > Thank you Joshua and Allan, > I tried it now, and indeed it works. > It remember for some reason that it didn't work for windows XP, was I wrong, > or did something change ?
I just tried it out on an XP machine and it did not work. Perhaps you had it in quotes? Backslashes seem to work when they are in quotes. As a side note, I have been running the 64 bit version of R on Windows 7 for several months now and have been very happy. I have not had any issues with stability or anything else to make me believe it is subpar to the 32 bit version. Josh > Thanks again to the two of you. > Best, > Tal > > > > ----------------Contact > Details:------------------------------------------------------- > Contact me: tal.gal...@gmail.com | 972-52-7275845 > Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | > www.r-statistics.com (English) > ---------------------------------------------------------------------------------------------- > > > > > On Fri, Jul 2, 2010 at 11:45 AM, Joshua Wiley <jwiley.ps...@gmail.com> > wrote: >> >> Does Sys.getenv("R_LIBS") show the path? My guess is that it has to >> do with this little part from ?.libPaths "Only directories which exist >> at the time will be included." Try entering the path you specified >> into R; when I do, I get an error that says Error: '\P' is an >> unrecognized escape in character string starting suggesting that it is >> your use of backslashes in the path name leading to R not recognizing >> the directory and .libPaths() ignoring it. >> >> I would try: >> >> R_LIBS="C:/Program Files (x86)/R/library" >> >> I also find setting environment variables in Windows to certain >> directories makes my life much easier. >> >> HTH, >> >> Josh >> >> On Fri, Jul 2, 2010 at 12:48 AM, Tal Galili <tal.gal...@gmail.com> wrote: >> > Hi all, >> > >> > I added the following line on the "Renviron.site" file: >> > R_LIBS=C:\Program Files (x86)\R\library >> > >> > And when I start R and run: >> > .libPaths() >> > >> > I don't see this path. >> > >> > On windows XP it worked for me. I am now using windoes 7 (64 bit) with >> > R >> > 32. >> > Is there a reason this shouldn't work? >> > >> > >> > Thanks, >> > Tal >> > >> > >> > >> > >> > ----------------Contact >> > Details:------------------------------------------------------- >> > Contact me: tal.gal...@gmail.com | 972-52-7275845 >> > Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | >> > www.r-statistics.com (English) >> > >> > ---------------------------------------------------------------------------------------------- >> > >> > [[alternative HTML version deleted]] >> > >> > ______________________________________________ >> > R-help@r-project.org 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. >> > >> >> >> >> -- >> Joshua Wiley >> Ph.D. Student, Health Psychology >> University of California, Los Angeles >> http://www.joshuawiley.com/ > > -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/ ______________________________________________ R-help@r-project.org 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.