Skip to content
Prev 82832 / 398503 Next

update from tar.gz in local directory on Unix/Solaris

On Thu, 15 Dec 2005, Christian Hoffmann wrote:

            
What does 'update' mean here?  Do you want to install those, or install 
later versions from CRAN, or what?

update.packages() is about updating from a repository, which you do not 
have, AFAICS.
I presume all your paths are missing a leading / ?
You can state it, but it cannot be fulfilled. It would be lib.loc=.Library 
or lib.loc="/usr/local/lib/R/library/"
Probably not, as you need to give a library tree to install into, one with 
suitable permissions.  To give a real example,

install.packages("/users/ripley/R/packages/contrib/ash_1.0-9.tar.gz",
                  lib="~/R/library", repos=NULL)