Skip to content
Prev 5858 / 29559 Next

spgrass6 and R 2.9

On Monday 01 June 2009, Roger Bivand wrote:
Right. Should have been a little less hasty about posting to the list. R has 
been built from source, spgrass6 was accessed from CRAN via 
install.packages(). This problems has not occurred at anyother time while 
updating packages that were installed under R 2.7. 

1. make check (R 2.9.0): OK

2. sessionInfo()
R version 2.9.0 (2009-04-17) 
i686-pc-linux-gnu 

locale:
LC_CTYPE=en_US;LC_NUMERIC=C;LC_TIME=en_US;LC_COLLATE=en_US;LC_MONETARY=C;LC_MESSAGES=en_US;LC_PAPER=en_US;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US;LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base 

Is there any way that I can do a 'make check' type of operation with the 
latest spgrass6 from CRAN?

Note that trying to manually install the package, like this:
sudo R CMD INSTALL spgrass6_0.6-6.tar.gz

results in:
* Installing to library '/usr/local/lib/R/library'
* Installing *source* package 'spgrass6' ...
** R
** inst
** preparing package for lazy loading
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 1.7.0dev, released 2008/11/26
Path to GDAL shared files: /usr/local/share/gdal
Loaded PROJ.4 runtime: Rel. 4.6.0, 21 Dec 2007
Path to PROJ.4 shared files: (autodetected)
** help
*** installing help indices
 >>> Building/Updating help pages for package 'spgrass6'
     Formats: text html latex example 
  execGRASS                         text    html    latex   example
  gmeta6                            text    html    latex   example
  initGRASS                         text    html    latex   example
  readRAST6                         text    html    latex   example
  readVECT6                         text    html    latex   example
  spgrass6                          text    html    latex   example
** building package indices ...
* DONE (spgrass6)
*** glibc detected *** /usr/local/lib/R/bin/exec/R: double free or corruption 
(fasttop): 0x0857d880 ***

hope that is enough information.

Cheers,
Dylan