[R] update R packages in local repos
Muhammad Subianto
subianto at gmail.com
Wed Nov 16 23:19:12 CET 2005
I try to update R packages via my local repository.
I put all R packages in g:/myFolder/myRepository, I do like
> library(tools)
> write_PACKAGES("g:/myFolder/myRepository")
> options(repos=c(LocalR="file://g:/myFolder/myRepository"))
> getOption("repos")
LocalR
"file://g:/myFolder/myRepository"
> update.packages(ask = "graphics")
Error in gzfile(file, "r") : unable to open connection
In addition: Warning message:
cannot open compressed file
':/myFolder/myRepository/bin/windows/contrib/2.2/PACKAGES'
>
> ?update.packages
It produces these file in g:/myFolder/myRepository
PACKAGES
PACKAGES.gz
Could I make this folder (bin/windows/contrib/2.2/)? Why?
Regards, Muhammad Subianto
> version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 2
minor 2.0
year 2005
month 10
day 06
svn rev 35749
language R
>
More information about the R-help
mailing list