[GRASS-stats] raster package

Rebecca Bennett rabennett at ymail.com
Thu Aug 4 10:20:35 EDT 2011


Thanks Roger

I tried following the instructions suggested to upgrade my version of R by adding a new cran mirror to my repositories.

I have tried both

deb http://www.stats.bris.ac.uk/R/bin/linux/ubuntu/ lucid
and
deb http://cran.r-project.org/bin/linux/ubuntu/ lucid

But these repositories crash out my system on reload with the error
Failed to fetch http://www.stats.bris.ac.uk/R/bin/linux/ubuntu/dists/lucid/main/binary-i386/Packages.gz  404  Not Found
Some index files failed to download, they have been ignored, or old ones used instead.

If anyone has been successful upgrading to the latest R from Ubuntu 10.04 could you please give me some tips on where I'm going wrong?

Thanks,
Rebecca


>________________________________
>From: Roger Bivand <Roger.Bivand at nhh.no>
>To: Rebecca Bennett <rabennett at ymail.com>
>Cc: "grass-stats at lists.osgeo.org" <grass-stats at lists.osgeo.org>
>Sent: Thursday, 4 August 2011, 15:03
>Subject: Re: [GRASS-stats] raster package
>
>On Thu, 4 Aug 2011, Rebecca Bennett wrote:
>
>> hell all,
>> 
>> I have tried to install raster using install.packages("raster")
>> 
>> but have got the error:
>> 
>> In getDependencies(pkgs, dependencies, available, lib) :
>>   package ‘raster’ is not available
>> 
>> I am also unable to find it in Synaptic (Ubuntu 10.04).
>> 
>> Here is the output of sessionInfo()
>> R version 2.10.1 (2009-12-14) i486-pc-linux-gnu
>
>If you refer to:
>
>http://cran.r-project.org/web/packages/raster/index.html
>
>you'll see that it requires R (≥ 2.11.0), which you don't meet. Your R is definitely in need of an upgrade, current is 2.13.1, and this is available as an ubuntu binary for lucid lynx:
>
>http://cran.r-project.org/bin/linux/ubuntu/
>
>Roger
>
>> 
>> locale:
>>  [1] LC_CTYPE=en_GB.utf8       LC_NUMERIC=C              [3] LC_TIME=en_GB.utf8        LC_COLLATE=en_GB.utf8     [5] LC_MONETARY=C             LC_MESSAGES=en_GB.utf8    [7] LC_PAPER=en_GB.utf8       LC_NAME=C                 [9] LC_ADDRESS=C              LC_TELEPHONE=C           [11] LC_MEASUREMENT=en_GB.utf8 LC_IDENTIFICATION=C      
>> attached base packages:
>> [1] stats     graphics  grDevices utils     datasets  methods   base     
>> loaded via a namespace (and not attached):
>> [1] tcltk_2.10.1 tools_2.10.1
>> 
>> Any ideas how I get this package?
>> 
>> Cheers
>> Rebecca
>
>-- Roger Bivand
>Department of Economics, NHH Norwegian School of Economics,
>Helleveien 30, N-5045 Bergen, Norway.
>voice: +47 55 95 93 55; fax +47 55 95 95 43
>e-mail: Roger.Bivand at nhh.no
>
>
>


More information about the grass-stats mailing list