[R] installing packages from a directory on the computer

2010-06-22 Thread Subramanian S
i wish to know how to set a folder in computer as a mirror from which i can install packages i am aware of the menu approach- Packagesinstall from local zip files but i wish to know the command line approach because i dont have internet access on the computer where i will be using R. i have put

Re: [R] installing packages from a directory on the computer

2010-06-22 Thread Peter Ehlers
On 2010-06-21 23:39, Subramanian S wrote: i wish to know how to set a folder in computer as a mirror from which i can install packages i am aware of the menu approach- Packagesinstall from local zip files but i wish to know the command line approach because i dont have internet access on the

[R] installing packages from a directory on the computer

2010-06-22 Thread Subramanian S
i wish to know how to set a folder in computer as a mirror from which i can install packages i am aware of the menu approach- Packagesinstall from local zip files but i wish to know the command line approach because i dont have internet access on the computer where i will be using R. i have put

[R] installing packages from a directory on the computer

2010-06-22 Thread Subramanian S
Peter, i tried the file.choose() method of installing from local zip files; its easy to install few packages that way. but you see if there are many packages(say 10 or 12), then i wont be able to install the packages on which the packages that i want to install depend because i guess i cant set

Re: [R] installing packages from a directory on the computer

2010-06-22 Thread David Winsemius
On Jun 22, 2010, at 5:48 AM, Subramanian S wrote: Peter, i tried the file.choose() method of installing from local zip files; its easy to install few packages that way. but you see if there are many packages(say 10 or 12), then i wont be able to install the packages on which the packages

Re: [R] installing packages from a directory on the computer

2010-06-22 Thread Peter Ehlers
Okay, Subramanian S, try this: pkgs - c(pkg1, pkg2, pkg3) install.packages(pkgs, repos = NULL, contriburl = file:///c:/r/repos/2.12, dependencies = TRUE) where I've got zipfiles in c:/r/repos/2.12. Comments: 1. Note the 3 slashes after file:. 2. You will also

[R] installing packages from a directory on the computer

2010-06-22 Thread Subramanian S
i tried pkgs - c(pkg1, pkg2, pkg3) install.packages(pkgs, repos = NULL, + contriburl = file:///C:/R/packages/bin/windows/contrib/2.11, + dependencies = TRUE) i have put the zip files in C:/R/packages/bin/windows/contrib/2.11 *** and extracted the packages.gz