[R] Problem with install.packages(); getting out-of-date version.
Uwe Ligges
ligges at statistik.tu-dortmund.de
Fri May 7 16:50:00 CEST 2010
Am 07.05.2010 16:02, schrieb Duncan Murdoch:
> Rolf Turner wrote:
>> I recently tried to install the latest version of spatstat, from CRAN,
>> using the install.packages() function. It proceeded to install version
>> 1.17-5 of spatstat, although the current version is 1.18-4.
>
> One reason this could happen is that the package depends on an R version
> newer than you've got. (2.11.0 is current, you tried 2.10.1.) That
> doesn't appear to be the case now, but maybe it was when you tried? I'd
> try again, try a different mirror, etc.
>
Well, looks like the tiger MacOSX repository for R-2.10.x is no lomnger
updated.
Uwe Ligges
> Duncan Murdoch
>> Checking the CRAN mirror that I used (New Zealand) via Firefox, I found
>> that version 1.18-4 is indeed present on CRAN. I was able to download
>> and install version 1.18-4 ``manually'' without difficulty.
>>
>> At first I thought that there must be something wrong with the NZ mirror,
>> but after some prompting from the maintainer of this mirror, I tried
>> others (Australia and Austria --- these being the first two on the list).
>> Same thing happened.
>>
>> So the fault is not in our mirrors but in ourselves. Something wrong
>> with my system, or with the command I issued. But what?
>>
>> The command:
>>
>> install.packages("spatstat",lib="/Users/rturner/Temp")
>> # The ``Temp'' directory having been created for purposes of
>> experimentation.
>>
>> The screen output from this command is:
>>
>>> --- Please select a CRAN mirror for use in this session ---
>>> Loading Tcl/Tk interface ... done
>>> trying URL
>>> 'http://cran.stat.auckland.ac.nz/bin/macosx/universal/contrib/2.10/spatstat_1.17-5.tgz'
>>>
>>> Content type 'application/x-gzip' length 4067414 bytes (3.9 Mb)
>>> opened URL
>>> ==================================================
>>> downloaded 3.9 Mb
>>>
>>>
>>> The downloaded packages are in
>>> /var/folders/jf/jf8dJjGFE9i5Pjz0czKmhE+++TQ/-Tmp-//RtmpSpZagy/downloaded_packages
>>>
>>
>>
>> My system:
>>
>>> sessionInfo()
>> R version 2.10.1 (2009-12-14) i386-apple-darwin8.11.1
>> locale:
>> [1] en_NZ.UTF-8/en_NZ.UTF-8/C/C/en_NZ.UTF-8/en_NZ.UTF-8
>>
>> attached base packages:
>> [1] datasets utils stats graphics grDevices methods base
>> other attached packages:
>> [1] misc_0.0-12 fortunes_1.3-7 MASS_7.3-5
>>
>> Would up-dating to R 2.11.0 help? Why should that be necessary?
>>
>> Where/how is install.packages() finding the out-of-date version?
>>
>> Any insight appreciated.
>>
>> cheers,
>>
>> Rolf Turner
>> ######################################################################
>> Attention: This e-mail message is privileged and confidential. If you
>> are not the intended recipient please delete the message and notify
>> the sender. Any views or opinions presented are solely those of the
>> author.
>>
>> This e-mail has been scanned and cleared by MailMarshal
>> www.marshalsoftware.com
>> ######################################################################
>>
>> ______________________________________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list