search for: spgrass6

Displaying 20 results from an estimated 22 matches for "spgrass6".

2007 Jun 06
1
spgrass6 and aggregation (bis)
Dear all, I have some additionale question concerning the spgrass6 package. * When you set a region in GRASS, does the readGRASS6 function in R only load data contained in the zoomed region or the whole map ? * When you have a MASK map in grass, does the readGRASS6 function in R only load data contained inside the MASK area ? Could this be the problem ? Thank...
2010 Jan 29
0
Problems with readVECT6 in spgrass6 package: A possible solution.
Hi I am working with spgrass6 package and GRASS v.6.2. Everything was fine until I tryed to read a vector file with readVECT6 (and other related vector commands, like vInfo). When I ran these commands, the problem immediately appeared (" Sorry, is not a valid flag" ). Ok, the solution is easy: - You have to...
2008 Nov 24
1
rgdal and spgrass6
Hi, i'm trying to install the packages rgdal and spgrass6 by "install.packages" but i receive always this message: ERROR: configuration failed for package 'rgdal' ** Removing '/home/thyberio/R/i486-pc-linux-gnu-library/2.7/rgdal' ** Restoring previous '/home/thyberio/R/i486-pc-linux-gnu-library/2.7/rgdal' The downloaded...
2007 Jun 13
1
installing GRASS-R packages
Hi, I tried to install R packages required for the GRASS-R interface by using the following command (copied from http://www.geog.uni-hannover.de/grass/statsgrass/grass6_r_install.html): /install.packages (c("sp", "spgrass6","rgdal","maptools"), dependencies =TRUE)/ rgdal package was installed successfully; There were problems to find 'sp' and 'maptools' packages. The error message was /: dependencies 'sp' and 'maptools' are not available/. I tried to download...
2008 Aug 01
1
bug in readRAST6 function in package spgrass6
Hi if I try to import a raster layer which consists only of NULL values from grass by using the readRAST6, I get an error message: > readRAST6("HSericea_seedsDisperse_2007") ERROR: Invalid value for null (integers only) Error in readBinGrid(rtmpfl11, colname = vname[i], proj4string = p4, integer = to_int) : no such file:
2011 Jan 03
1
Modules for using geostatistics for image classification
Hello everyone! I am using GRASS with spgrass6 for my work. I will be using variograms in the process of landsat image classification. I am quite ok with GRASS but am finding R really tough. I understand that spgrass6 is a link between GRASS and R which can read and write raster/vector layers. Out of really many packages in R, for generating va...
2012 Feb 21
0
R-SIG-Debian Digest, Vol 78, Issue 3
Hi, Does anyone use spgrass6 with GRASS 7 and R? The documentation for spgrass6 states it is for GRASS6+, and if I recall correctly I saw Dr. Bivand mention that it works well with GRASS7. (There were some threads from 2009 where spgrass6 wasn't working with GRASS7 yet, but I assumed that information was out of date.) S...
2010 Sep 30
2
Installing sp and rgdal libraries
Hi, I am still a bit of a beginner with R but I had it all working spgrass6, RMySQL, sp, etc... Then I wanted to install spatstat, this required updating R, all was going fine until I tried to connect to grass gis using spgrass6 library, it wouldn't let be install the package due to a dependency with rgdal. rgdal will not install as the sp package is 1:0.9-56-2 and sp...
2009 Jun 11
1
GRASS raster data processing
Hi, I just imported two raster maps into R using the SPGRASS6 package, one containing elevation data and the other containing an erosion index: Kar_inc <-readRAST6("Incis_Kar", plugin=FALSE) Kar_dem <- readRAST6("DEM_Kar", plugin=FALSE) I just wanted to make a xy plot of erosion parameter vs elevation. How does this work? I don'...
2013 Oct 03
1
check warning with .onLoad() and setClass()
...r M. Krug | Maintainer: Rainer M Krug <Rainer at krugs.de> | Description: Simulate the spread of three Invasive Alien Plants under different | management and budget scenarios | License: GPL-3 | LazyLoad: yes | Depends: | RSQLite, | simecol | Imports: | methods, | sp, | spgrass6, | DBI, | logger, | fireSim, | seedProd, | seedGerm, | seedDisp | LinkingTo: Rcpp | Collate: | 'beginYear.R' | 'clearAliens.R' | 'competition.R' | 'cumulativeDc.R' | 'dcToIndLayer.R' | 'dispProb2D.R' |...
2012 Feb 20
1
readVECT6 and readRAST6 fails with R and GRASS 7 ???
...auses.) -Eric (I've left the version numbers here but deleted much of the output data...spearfish70 is simply spearfish60 after running v.build.all) Welcome to GRASS 7.0.svn GRASS 7.0.svn (spearfish70):~ > R R version 2.14.1 (2011-12-22) Platform: x86_64-pc-linux-gnu (64-bit) > library(spgrass6) Loading required package: sp Loading required package: XML GRASS GIS interface loaded with GRASS version: GRASS 7.0.svn50847M (2012) and location: spearfish70 > gmeta6() gisdbase /home/shared/research/GRASSDATA location spearfish70 ...etc... > system("g.list vect") ----------...
2010 Oct 17
1
rgdal package (Matteo Toro)
...r*? >make: *** [gdal-bindings.o] Error 1 >ERROR: compilation failed for package ?rgdal? >* Removing ?/home/toro/R/i486-pc-linux-gnu-library/2.9/rgdal? > >and this happens also for other versions of gdal I have downloaded. > >The biggest problem is that also other packages like spgrass6, spGDAL and >spmaptools are dependent from gdal....so i cannot go on.... > >Can I ask you to help me , please?? > >Thank you > >Matteo > > > > > > > > >
2006 Dec 01
1
memeory problem?!
hi, i'm trying to perform a clustering on a big dataframe the code is this: print("load required R packages") require(spgrass6) require(cluster) gmeta6 <- gmeta6() print("read in our 7 raster files from GRASS") x <- readFLOAT6sp(c ("er","crosc","longc","slope","profc","minic","maxic")) print("assemble a matrix of our terrain va...
2008 Aug 19
1
address (nil), cause 'memory not mapped'
Dear users, I got this problem and i don't have a clue of what it could be happening... The context: i'm running a loop in which i extract information from a raster map (I work with GRASS and R, using spgrass6 package), and rearrange it to create a matrix. I've tried it with small maps and it works smoothly, but in large maps I have to resort to saving data in the hard disk regularly in order to avoid the "cannot allocate vector of size..." problem (builted in the loop itself). Even so, th...
2006 Dec 01
1
memory problem
...rror depend from my ram or other....? thanks foe any suggestion! i need your help. thanks. Massimo Il giorno 01/dic/06, alle ore 16:05, massimodisasha ha scritto: hi, i'm trying to perform a clustering on a big dataframe the code is this: print("load required R packages") require(spgrass6) require(cluster) gmeta6 <- gmeta6() print("read in our 7 raster files from GRASS") x <- readFLOAT6sp(c("er","crosc","longc","slope","profc","minic","maxic")) print("assemble a matrix of our terrain vari...
2007 Jul 06
0
import DTM with readRAST6()
Hello everybody, I am a new R & Grass user. I am interested in doing a kriging of the Temperature in a basin, based on pixel elevation (DTM). I use Grass 6.2.1 and R 2.5.1 and have installed the spgrass6 package. The DTM is called "DTM_trentino_100m" and is like this: north:5158000.0 south:5058500.0 east:1729700.0 west:1611600.0 rows:995 cols:1181 -9999.0 -9999.0 -9999.0 370.84381103515625 372.55120849609375 373.13128662109375 ..... I have opened R inside the Grass location, and impo...
2009 Jul 01
0
The step before interfacing to GRASS
...(terrain$y)#these are the y-coord i.e: [1...1000] [1] "numeric" > class(terrain$z)#these are the height [1] "matrix" I would like to export this "terrain" (list object) to GRASS. Reading the documentation that I found for interfacing between GRASS 6 and R (library (spgrass6)). I understood the following (I already managed to configured properly the mapset and so on): 1. I have to create a SpatialGridDataFrame object before to write into a Raster file. 2. In order to create a SpatialGridDataFrame I need a GridTopology. 3. After doing it, I am allow to write the file i...
2008 Dec 10
2
exporting rast from R to GRASS
Hi, everybody! i created a imagem by kriging using geoR package. I imported points from GRASS("zn", after converted to geodata "zn_geo"), the border "zn_border" and a raster mask. Then i interpolated the points by kriging and created a raster image. Now, i need export this image back to GRASS to use it in the module r.mapcalc. I can't do it. I tried use
2008 Feb 27
2
Plan to build Package to use GRASS from R
Hi Sorry for crossposting, but I think this can be of interest for GRASS and R users. I am planning to write a package to make the use of GRASS from R easier. The idea is to wrap the system call to execute the GRASS command into an R command of the same name. e.g: r.to.vect <- function(..., intern=TRUE, ignore.stderr=FALSE) { comm <- paste( "r.to.vect ", ...,
2009 Aug 24
6
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week New packages ------------ Updated packages ---------------- New reviews ----------- This email provided as a service for the R community by http://crantastic.org. Like it? Hate it? Please let us know: cranatic at gmail.com.