Displaying 20 results from an estimated 2000 matches similar to: "library maps for R"
2001 Mar 01
1
maps in R for Windows
I am using R1.2.0 on Windows NT4.0 and am looking for information on drawing
geographical maps.
[The things I'd like to do at the moment are rather simple, just like
plotting the values of some variable (e.g. a SMR) on a given map.]
Searching the r-help mailing list archives, it seems this topic comes up
from time to time. For example, in November 1999 Ray Brownrigg writes about
an "R
2003 Jun 13
2
maps library for R?
Hi there,
Does it already exist a library in R to draw maps (something like a Generic
Mapping Toolbox, http://gmt.soest.hawaii.edu/ port).
I've seen in an old R-help that Ross Ihaka once tried to port the S-plus map
library (http://maths.newcastle.edu.au/~rking/R/help/99b/0832.html ).
Anybody know if this package is available somewhere or if there is somebody
developing a Mapping package
1999 Apr 17
1
Maps in R
Apologies in advance from an R newbie if this is a dumb question. Is it
possible to produce choropleth maps in R? I gather from some nice research
papers on the AT&T (sorry, Lucent) S web site that in S (and S Plus) there
is a map() function which uses arrays of polylines and regions to draw map
borders and then fill them with patterns or shades according to some scalar
quantity. We currently
2003 Oct 24
1
first value from nlm (non-finite value supplied by nlm)
Dear expeRts,
first of all I'd like to thank you for the
quick help on my last which() problem.
Here is another one I could not tackle:
I have data on an absorption measurement which I want to fit
with an voigt profile:
fn.1 <- function(p){
for (i1 in ilong){
ff <- f[i1]
ex[i1] <- exp(S*n*L*voigt(u,v,ff,p[1],p[2],p[3])[[1]])
}
sum((t-ex)^2)
}
out <-
2001 Nov 02
0
maps in R
> While I am not an expert in either R or S, I believe the maps library is
> somewhat broken with respect to projections.
Correct.
>
> Any ideas, comments and suggestions are greatly appreciated. Does anyone
> know who the author of this package is? I found it at
> ftp://ftp.mcs.vuw.ac.nz/pub/statistics/map/ and I am using R-1.3.1 on
> Linux 2.4.x-x.
>
The authors are
2006 Oct 24
2
for help
I have a question in R.
In directory H:/Delta_angle
I have 19 files like this:
ALA.delta
ASN.delta
ASP.delta
CYS.delta
GLN.delta
GLU.delta
HIS.delta
ILE.delta
LEU.delta
LYS.delta
MET.delta
PHE.delta
PRO.delta
SER.delta
THR.delta
TRP.delta
TYR.delta
VAL.delta
I want to read these files to 19 data sets in R.
All these data sets have "P","AA",index","delta"
2006 Jul 31
0
Choropleths maps of the USA states (PR#9111)
Dear Colegues:
I have tried to reach Ray Brownrigg, Ray.Brownrigg at mcs.vuw.ac.nz
but my mails have turned back with the following comment
did not reach the following recipient(s):
Brownrigg at mcs.vuw.ac.nz on Mon, 31 Jul 2006 12:52:39 +0100
There is no such account in the address
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
2001 Sep 27
5
Reading and writing to S-like databases
Hi,
I asked this question 2 years ago, and would like to know if the answer has
changed.
In S-Plus, I build databases of many large objects. In any given analysis,
I only need a few of those objects, but attach'ing the whole database is fine
since objects are only read as needed. How can I do the same thing in R,
without reading the entire database?
One possibility is to treat
2006 Mar 08
3
bug in map('world') ?
hi,
did'nt see anything in the archive:
map('world',pro='rectangular',para=0)
yields a strange artifact (horizontal bar) extending over the whole map
at a certain latitude range (approx 65 deg. north), whereas
map('world',pro='rectangular',para=180)
(which should be the same) does not show the artifact.
the artifact shows up in other projections as well,
2003 Oct 05
0
R maps now for Windows
The original S maps package, previously only available in R on Unix
systems is now available in R for Windows.
maps_2.0-2 and mapdata_2.0-2 (see below) in both source and Windows
binary form (for rw1071) have been uploaded to CRAN, hopefully soon to
appear.
The key aspect of this package which differentiates it from other
GIS related R packages under development is that it is standalone
within
2003 Oct 05
0
R maps now for Windows
The original S maps package, previously only available in R on Unix
systems is now available in R for Windows.
maps_2.0-2 and mapdata_2.0-2 (see below) in both source and Windows
binary form (for rw1071) have been uploaded to CRAN, hopefully soon to
appear.
The key aspect of this package which differentiates it from other
GIS related R packages under development is that it is standalone
within
2010 Nov 17
3
Parameterising apply To Compute Rolling Average of Columns in a matrix
I sent a post to find a clever way to compute a Rolling Average of columns
in a matrix and I was given the solution below which I am very pleased
with.
RollingAverage <- function(x, RollingObs) {
cx <- cumsum(x);
N <- length(x);
Temp <- (cx[RollingObs:N] - c(0, cx[1:(N-RollingObs)]))/RollingObs
Output <- array(NA, N)
Output[RollingObs:N] <- Temp;
Output
}
The only
2004 Jul 01
1
Seg. faults in mapthin (in package maps!)
> From: "Kevin Bartz" <kbartz at loyaltymatrix.com>
> Date: Thu, 1 Jul 2004 10:18:36 -0700
>
> Dr. Ripley, you are the master. That fix worked like a charm! All the way to
> 50, with no problems. Thanks again,
>
And all while I was asleep! I'll submit a corrected maps package in a
couple of weeks, when I return from China (no guaranteed connection
where
2000 Feb 23
1
Large datasets under R
Hello,
I recall reading a thread months ago on this mailing list about handling
very datasets under R, but I can't seem to find it. This has become
particularly important recently, because I've been playing with a dataset
containing information about every fatal car accident in the U.S. since
1975; in total, the relevant files are about 120 megs. I'd like to load
all of these into R
2004 Apr 02
1
R on Tru64 OSF 5.1
Has anyone achieved a current successful build of R
1.8 or 1.9 or earlier for HPUX Tru 64 OSF 5.1?
There is no binary version of R for HPUX Tru 64 OSF
5.1. The R admin manual mentions that the native make
fails on "Alpha/OSF (aka Tru 64)" and gnu make must be
used instead. There are problems reported with
building R versions around 1.4 from 2002 on R-devel,
some of which were fixed with
2008 Jun 12
2
arima() bug
I guess this is more r-devel than r-help.
Note, I am just the messenger - I have no idea what the user is trying to model here.
arima() crashes R (segfault) with Linux R-2.7.0, Solaris R-2.6.0:
*** caught segfault ***
address 42400000, cause 'memory not mapped'
Traceback:
1: .Call(R_getQ0, phi, theta)
2: makeARIMA(trarma[[1]], trarma[[2]], Delta, kappa)
3: arima(x, c(1, 0, 1), c(1,
2011 Aug 25
2
Choropleth in R
Hi all,
I would like to use R in order to generate a Heatmap/Choropleth overlaid on
the UK map. Can someone please help with finding the right package/code? Any
help is much appreciated.
Best, Reza
[[alternative HTML version deleted]]
1999 Nov 03
3
bug in Rdconvlib.pl converting to latex (PR#311)
If .../<pkg>/man/ contains a filename beginning with [, such as
[.datetimes, Rdconvlib.pl cannot convert that help file into latex at
INSTALL time. [Using --no-latex is a workaround.]
The error given is:
# R INSTALL ssCatalogues
:
help
>>> Building/Updating help pages for package `ssCatalogues'
Formats: text html latex example
/^[.datetimes$/: unmatched [] in regexp at
2008 Jun 15
1
c.noquote() weirdness
I haven't been able to get anywhere tracking this down. It seems that c.noquote() does
something strange with its third (and subsequent) parameters:
R-2.7.0 under NetBSD, R-2.6.0 under Solaris, and R-2.8.0 (unstable) (2008-06-10 r45893)
under WinXP, I get:
> c(noquote('z'), 'y', 'x', '*')
[1] z y x * x *
>
or:
> c(noquote('z'),
2002 Nov 27
1
dump() bug?
Is this a bug? Certainly it was not expected. dump() seems to prefer a
global definition over a local one. R 1.6.1 on Solaris 8 or NetBSD:
> ls()
character(0)
> dump("D", "D.q") # a global D() exists
> system("cat D.q")
"D" <-
function (expr, name)
.Internal(D(expr, name))
> D <- function(x) print(x) # now create a local one
> ls()