[R-sig-Geo] rsaga error

Giuseppe Calamita calamita_giuseppe at yahoo.it
Fri Apr 6 13:18:41 CEST 2012


Dear list,

I'm trying to use R+SAGA using the rsaga package and following the T.Hengl's
book.
When I try to load the library and set the environment I get error messages.

> library(RSAGA); rsaga.env()

Attaching package: ‘shapefiles’

The following object(s) are masked from ‘package:foreign’:

    read.dbf, write.dbf

Loading required package: plyr
12:02:56: Error: /usr/lib/saga/--version.so: cannot open shared object file:
No such file or directory

error: Library could not be loaded [--version]

error: module library not found [--version]

error: module library

error: Library does not contain executable modules [librecreations_games.so]
$workspace
[1] "."

$cmd
[1] "saga_cmd"

$path
[1] "/usr/bin"

$modules
[1] "/usr/lib/saga"

$version
[1] "2.0.7"

Following are info of the system I'm working with:
> sessionInfo()
R version 2.14.2 (2012-02-29)
Platform: i486-pc-linux-gnu (32-bit)

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
LC_TIME=en_US.UTF-8       
 [4] LC_COLLATE=en_US.UTF-8     LC_MONETARY=en_US.UTF-8   
LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=C                 LC_NAME=C                  LC_ADDRESS=C              
[10] LC_TELEPHONE=C             LC_MEASUREMENT=en_US.UTF-8
LC_IDENTIFICATION=C       

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

other attached packages:
 [1] RSAGA_0.93-1     plyr_1.7.1       shapefiles_0.6   vcd_1.2-13      
colorspace_1.1-1
 [6] MASS_7.3-16      spatstat_1.25-3  deldir_0.0-16    mgcv_1.7-13     
gstat_1.0-10    
[11] spacetime_0.5-7  xts_0.8-2        zoo_1.7-7        rgdal_0.7-8     
maptools_0.8-14 
[16] lattice_0.20-6   sp_0.9-95        foreign_0.8-49  

loaded via a namespace (and not attached):
[1] Matrix_1.0-5 nlme_3.1-103 tools_2.14.2

I remember some older version of R and SAGA had problems in communication,
but I cannot remember which ones were the version working

Any suggestion, please.
Thank you and happy Easter

Giuseppe Calamita

--
View this message in context: http://r-sig-geo.2731867.n2.nabble.com/rsaga-error-tp7442753p7442753.html
Sent from the R-sig-geo mailing list archive at Nabble.com.



More information about the R-sig-Geo mailing list