[R] Windows 7 installation issues
Jeff Newmiller
jdnewmil at dcn.davis.CA.us
Wed May 30 05:04:12 CEST 2012
a) Please read the Posting Guidelines mentioned at the bottom of every message. One rule is this is a plain text email list, so adjust your mail client to post text to this email list, not HTML.
b) For best results, do not run R as administrator except to update base packages. R works fine using a package library in your user Documents directory, and files created while running as Administrator will have inconvenient permissions and running that way will also expose your system unnecessarily to security flaws.
c) The instructions for testing a Windows installation omit a critical parameter name specification, and if you don't have RTools installed and findable by R then you need to sort through the errors to decide which ones are not critical. Use
testInstalledPackages(scope="base",errorsAreFatal=FALSE)
running R as a normal user. For complete testing, install Rtools. (I discovered the parameter specification problem by reading the help documentation through ?testInstalledPackages.)
---------------------------------------------------------------------------
Jeff Newmiller The ..... ..... Go Live...
DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software/Embedded Controllers) .OO#. .OO#. rocks...1k
---------------------------------------------------------------------------
Sent from my phone. Please excuse my brevity.
"jalanthomas at verizon.net" <jalanthomas at verizon.net> wrote:
>I installed R version 2.15.0 under C:/ on a PC running Windows 7.� When
>I load library("tools") to test the installation and then run the
>command testInstalledPackages("base"), I get the following error:
>
>Error in setwd(outDir): cannot change working directory.
>
>I have set up the R shortcut to run it as administrator.
>
>
> [[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.
More information about the R-help
mailing list