[R-SIG-Mac] Package Manager/Installer

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Oct 20 20:13:50 CEST 2008


On Mon, 20 Oct 2008, Simon Urbanek wrote:

>
> On Oct 20, 2008, at 13:34 , Mollie Brooks wrote:
>
>> 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.

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

>> 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.
>
> 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 
> ...

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)

>
> Cheers,
> Simon
>
>
>> 
>> On Mon Oct 20 06:00:02 EDT 2008, r-sig-mac-request at stat.math.ethz.ch wrote:
>> 
>>> Send R-SIG-Mac mailing list submissions to
>>> 	r-sig-mac at stat.math.ethz.ch
>>> To subscribe or unsubscribe via the World Wide Web, visit
>>> 	https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>> or, via email, send a message with subject or body 'help' to
>>> 	r-sig-mac-request at stat.math.ethz.ch
>>> You can reach the person managing the list at
>>> 	r-sig-mac-owner at stat.math.ethz.ch
>>> When replying, please edit your Subject line so it is more specific
>>> than "Re: Contents of R-SIG-Mac digest..."
>>> Today's Topics:
>>>  1.  Package manager question (David Kaplan)
>>> ----------------------------------------------------------------------
>>> Message: 1
>>> Date: Sun, 19 Oct 2008 16:51:02 -0500
>>> From: David Kaplan <dkaplan at education.wisc.edu>
>>> Subject: [R-SIG-Mac] Package manager question
>>> To: r-sig-mac at stat.math.ethz.ch
>>> Message-ID: <48FBABC6.6040804 at education.wisc.edu>
>>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>> Greetings,
>>> My apologies if this is a very simple question.  I downloaded and 
>>> installed a couple of packages today.  In the package manager in R for Mac 
>>> (version 2.7.2), I find that when I try to load the package, I can't.  The 
>>> load button never clicks on.  Why is that?  As an example, I'm trying to 
>>> use Ryacas.  Thanks in advance,
>>> David
>>> -- 
>>> =======================================================================
>>> David Kaplan, Ph.D.
>>> Professor
>>> Department of Educational Psychology
>>> University of Wisconsin - Madison
>>> Educational Sciences, Room, 1061
>>> 1025 W. Johnson Street
>>> Madison, WI 53706
>>> email: dkaplan at education.wisc.edu
>>> homepage:
>>> http://www.education.wisc.edu/edpsych/default.aspx?content=kaplan.html
>>> Phone: 608-262-0836
>>> ------------------------------
>>> _______________________________________________
>>> R-SIG-Mac mailing list
>>> R-SIG-Mac at stat.math.ethz.ch
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>> End of R-SIG-Mac Digest, Vol 68, Issue 15
>>> *****************************************
>> 
>> 
>> 
>> --
>> Mollie E. Brooks
>> Graduate Student
>> Department of Zoology
>> University of Florida
>> 616 Bartram Hall
>> http://www.zoo.ufl.edu/mbrooks/
>> 
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac at stat.math.ethz.ch
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>> 
>> 
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-SIG-Mac mailing list