[R-SIG-Mac] install.packages in 2.7.0 build

[Ricardo Rodriguez] Your XEN ICT Team webmaster at xen.net
Sat Apr 12 19:35:25 CEST 2008


Prof Brian Ripley wrote:
> The default works -- you have set options("repos") somewhere.
> You can use
>
> options(repos=c(CRAN="http://cran.<insert>.r-project.org"))
It works with .us. as <insert>. Thanks

 > options(repos=c(CRAN="http://cran.us.r-project.org"))
 > options("repos")
$repos
                          CRAN
"http://cran.us.r-project.org"

Available packages are listed in R.app GUI and install.packages() 
command pops up a window with the available packages as well.

What I don't know is how...

$repos
                                                        CRAN
"http://r.research.att.com/bin/macosx/universal/contrib/2.7"

...reached my installation. Must the 2.7.0 beta installer be blamed for 
that?
>
> *However*, I noticed last night that the 2.7 MacOS binary packages on 
> CRAN are way out of date (late Nov 2007), which is worrying when we 
> are supposed to be beta-testing (and the Windows equivalent has been 
> running for a month now).
>
> I suggest that until that is updated you use
>
> install.packages("pkgname", type="source")
>
> which has worked for me.

OK. I'll do that. Please, is there any alert system to be aware of 
updates other than "go and see"? Thanks.
>
> How? For the command line, install.packages() or the the R.app GUI you 
> did not mention?
>

Both.

Thank you very much,

Ricardo

-- 
Ricardo Rodríguez
Your XEN ICT Team



More information about the R-SIG-Mac mailing list