[R] update R packages in local repos

From: Muhammad Subianto <subianto_at_gmail.com>
Date: Thu 17 Nov 2005 - 09:19:12 EST


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
>


R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Nov 17 09:26:35 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:41:11 EST