[R-sig-Geo] SP 1.0-12 install error
Alex Mandel
tech_dev at wildintellect.com
Thu Sep 5 01:28:22 CEST 2013
I only had to manually install sp_1.0-11.tar.gz
After that install.packages worked fine using web sources for rgdal and
raster. I did not try rgeos or maptools.
Wonder why you had to manually do all of those.
Thanks,
Alex
On 09/04/2013 03:48 PM, Michael Sumner wrote:
> I noticed this in an RStudio server instance, which was running R
> 2.15.3, I had to download each package .tar.gz and install
> individually to avoid the 'unused argument(s) (slots = c(projargs =
> "character"))' problem.
>
> I seemed to need older versions of maptools, rgdal, rgeos, sp and
> raster to get everything working there. It might be worth getting a
> formal listing of this if many people are affected. This is what I
> used, I just went back a few months in the archive, I was not careful
> to check when the change was made:
>
> "maptools_0.8-24.tar.gz"
> "raster_2.1-12.tar.gz"
> "rgdal_0.8-7.tar.gz"
> "rgeos_0.2-16.tar.gz"
> "sp_1.0-8.tar.gz"
>
> On Thu, Sep 5, 2013 at 4:38 AM, Alex Mandel <tech_dev at wildintellect.com> wrote:
>> I ran into trouble because I needed to add Rgdal (someone had forgotten
>> to install it) to an existing 2.15 server and it wanted sp newer than
>> 1.0 but I had 0.9.x. Upgrading this particular machine to 3 was too
>> risky and would involve verifying all the other running packages could
>> be upgraded.
>>
>> For many of my machines I do track the CRAN debs for R updates but not
>> on deployed servers where an accidental upgrade could break R web
>> services that are running or long standing analysis code being used by
>> researchers.
>>
>> So yes it would be good if I had gotten the warning in R or saw it in
>> some news or changelog somewhere. I don't think there's any particular
>> need to revert as long as people are aware of the issue and the way to
>> work around it.
>>
>>
>> Thanks,
>> Alex
>>
>> On 09/04/2013 03:35 AM, Edzer Pebesma wrote:
>>> Thanks, you are right, sp 1.0-12 depends on R 3.0.0 but claims it
>>> doesn't.
>>>
>>> Ubuntu users are very well served by binary updates of R releases, see
>>> for instance http://cran.at.r-project.org/bin/linux/ubuntu/
>>>
>>> If the list considers this as an annoyance, let me know, it's not a
>>> big deal to convert back to pre 3.0.0 syntax (for some time).
>>>
>>> On 09/03/2013 09:40 PM, Alex Mandel wrote:
>>>> I was getting an error today installing/upgrading sp.
>>>
>>>> Error in setClass("CRS", slots = c(projargs = "character"),
>>>> prototype = list(projargs = character(1)), : unused argument(s)
>>>> (slots = c(projargs = "character")) Error : unable to load R code
>>>> in package ‘sp’ ERROR: lazy loading failed for package ‘sp’
>>>
>>>> I tried uninstalling/reinstalling, using a different mirror, doing
>>>> it system-wide vs just for my user etc... Then I noticed that
>>>> 1.0-12 was released only a few days ago, so I downloaded the
>>>> archived version of 1.0-11 and the install works.
>>>> http://cran.r-project.org/src/contrib/Archive/sp/
>>>
>>>> R is 2.15.3 on Ubuntu 12.04
>>>
>>>> Is there a bug in the package or does the new sp require R>3?
>>>
>>>> Thanks, Alex
>>>
>>>> _______________________________________________ R-sig-Geo mailing
>>>> list R-sig-Geo at r-project.org
>>>> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>>>
>>>
>>>
>>> _______________________________________________
>>> R-sig-Geo mailing list
>>> R-sig-Geo at r-project.org
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>>>
>>
>> _______________________________________________
>> R-sig-Geo mailing list
>> R-sig-Geo at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
>
>
More information about the R-sig-Geo
mailing list