Installed successfully on Vista but with msg warnings

2 replies [Last post]
csantos's picture
Offline
Joined: 09/16/2009

> source('[private beta URL])
Warning in install. packages("snowfall") :
argument 'lib' is missing: using 'C:\Users\carlos\Documents/R/win-library/2.9'
trying URL 'http://www.vps.fmvz.usp.br/CRAN/bin/windows/contrib/2.9/snowfall_1.70.zip'
Content type 'application/zip' length 272684 bytes (266 Kb)
opened URL
downloaded 266 Kb

package 'snowfall' successfully unpacked and MD5 sums checked

The downloaded packages are in
C:\Users\carlos\AppData\Local\Temp\RtmpxjGoME\downloaded_packages
updating HTML package descriptions
Warning in install.packages(pkgs = c("OpenMx"), repos = repos) :
argument 'lib' is missing: using 'C:\Users\carlos\Documents/R/win-library/2.9'
trying URL 'http://openmx.psyc.virginia.edu/packages/bin/windows/contrib/2.9/OpenMx_0.1.3-776.zip'
Content type 'application/zip' length 2668668 bytes (2.5 Mb)
opened URL
downloaded 2.5 Mb

package 'OpenMx' successfully unpacked and MD5 sums checked

The downloaded packages are in
C:\Users\carlos\AppData\Local\Temp\RtmpxjGoME\downloaded_packages
updating HTML package descriptions
Warning messages:
1: In file.create(f.tg) :
cannot create file 'C:\PROGRA~2\R\R-29~1.2/doc/html/packages.html', reason 'Permission denied'
2: In file.create(f.tg) :
cannot create file 'C:\PROGRA~2\R\R-29~1.2/doc/html/packages.html', reason 'Permission denied'
> grep("snow", installed.packages()[,1])
[1] 3 4
> grep("OpenMx", installed.packages()[,1])
[1] 1

mspiegel's picture
Offline
Joined: 07/31/2009
There are two flavors of

There are two flavors of warnings that are appearing:

Warning in install. packages("snowfall") :
argument 'lib' is missing: using 'C:\Users\carlos\Documents/R/win-library/2.9'

This is a good thing. I prefer to have my R libraries installed in the Documents folder, because I don't have to worry about Vista stupid filesystem permissions.

Warning messages:
1: In file.create(f.tg) : cannot create file 'C:\PROGRA~2\R\R-29~1.2/doc/html/packages.html', reason 'Permission denied'

So the OpenMx documentation has not been created, because of Vista stupid filesystem permissions. I would follow the instructions at this link to get the documentation to the correct location: http://cran.r-project.org/bin/windows/base/rw-FAQ.html#Does-R-run-under-...

Also, if you change the permissions so you can write to 'C:\PROGRA~2\R\R-29~1.2', you might want to delete your C:\Users\carlos\Documents/R/win-library/2.9 folder and start over. Some users experienced strange behaviors when a copy of OpenMx was installed in their local directory, and another copy was installed in the system directory.

csantos's picture
Offline
Joined: 09/16/2009
I gave myself full control on

I gave myself full control on the R-29~1.2 folder, reinstalled OpenMx, and everything went through alright.

Thanks for the tips,