I am trying to install zipped binary R packages via command line on a windows 7 machine with
R CMD INSTALL packagename
but it doesn\'t work. I
An alternative for newbies like me that is hassle free would be:
install.packages(file.choose(), repos=NULL)
The file.choose() command will show a window allowing you to choose the .zip file or the tar.gz file where you downloaded it. This command is very useful when you don't have enough rights on a Windows machine and run R from a flash drive like myself.
It is also useful before running this command to RENAME the zip file you are going to install into the package name that you intend to use.