similar to: Problems with readVECT6 in spgrass6 package: A possible solution.

Displaying 20 results from an estimated 100 matches similar to: "Problems with readVECT6 in spgrass6 package: A possible solution."

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 ? Thanks, Jessica
2012 Feb 20
1
readVECT6 and readRAST6 fails with R and GRASS 7 ???
Hello all, I'm having troubles getting R to load data from GRASS 7. I suspect I have installed something wrong, but can't figure out what. Any suggestions for what I could look for or how to trouble shoot this? Thanks in advance for any help! After having other issues last week, we have upgraded Debian to the testing version. The other problems are solved, but now I can't get
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.) So I figured I was doing something wrong with the library and package
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 packages are in
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:
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
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 variograms out of landsat images which packages of R
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 requires a higher
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't get how to handle
2013 Oct 03
1
check warning with .onLoad() and setClass()
Hi I am writing a package in which I define a new class in the .onLoad() hook: ,---- | .onLoad <- function(libname, pkgname) { | setClass( | "inDrak", | representation( | init = "SpatialGridDataFrame" | ), | contains = "simObj" | ) | } `---- The class "simObj" is defined in the package, which
2010 Oct 17
1
rgdal package (Matteo Toro)
>Hi everybody, > >I'm trying to install the "rgdal" package in R, but it seems not possible... > >i'm typing > >> install.packages("rgdal") >Warning in install.packages("rgdal") : > argument 'lib' is missing: using '/home/toro/R/i486-pc-linux-gnu-library/2. >9' >--- Please select a CRAN mirror for use in
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"))
2009 Jul 01
0
The step before interfacing to GRASS
Dear all, A very basic terrain calculated as a matrix from Spatial Points Patterns: #interpolate using the akima package library(akima) terrain=interp(ppoints$x,ppoints$y,ppoints$marks,xo=x0,yo=y0, linear=F) > class(terrain) [1] "list" > class(terrain$x) #these are the x-coord i.e: [1...1000] [1] "numeric" > class(terrain$y)#these are the y-coord i.e: [1...1000] [1]
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
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
2006 Dec 01
1
memory problem
hi to all, frustated for this error, to day i buy a 1 GB memory slot for my laptop now it have 1,28GB instead the old 512, but i've the same error :-( damn!damn!....how can i do? repeat for a little area (about 20X20 km and res=20m) it work fine! have you any suggestion? is ther a method for look if this error depend from my ram or other....? thanks foe any suggestion! i need your help.
2010 Mar 19
2
[LLVMdev] JIT : Does it cache the compiled code of executed functions upon runFunction(..)?
Reid, Thanks! You were right! Changing the code to: float (*theF)(float) = (float (*)(float)) EE -> getPointerToFunction(f); float retVal = theF(arg1); made the difference. Now it is dozens of times faster! I don't really understand the cause though.. Why doesn't ExecutionEngine cope well with "define float @someFunc(float %x)" and needs this trick ? (but copes well with
2010 Mar 19
0
[LLVMdev] JIT : Does it cache the compiled code of executed functions upon runFunction(..)?
Probably because the integer version of the prototype is special-cased. The problem is that the JIT has a C function pointer of an arbitrary type that it only finds out about at runtime. Normally, if you call a function pointer with a known type, your compiler will generate the proper calling code and allocate the arguments in registers or on the stack. However, doing that inside the JIT would
2010 Jun 12
1
sharing experience - installing R Spatial Views
Hi Guys, I would like to share my experience when installing the Spatial views packages for R. I could not install 32 packages which are parts of the Spatial views, and I use google-search and search to solve ALL those problems for about 2 days. I hope maybe somebody would benefit from my experience. I admitted that I do not have excellent programming skills at all. So, perhaps some of
2015 Sep 29
1
Error possibly related with environments/namespace
Hello all, I've got a problem with a function in a R package I've developed (MetaLandSim). One of the outputs of my function is the plotting of four images (combining a graph and a map). This plotting is made in a graphical device, with the graph in one side and the map in the other. My function works perfectly fine until it has to plot the map. Then it stops and I get an error.