Opened 9 years ago

Closed 9 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 by micha, 9 years ago

Keywords: docs 6.5 R → docs, 6.5, R

comment:2 by barryrowlingson, 9 years ago

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...

in reply to:  2 comment:3 by hamish, 9 years ago

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

in reply to:  2 comment:4 by micha, 9 years ago

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 by hamish, 9 years ago

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

in reply to:  5 ; comment:6 by micha, 9 years ago

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

in reply to:  6 comment:7 by barryrowlingson, 9 years ago

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

in reply to:  6 comment:8 by hamish, 9 years ago

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 by hamish, 9 years ago

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 by kalxas, 9 years ago

Resolution: fixed
Status: newclosed

confirmed in build [9868]

Note: See TracTickets for help on using tickets.