Opened 4 years ago
Closed 2 years ago
#2248 closed task (fixed)
R 4.0 on Focal
Reported by: | darkblueb | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | OSGeoLive15.0 |
Component: | OSGeoLive | Keywords: | R |
Cc: |
Description
OSGeoLive 2020 includes R v4, not the default 3x. details here
Attachments (1)
Change History (11)
comment:1 by , 4 years ago
comment:2 by , 4 years ago
Carl B. replies:
we've just added the RSPM binaries to the (Ubuntu 20.04-based) rocker-versioned stack, (4.0.x), should appear on the rocker/geospatial images (tags: latest, 4.0.0, 4.0.1 and 4.0.2) soon. It's already been there on the rocker/geospatial:4.0.0-ubuntu18.04 image too.
by , 4 years ago
Attachment: | focal_cloudR_pass0.png added |
---|
R packages installed upon 'recommended' and 'basic' R4 setup
comment:3 by , 4 years ago
base R install -- https://git.osgeo.org/gitea/darkblueb/osgeolive14/src/branch/R4_misc
comment:4 by , 4 years ago
R Studio Package Manager docs page here
Focal setup script Install System Prerequisites for the Repo’s Packages
Ubuntu Focal
note that a configuration of the R environment is repos
R version 4.0.3 (2020-10-10) -- "Bunny-Wunnies Freak Out" > options('repos') $repos CRAN "https://cloud.r-project.org"
comment:5 by , 4 years ago
Rocker Discussion - 2020 here
The R Spatial Docker lead Carl reports that they have a Docker image updated to UbuntuGIS Focal --
base --> (rocker/geospatial:latest) use the Ubuntu-focal libs, yielding Universe GEOS 3.8.0, GDAL 3.0.4, PROJ 6.3.1
secondly, they have a named version that pulls from UbuntuGIS specifically -> (rocker/geospatial:ubuntugis) yielding UbuntuGIS GEOS 3.8.1, GDAL 3.1.3, PROJ 7.1.1
third, they would like to build a setup that compiles the chain from source, but that is not ready now .. I suggested they start with GDAL 3.2x GEOS 3.8x PROJ 7x
that last one could also be used for GEOS 3.9, and I know the GEOS team wants that
from a Marketing point of view, I included "we/OSGeo dot org are interested to work well with the greater R community. and be appropriately visible to your users", so a logo added somewhere, a README entry .. things like that..
comment:6 by , 4 years ago
build ol14b187
## needs R 4x and sf 0.8x
jupyter R version 3.6.3 (2020-02-29) -- "Holding the Windsock"
Package: sf Version: 0.7-7 Title: Simple Features for R
ERROR while rich displaying an object: Error in loadNamespace(name): there is no package called ‘geojsonio’ Traceback: 1. FUN(X[[i]], ...) 2. tryCatch(withCallingHandlers({ . if (!mime %in% names(repr::mime2repr)) . stop("No repr_* for mimetype ", mime, " in repr::mime2repr") . rpr <- repr::mime2repr[[mime]](obj) . if (is.null(rpr)) . return(NULL) . prepare_content(is.raw(rpr), rpr) . }, error = error_handler), error = outer_handler) 3. tryCatchList(expr, classes, parentenv, handlers) 4. tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. doTryCatch(return(expr), name, parentenv, handler) 6. withCallingHandlers({ . if (!mime %in% names(repr::mime2repr)) . stop("No repr_* for mimetype ", mime, " in repr::mime2repr") . rpr <- repr::mime2repr[[mime]](obj) . if (is.null(rpr)) . return(NULL) . prepare_content(is.raw(rpr), rpr) . }, error = error_handler) 7. repr::mime2repr[[mime]](obj) 8. repr_geojson.sf(obj) 9. repr_geojson(geojsonio::geojson_list(obj), ...) 10. geojsonio::geojson_list 11. getExportedValue(pkg, name) 12. asNamespace(ns) 13. getNamespace(ns) 14. loadNamespace(name) 15. withRestarts(stop(cond), retry_loadNamespace = function() NULL) 16. withOneRestart(expr, restarts[[1L]]) 17. doWithOneRestart(return(expr), restart)
comment:7 by , 4 years ago
Priority: | critical → major |
---|
comment:8 by , 4 years ago
comment:9 by , 3 years ago
Milestone: | OSGeoLive14.0 → OSGeoLive15.0 |
---|
Ticket retargeted after milestone closed
comment:10 by , 2 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
ol15 closed for new base install
original Email content: