Displaying 20 results from an estimated 6000 matches similar to: "compiling addons"
2004 Aug 31
1
appending data to a dataframe
Dear R users,
I am sorry to ask you such a pathetic newbie question, but how does one
append data at the end of a data frame?
I am working with GRASS/R library, but the question is about R.
I have a data.frame containing the following variables
basinID, distoutlet, drainage_area, slope
These variables are stored for all pixels of Grass Raster objects. For each
drainage basin (basinID), I'd
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
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 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
2007 May 20
4
Running an R script without running R
Is there any way to run an R script without running R?
As an example, suppose I have a tcl/tk interface that asks
for a number (in a GUI) and displays its factorial. Is there a
way to invoke this script without invoking R?
I'm using R 2.4.1 in GNU/Linux Fedora Core 4.
Alberto Monteiro
2003 Oct 13
1
NA's from GRASS-package
Hello,
I run R inside GRASS and tried to obtain values of a raster file inside GRASS
but this raster image contains only a few relevant pixel and approx. 1.5
Mill. NA's, I did
G <- gmeta()
sites1 <- rast.get(G, "sites1")
df.sites1 <- data.frame(east(G), north(G), sites1, na.action=na.omit)
Error in as.data.frame.default(x[[i]], optional = TRUE) :
can't
2013 Jan 29
2
Netcdf and Raster Package Questions, Need .asc File for GIS
Hello R-Group,
I am new working with netcdf files and the raster package in R.I am
trying to read in a netcdf file using the package "ncdf".I am able to
get the lat, lon and parameter I need and can plot using
fill.contour.Ultimately, I am trying to create a .asc file to reafd into
GIS.I am using the package "raster" to read the parameter.When I read in
with
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
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 variograms out of landsat images which
packages of R
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.
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"))
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.
2009 Jun 18
3
predict.glm and predict.gam output
Hi all,
I am currently trying to compare different plant occurrence prediction
maps generated in R and exported into GRASS. One of these maps was
generated from a glm fitted to some data, and subsequently applying this
glm model to a wider region using predict.glm. The outcome here was a
probability of occurrence. The second map I generated using a gam
(mgcv), however, this map seems to have
2011 May 19
2
Converting the graphics window to a data matrix
I'm wondering if anyone is aware of a way to take what is visible in the
R graphics window, pixelate it, and express that pixellation in a
numeric matrix. For example, I am using the following command to create
a black (present) and white (absent) spatial simulation of grass
tussock distribution.
>
symbols(x=runif(100,-.5,1.5),y=runif(100,-.5,1.5),circles=runif(100)/30,
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
2011 Sep 15
1
Creando scrips en R
Hola queridos usuarios de R-HELP-ES
Primero que nada, muchas gracias a todo aquellos que me prestaron ayuda en mi anterior pregunta, fue de gran utilidad.
A lo siguiente, tengo ahora otras preguntas, que bajo mis conocimientos las considero complejas, espero que me puedan ayudar, se los agradezco de antemano. Necesito realizar las siguientes operaciones (#OperaciĆ³n general) a un conjunto de 18
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
2012 Feb 14
1
svm with GRASS GIS
Dear R Community-
I am a new user of R. I am using R with GRASS GIS.
I would apply svm "on" raster data in GRASS.
Basically I have a raster with "areas training" and other three raster (each
represents a band of ASTER satellite image).
My goal is to classify, according to training areas, the 3 raster.
Trying to replicate the guides found on the net, I did the following:
#
2002 Nov 09
1
MFWorks and R
I know there is some integration between Grass and R available, but
has anyone produced a link between R and MFWorks.
I am considering Buying MFWorks (Windows) and it would be useful to
know if anyone has written such a link.
Many thanks,
Graham S
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read