[OSGeoLive] #2292: Suggestions for R quickstart

OSGeoLive trac_osgeolive at osgeo.org
Tue Dec 29 09:30:49 PST 2020


#2292: Suggestions for R quickstart
-----------------------+-------------------------
 Reporter:  micha      |      Owner:  osgeolive@…
     Type:  task       |     Status:  new
 Priority:  normal     |  Milestone:
Component:  OSGeoLive  |   Keywords:
-----------------------+-------------------------
 A suggestion, and correction in the R quickstart:

 It would be preferable to remove the prompt character '>' from the code
 examples, to allow simple copy/paste from the quickstart to user's
 console.

 The final example has an error, misplaced parenthesis. Here is the correct
 statment:


 {{{
 ggplot() +
     geom_sf(data = ukos) +
     geom_sf(data = ukpop, aes(size = ukpop$POP_MAX/100000),
         color = "red", alpha=1/5) +
     coord_sf(crs=27700, datum=sf::st_crs(27700),
         xlim=st_bbox(ukos)[c(1,3)],  # These two lines are corrected
         ylim=st_bbox(ukos)[c(2,4)])
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/osgeolive/ticket/2292>
OSGeoLive <https://live.osgeo.org/>
self-contained bootable DVD, USB thumb drive or Virtual Machine based on Lubuntu, that allows you to try a wide variety of open source geospatial software without installing anything.


More information about the osgeolive mailing list