Displaying 7 results from an estimated 7 matches for "projargs".
2013 Sep 05
2
Problem installing "sp" package
...-shared -o sp.so Rcentroid.o gcdist.o init.o pip.o pip2.o
sp_xports.o surfaceArea.o zerodist.o -L/usr/lib/R/lib -lR
installing to /home/terjej/R/x86_64-pc-linux-gnu-library/2.15/sp/libs
** R
** data
** demo
** inst
** preparing package for lazy loading
Error in setClass("CRS", slots = c(projargs = "character"), prototype =
list(projargs = character(1)), :
unused argument(s) (slots = c(projargs = "character"))
Error : unable to load R code in package ?sp?
ERROR: lazy loading failed for package ?sp?
* removing ?/home/terjej/R/x86_64-pc-linux-gnu-library/2.15/sp?
Warn...
2012 Mar 14
1
How to extend a slot of a class?
...-79.84 9.16 -79.84 9.17
.. ..- attr(*, "dimnames")=List of 2
.. .. ..$ : chr [1:2] "location.long" "location.lat"
.. .. ..$ : chr [1:2] "min" "max"
..@ proj4string:Formal class 'CRS' [package "sp"] with 1 slots
.. .. ..@ projargs: chr NA
data is a data.frame including the information of long and lat location. I would like to have there a third information: time (but as POSIXct). Is there an elegant way to do this?
Best,
marco
[[alternative HTML version deleted]]
2010 Oct 12
2
Memory limit problem
...: num [1:2, 1:2] 708746 2046153 923407 2327911
? .. ..- attr(*, "dimnames")=List of 2
? .. .. ..$ : chr [1:2] "x" "y"
? .. .. ..$ : chr [1:2] "min" "max"
? ..@ proj4string:Formal class 'CRS' [package "sp"] with 1 slots
? .. .. ..@ projargs: chr " +proj=utm +zone=4 +datum=NAD83 +ellps=GRS80
+towgs84=0,0,0"
> summary(b.depth)
?????? x??????????????? y?????????????? z???????
?Min.?? :-157.0?? Min.?? :18.50?? Min.?? :-5783?
?1st Qu.:-156.6?? 1st Qu.:18.98?? 1st Qu.:-4565?
?Median :-156.1?? Median :19.80?? Median :-3358...
2010 Oct 19
1
Problems with a specific calculate.
...@ bbox : num [1:2, 1:2] 345 4278 614 4438
.. ..- attr(*, "dimnames")=List of 2
.. .. ..$ : chr [1:2] "x" "y"
.. .. ..$ : chr [1:2] "min" "max"
..@ proj4string:Formal class 'CRS' [package "sp"] with 1 slots
.. .. ..@ projargs: chr "+proj=utm +zone=31 +units=km"
This is a single file for one specific day.
Now, I must to sum the precipitation of every day from every file like this.
I must to do the annual precipitation for every year.
How can I take the precipitation ( PRECIP.pred) of every day and sum it w...
2011 Feb 11
1
Extract a slot value from a 'SpatialPolygons' class object
...706657 -1509411 711710 -1506189
.. .. ..- attr(*, "dimnames")=List of 2
.. .. .. ..$ : chr [1:2] "x" "y"
.. .. .. ..$ : chr [1:2] "min" "max"
.. ..@ proj4string:Formal class 'CRS' [package "sp"] with 1 slots
.. .. .. ..@ projargs: chr NA
I’d like to extract the area value so as to be able to use this value for further analysis. Here’s below what I get when I only type the name of the object:
>overlperc
[[1]]
An object of class "SpatialPolygons"
Slot "polygons":
[[1]]
An object of class "Polygo...
2008 Aug 19
1
address (nil), cause 'memory not mapped'
...t;, intern = TRUE, ignore.stderr = ignore.stderr)
2: ifelse(.Platform$OS.type == "windows", projstr <- system("g.proj -j
-f", intern = TRUE), projstr <- system("g.proj -j -f", intern =
TRUE, ignore.stderr = ignore.stderr))
3: getLocationProj()
4: nchar(projargs)
5: CRS(getLocationProj())
6: readRAST6("nombre")
7: dist.grass(matrizPaisaje.riosypondas3000, "riosypondas3000", direct
= "/home/mastermind/r/distancias", division = 17)
8: eval(expr, envir, enclos)
9: eval(parse(text = sprintf("dist.%s <<- dist.gr...
2009 Mar 21
3
Retrieving Vertices Coordinates from SpatialPolygons
Dear List,
I'm trying to use different R packages for my Teaching Assistantship
classes. And I cam out to an (apparently) very simple problem. I would
like to retrieve the vertices coordinate of a SpatialPolygon data. I
know this is stored in the "coords" slot, but I can't get access to
it! I tried to coerce the SpatialPolygon into a data.frame but it
doesn't work.