Tal Galili
2010-Apr-23 12:54 UTC
[R] I am failing to run the (windows) example in: help(Startup)
Hi all, Inside: help(Startup) There is an example suggesting: ## Example .Renviron on Windows R_LIBS=C:/R/library If I update the file: Rprofile.site in "etc" When I start R I get: Error: 16:10: unexpected '/' 16: R_LIBS=C:/ ^ Of course, if I put it in quotes it works, But I was wondering if I am missing something or is it a mistake in the example? Thanks, Tal ----------------Contact Details:------------------------------------------------------- Contact me: Tal.Galili@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]]
Uwe Ligges
2010-Apr-23 13:56 UTC
[R] I am failing to run the (windows) example in: help(Startup)
Am 23.04.2010 14:54, schrieb Tal Galili:> Hi all, > > Inside: > help(Startup) > > There is an example suggesting: > > ## Example .Renviron on Windows > R_LIBS=C:/R/library > > If I update the file: > Rprofile.site > in "etc"You probably meant to put it in Renviron.site rather than Rprofile.site ... Uwe Ligges> When I start R I get: > > > Error: 16:10: unexpected '/' > 16: R_LIBS=C:/ > ^ > > > Of course, if I put it in quotes it works, But I was wondering if I am > missing something or is it a mistake in the example? > > Thanks, > Tal > > > ----------------Contact > Details:------------------------------------------------------- > Contact me: Tal.Galili at 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 at 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.