Skip to content

zip package

4 messages · Sara Mouro, Uwe Ligges, John Fox +1 more

#
Sara Mouro wrote:

            
For example in the help pages, the manuals, the FAQ, and some R News 
article in the R Help Desk.

Anyway, you simply want to say
    install.packages("lpSolve")
to get a copy installed from CRAN or
   install.packages("C:/Path/to/Zip/File/Package_Version.zip", repos = NULL)

to install a binary package you already got on your harddisk.

Uwe Ligges
#
Dear Sara,

It looks to me as if there are three problems here: (1) Is the zip file for
the package really at "c:/ProgramFiles/R/rw2011/library/lpSolve_1.1.9"? That
is, isn't there a space in "Program Files"? (2) You have to specify
repos=NULL to install from a local zip file, as ?install.packages tells you.
(3) You don't seem to be using the destdir argument correctly; you can omit
it.

Why not avoid all this and just use the R for Windows menus: Packages ->
Install package(s) from local zip files?

I hope this helps,
 John

--------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox 
--------------------------------
1.9",destdir="
w2011/libr
#
Uwe Ligges <ligges at statistik.uni-dortmund.de> writes:
Or maybe use the user-friendly menu entry "Install package from local
ZIP file" in the Packages menu??