Opened 7 years ago

Closed 7 years ago

#1071 closed task (fixed)

R quickstart vignettes

Reported by: micha Owned by: live-demo@…
Priority: normal Milestone: OSGeoLive6.5
Component: OSGeoLive Keywords: docs, 6.5, R
Cc:

Description

In the vignette section, there is a suggestion to try: vigentte("sp") and vignette("spdep") Neither of these are available. The spatial vignettes available on the LiveDVD are "intro_sp", "shapefiles", and "gstat".

Change history (10)

comment:1 Changed 7 years ago by micha

Keywords: docs 6.5 Rdocs, 6.5, R

comment:2 Changed 7 years ago by barryrowlingson

vignette("intro_sp")looks like the one to go for, but I thought we had the 'spdep' package on the disc which means vignette("sids") should work too.

Sorry I don't have access to either a VM to try it or SVN to get the docs...

comment:3 in reply to:  2 Changed 7 years ago by hamish

Replying to barryrowlingson:

Sorry I don't have access to either a VM to try it or SVN to get the docs...

you can view the docs here:

http://adhoc.osgeo.osuosl.org/livedvd/docs/en/quickstart/R_quickstart.html

http://trac.osgeo.org/osgeo/browser/livedvd/gisvm/trunk/doc/en/quickstart/R_quickstart.rst

thanks, Hamish

comment:4 in reply to:  2 Changed 7 years ago by micha

Replying to barryrowlingson:

vignette("intro_sp")looks like the one to go for, but I thought we had the 'spdep' package on the disc which means vignette("sids") should work too.

Sorry I don't have access to either a VM to try it or SVN to get the docs...

Thanks, Barry. If it's OK with your I'll do the change.

comment:5 Changed 7 years ago by hamish

Hi, just trying out the R quickstart in the latest nightly iso build.

the vignettes() thing seems to all work fine now, thanks.


at this step: library(maptools)

you get a message that rgeos is missing and it is falling back to gpclib, which has a restricted license and is disabled (it's non-free for commercial use), and instructions how to get approve it and get it going. Not exactly a smooth look for a demo.

install.packages("rgeos")

is only a 210kb download and quick build with no other dependencies, so why don't we just include it by default? GEOS is nice.

?, Hamish

comment:6 in reply to:  5 ; Changed 7 years ago by micha

Replying to hamish:

the vignettes() thing seems to all work fine now, thanks.

So you see what they look like? ;-)

at this step: library(maptools)

you get a message that rgeos is missing and it is falling back to gpclib, which has a restricted license and is disabled (it's non-free for commercial use), and instructions how to get approve it and get it going. Not exactly a smooth look for a demo.

install.packages("rgeos")

is only a 210kb download and quick build with no other dependencies, so why don't we just include it by default? GEOS is nice.

and circumvent the licensing issue?

?, Hamish

comment:7 in reply to:  6 Changed 7 years ago by barryrowlingson

install.packages("rgeos")

is only a 210kb download and quick build with no other dependencies, so why don't we just include it by default? GEOS is nice.

+1 for including rgeos in that case. I assume it links in with libgeos.so or similar so there's no great burden on the system.

Its also a prerequisite for how I'd like to develop the quickstart with some geometrical operations - I think there's another ticket for that!

No time to try it or test it at the moment...

Barry

comment:8 in reply to:  6 Changed 7 years ago by hamish

Replying to micha:

and circumvent the licensing issue?

the licensing issue is with gpclib (which we currently ship), not rgeos (which we don't currently ship, but probably should)

Hamish

comment:9 Changed 7 years ago by hamish

rgeos added to the install packages list. will close the ticket once it is tested.

Hamish

ps- for next time we should have a look at what's shown up as r-cran-* ubuntu packages & use those.

comment:10 Changed 7 years ago by kalxas

Resolution: fixed
Status: newclosed

confirmed in build [9868]

Note: See TracTickets for help on using tickets.