Opened 7 years ago
Closed 7 years ago
#1941 closed defect (fixed)
Missing R packages
Reported by: | bakaniko | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | OSGeoLive11.0 |
Component: | OSGeoLive | Keywords: | alpha1 livedemo11.0 |
Cc: | live-demo@… |
Description
Hi
I tested the quickstart for R and encountered several errors.
- sp and maptools packages are not installed (minor)
=> quickly fix with install.packages("sp"); install.packages("maptools") => need an internet connection => note that installing maptools generates an error about rgeos availability but can be used anyway
- rgdal package can't be installed (major): => rgdal (1.2-7) needs R >= 3.3.0 and sp >= 1.1.0 => installed R version is 3.2.3
Nicolas (aka Bakaniko)
Attachments (2)
Change History (9)
by , 7 years ago
Attachment: | 11.0alpha1_R_RGDAL_ERROR.png added |
---|
comment:1 by , 7 years ago
minor defect: R launcher is in graphism and not in spatial tools where it should be as the quickstart says.
comment:2 by , 7 years ago
I faced the same error when trying to build the rgdal package on top of GDAL 2.2.0
comment:3 by , 7 years ago
I am now trying to build a new R-base, not sure if the stack will rebuild fine.
comment:4 by , 7 years ago
Managed to build rgdal successfully:
https://launchpad.net/~gcpp-kalxas/+archive/ubuntu/osgeolive/+packages
comment:5 by , 7 years ago
Alex provided a good resource for spatial R:
https://github.com/rocker-org/geospatial/blob/master/3.4.0/Dockerfile
comment:6 by , 7 years ago
All R packages build fine except sf and mapview (sf needs r-cran-units and mapview wants sf)
RGDAL install error