Skip to content

Package Manager/Installer

3 messages · Mollie Brooks, Simon Urbanek, Brian Ripley

#
Hi Dave,
I've also had problems with the Package manager. I haven't figured 
out how to use packages that I've downloaded directly from the 
cran website.

I found another way of doing it instead: in the R Package 
Installer, choose CRAN (sources). Then click "Get List". You can 
install packages from the list (with location set to "At system 
level"). Then they load just fine using the load() function in the 
command window.

I hope this helps. If someone else knows of another way to install 
downloaded packages, I would be interested to learn because it has 
caused me some frustration.
thanks,
Mollie

On Mon Oct 20 06:00:02 EDT 2008,
r-sig-mac-request at stat.math.ethz.ch wrote:

            
--
Mollie E. Brooks
Graduate Student
Department of Zoology
University of Florida
616 Bartram Hall
http://www.zoo.ufl.edu/mbrooks/
#
On Oct 20, 2008, at 13:34 , Mollie Brooks wrote:

            
Can you be more specific, please? Neither of you has described a  
problem with the packages - the Package Manager is there primarily to  
browse the documentation, not install packages... If you have problem  
installing packages, please tell us exactly what you're doing and what  
errors you get ...

Cheers,
Simon
#
On Mon, 20 Oct 2008, Simon Urbanek wrote:

            
It's not clear if these are source or binary packages.
It seems likely that

install.packages("<path/to/downloaded/file>", repos=NULL)

is what Mollie is looking for (works for source or binary packages, but 
for source packages you currently need to add 'type="source"').  If you 
want to use a GUI to choose a file, perhaps

install.packages(file.choose(), repos=NULL)