Opened 6 years ago
Closed 5 years ago
#2134 closed enhancement (duplicate)
R version 0.7 demo
Reported by: | darkblueb | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | OSGeoLive13.0 |
Component: | OSGeoLive | Keywords: | R, sf |
Cc: |
Description
OSGeoLive 13 alpha1 includes R 3.4.4 and sf 0.7-3
Running the sample Jupyter notebook does work, but there is a missing R module called geojsonio
Edzer Pebesma says :
I have no clue where that comes from! The fix I'd try first would be install.packages("geojsonio") but that might call for some external deps, like V8.
Attachments (2)
Change History (6)
comment:1 by , 6 years ago
by , 6 years ago
Attachment: | R_sf_sample_v13alpha1.pdf added |
---|
comment:2 by , 6 years ago
The cause is the IRKernel specifies that geojsonio package is used to display various things from sf objects. This is specific to Jupyter. Easiest solution is to add the geojsonio
R library and it's dependencies. Not sure how much space this will take. This does include need to add the system V8 library.
sudo apt-get install libv8-dev
https://github.com/IRkernel/repr/search?q=geojsonio&unscoped_q=geojsonio
comment:3 by , 6 years ago
tested in nightly-build51, IRkernel 1.0 via CRAN
the same errors occur; display functions of ggplot2 work as expected
comment:4 by , 5 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
see #2145 for current thread
Can you link the source for the notebook you are trying? It does seems weird to use geojsonio, I would assume sf would use rgdal json drivers, and we can probably trace the use and swap out a line.