[R] Problem installing rgdal.
jdnewmil at dcn.davis.ca.us
Wed Oct 5 03:25:41 CEST 2016
And if that was not intuitively obvious, googling "CRAN Ubuntu" would lead you to . There is also R-sig-debian for these kinds of OS-specific questions next time. (I wish there was an R-sig-windows, but I suppose no one would support it.)
Sent from my phone. Please excuse my brevity.
On October 4, 2016 6:12:31 PM PDT, Bob Rudis <bob at rud.is> wrote:
>I (literally, in the correct use of the term) fired up an Ubuntu 16.04
>vagrant box - https://atlas.hashicorp.com/bento/boxes/ubuntu-16.04 -
>No LSB modules are available.
>Distributor ID: Ubuntu
>Description: Ubuntu 16.04.1 LTS
>sudo echo "deb http://cran.rstudio.com/bin/linux/ubuntu xenial/" | sudo
>gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9
>gpg -a --export E084DAB9 | sudo apt-key add -
>sudo apt-get update
>sudo apt-get install r-base r-base-dev
>sudo apt-get install libgdal-dev
>sudo apt-get install libproj4-dev
>and then did
>in an R session and it's working fine:
>Loading required package: sp
>rgdal: version: 1.1-10, (SVN revision 622)
>Geospatial Data Abstraction Library extensions to R successfully loaded
> Loaded GDAL runtime: GDAL 1.11.3, released 2015/09/16
> Path to GDAL shared files: /usr/share/gdal/1.11
>Loaded PROJ.4 runtime: Rel. 4.9.2, 08 September 2015, [PJ_VERSION: 492]
> Path to PROJ.4 shared files: (autodetected)
> Linking to sp version: 1.2-3
>I wish I could have run into errors and helped debug your issue, but it
>went in flawlessly.
>On Tue, Oct 4, 2016 at 8:31 PM, Rolf Turner <r.turner at auckland.ac.nz>
>> On 05/10/16 12:56, ProfJCNash wrote:
>>> Can you build/install the source package? I had a problem once where
>>> libraries were "too recent" for the R package,
>>> but I could build against my installed base. In any event, it may
>>> out the source of the problem.
>>> I can appreciate your frustration -- been there, but wish I hadn't.
>> Essentially install.packages() builds from source.
>> I also tried to install from the source tarball; same error resulted.
>> Surely there *must* be somebody out there who understands what's
>> and how to fix it. Mustn't there?
>> Technical Editor ANZJS
>> Department of Statistics
>> University of Auckland
>> Phone: +64-9-373-7599 ext. 88276
>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> PLEASE do read the posting guide http://www.R-project.org/posti
>> and provide commented, minimal, self-contained, reproducible code.
> [[alternative HTML version deleted]]
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>PLEASE do read the posting guide
>and provide commented, minimal, self-contained, reproducible code.
More information about the R-help