[R] Get bearing for cartesian coordinates

2009-07-27 Thread pecardoso
Is it possible to get bearing in degrees from Cartesian (not lat long) coordinates? [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://

[R] Out of memory - RDGAL CPLRealloc()

2009-08-02 Thread pecardoso
I got this error message. Error in .local(.Object, ...) : GDAL Error 2: CPLRealloc(): Out of memory allocating 16 bytes I was trying to read 1388 jpg images (993x993) with rgdal in a loop, to store data in a data.frame. It fails to read the 1338 image. Isn't R recycling the object? I'

[R] Formating numbers

2008-05-05 Thread pecardoso
Maybe a very, very basic question but how can I get a vector of values with the specific format: 001,002,010,100 instead of: 1,2,10,100 Paulo De: [EMAIL PROTECTED] em nome de Stephan Moratti Enviada: seg 05-05-2008 11:43 Para: r-help@r-project.org Assunto: Re

[R] add horizontal line "(ABLINE(V=))" to xyplot lattice

2008-05-13 Thread pecardoso
Hi, In a lattice plot like this: win.graph() xyplot(tmx~frequ|as.factor(as.numeric(spf)),groups=as.factor(blm),data=tmx,type="l",pch=16,xlab="frequency (N)",ylab="Area held (ha)", auto.key=list(blm,points=F,lines=T,title="Blm factor",cex.title=0.7,cex=0.7,corner=c(1,1)),main="Mangroves target=

Re: [R] strip white in character strings

2008-05-14 Thread pecardoso
Maybe another basic question but... Is is possible to accomodate more than a single (independent, not resulting from arranjment of layout=c()) lattice graph in a single win.graph() device? Thanks in advance, PS Maybe duplicated Paulo De: [EMAIL PROTECTED] e