[R-SIG-Mac] Installing sources from R Forge

Jari Oksanen jari.oksanen at oulu.fi
Wed Sep 8 09:51:32 CEST 2010


On 7/09/10 02:57 AM, "Ben Bolker" <bbolker at gmail.com> wrote:

> On 10-09-06 07:21 PM, steven mosher wrote:
>> What the process from the GUI to instal a  .tar of the latest package of
>> source.
>> 
>> I've downloaded the .tar.
>> 
>> selecting install from local sources seemed correct and then do you select
>> the tar, or do you untar the file first.
>> 
>> The latter seems not to work and the former failed.
> 
> 
>   I'm not on a Mac, but what's wrong with
> 
> install.packages([pkgname],repos="http://r-forge.r-project.org",type="source")
> 
> 
>  ... ?
Howdy,

The only thing that is "wrong" with this is that Mac people are not used to
do this on command line. Ben's command works.

If you insist on using graphical installer, you must select "Package
Installer" from "Packages & Data". Once there, select "Other Repository"
instead of default ("CRAN (binaries)") and enter
http://r-forge.r-project.org/ in the address slot. If you want to install
from the source instead of the provided Mac binaries, you must deselect
"Binary Format Packages". Then you can click "Get List" and select (or
search) the package and click "Install Selected". There you go...

Who said that GUI is easier to use than the command line?

Cheers, Jari Oksanen



More information about the R-SIG-Mac mailing list