The default works -- you have set options("repos") somewhere.
You can use
options(repos=c(CRAN="http://cran.<insert>.r-project.org"))
*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.
On Sat, 12 Apr 2008, [Ricardo Rodriguez] Your XEN ICT Team wrote:
Hi all,
Following previous threads I have installed and using a 2.7.0 beta release:
> version
_
platform i386-apple-darwin8.10.1
arch i386
os darwin8.10.1
system i386, darwin8.10.1
status beta
major 2
minor 7.0
year 2008
month 04
day 10
svn rev 45232
language R
version.string R version 2.7.0 beta (2008-04-10 r45232)
>
When trying to install any package I get the error:
How? For the command line, install.packages() or the the R.app GUI you did
not mention?
Warning: unable to access index for repository
http://r.research.att.com/bin/macosx/universal/contrib/2.7
Please, what repository must I use? I guess the command must be
> options(repos=c(CRAN="repository URL"))
Thanks for your help!
Ricardo
--
Ricardo RodrÃguez
Your XEN ICT Team
_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
--
Brian D. Ripley, [EMAIL PROTECTED]
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
_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac