Displaying 20 results from an estimated 3000 matches similar to: "maps in R (fwd)"
2002 Jan 16
1
Postsript/Lattice interaction
Hello --
I'm using R-1.4.0 on a PC running SuSE Linux 7.1. Following Christian
Ritter's announcement this morning, I downloaded the new versions of
lattice and grid. I find that loading the lattice library causes
postcript() to include a blank first page when creating a file. Like
this:
> # Create regular postscript file of a plot
>
2002 Nov 29
1
configure fails on Mac OS 10.2.2
Hi -
I'm trying to build R 1.6.1 on a Powerbook running Macintosh 10.2.2 with
the most recent software update. The latest version of the developer tools
is installed. I have also installed g77 and f2c from fink (the binary
versions, using apt-get).
./configure fails with the following error:
> checking for dummy main to link with Fortran 77 libraries... unknown
> configure: error:
1999 Dec 11
1
make errors while compiling
Dear R users -
I am a first-time R user trying to compile v.0.90.0 under Caldera
OpenLinux 2.3, on a Dell PII400/128. I've encountered a problem with the
make file.
First, I run configure, which appears to complete properly. (I had to
download an updated gcc library from caldera for this to happen though.)
At the end of its run, config reports:
> R is now configured for
2001 Aug 02
1
gsub() and parenthesis symbols
Dear R-users --
I'm using R 1.3.0 on a PC running SuSE Linux 7.1. I'm confused by the
following behavior from the gsub() function. Am I doing something wrong?
## A string of characters
> string<-c("q","w","e","(",")","q","w","e")
## Use gsub to replace `q' with `A'
>
2007 Jan 04
5
color of opposite sign values in filled.contour
Dear R-helpers,
I'm plotting geophysical data in the form of contours using
"filled.contour". The display would be much more effective if the areas
with negative values could be color coded
by -- say -- "cold colors" in the range of blue to green, and conversely
the areas with positive values got plotted with "warm colors", from yellow
to red.
Right now if I use
2004 Nov 06
1
basic bwplot query
Hi -
I have some data consisting of a number of observations within each of
15 countries. Each country falls into one of two groups. I'd like to
use the lattice library's bwplot to present boxplots of the
country-level data, with a separate panel for each group, but showing
only the relevant countries in each panel. Here's an analogous example
using the "singer" data
2004 Jan 07
1
Sweave and X11 on OSX 10.3
Hi -
I'm running R 1.8.1 (compiled from source) on Mac OS X 10.3 (Panther). I
find that, if Apple's X11 application is not running, Sweave gives an
error when it wants to create a pdf or eps figure. E.g., in the package's
own example-1.Snw file a boxplot is created at chunk 2:
<<fig=TRUE,echo=FALSE>>=
boxplot(Ozone ~ Month, data = airquality)
@
Normally this will create
2012 Feb 13
1
survey package svystat objects from predict()
Hello,
I'm running R 2.14.1 on OS X (x86_64-apple-darwin9.8.0/x86_64 (64-bit)), with version 3.28 of Thomas Lumley's survey package. I was using predict() from svyglm(). E.g.:
data(api)
dstrat<-svydesign(id=~1,strata=~stype, weights=~pw, data=apistrat, fpc=~fpc)
out <- svyglm(sch.wide~ell+mobility, design=dstrat,
family=quasibinomial())
pred.df <-
1999 Dec 11
0
Success compiling R on Caldera OL 2.3
Hello -
thanks to Prof. Ripley and Peter Dalgaard for their helpful responses. I
have now successfully compiled R on my machine. The kernel-headers were
not installed on my machine, but there is a package on the Open Linux
2.3 CD. I believe they weren't installed simply because I didn't choose
to have all the development tools/libraries added when I installed
linux. I didn't realize
2010 Oct 28
3
help with help()
Hi all
Just this morning I upgraded to R 2.12.0 (for Mac OS X 10.6.4).
All went well until I needed to run a help() or help.search() in my session,
which I'm running within Emacs (ESS 5.3.7).
Say I need help with the command 'density'. When I type
help(density)
or
?density
the ESS help buffer opens, it is titled *help[R](density)* but it contains
only a couple of lines saying,
2001 Nov 13
1
models for polytomous data
Hi all
I have a dataset whose response is a categorical variable of the
ordinal scale type (6 levels).
I'm interested in building classification models, and I'm wondering if
there is something implemented in R (or its packages) that I'm not aware
of, to treat the ordinal scale measurements straightforwardly. I can think
of the alternative of building a conditional (hierarchical)
2001 Aug 02
0
gsub() and parenthesis symbols -- solved
Hello again --
inevitably, I discovered the (documented) answer 30 seconds after
sending my question.
Using gsub(...,extended=FALSE) is the way to avoid this issue.
Cheers,
Kieran
--
Kieran Healy, Assistant Professor,
Sociology Dept, University of Arizona.
kjhealy at u.arizona.edu :: (520) 621-3480
http://www.u.arizona.edu/~kjhealy
-------------- next part --------------
An embedded message
2002 Oct 17
2
making R-1.6.0 on Linux Debian
I'm running R-1.4.1 on a linux debian (version 2.2) box.
I've tried to upgrade to R-1.6.0, and the execution of make halts with the
following error messages:
make[4]: Entering directory `/home/tebaldi/R/R-1.6.0/src/library/methods'
dumping R code in package 'methods'
Error in testRversion(descfile) : This package has not been installed
properly
See the Note in ?library
2002 Feb 28
1
multiple replications of a ts
Hello
I have several replicates (30) of a -- short -- time series (19 obs) and
I'd like to estimate the first few lags autocorrelation function.
Is there an immediate way of handling multiple realizations when computing
the ACF in R?
I'm using R-1.4.1 on a Linux Debian box.
Thanks in advance
claudia
-------------------------------------------------------------------------
claudia
2008 Oct 07
2
masking a regular lat/lon grid to extract map boundaries
Dear R-helpers,
I have lat/lon coordinates of regularly spaced grid points, about 4Km
apart, covering the entire US continental region.
I would like to mask this rectangular grid in order to extract all and
only the grid points within a specific region. Today I want to
extract Montana, say, from this grid, and I am hoping to somehow use
the returned value of the function
2001 Oct 29
2
times 'til first change
There is probably an elegant and efficient way to do this -- perhaps
already implemented, and some of you knows it. Myself, I'm getting stuck
in long loops ...
Here is the question:
I have a long (80,000 + obs) binary time series.
For each of its elements I'd like to compute and save in a vector "the
number of steps 'til the first switch of state happens". For example,
2001 Aug 13
2
printing lattice plots
Hi
I'm trying to print several plots to a multi-page postscript file.
Some plots are output of basic commands, some are produced by "trellis"
commands (from the package lattice).
Right now I'm not able to get a straightforward black and white color
scheme for the latter kind: when I open the postscript file the "trellis"
plots are invisible, or parts of them are
2001 Sep 06
1
interrupting the sourcing of a file
Hi all
I'm running lm()/leaps() kind of computations within a loop, and I
submitted the entire thing by sourcing a file of R code in interactive
mode.
I'd like to interrupt the evaluation of this (it's taking way too long)
but I am not able to.
I'm running R-1.3.0 from an emacs window (ESS-5.0) and I'm on a linux box,
(Debian). I tried Control-c Control-c (nothing happens),
2010 Oct 31
1
complicated graphic -- persp+map
Hello
I'm trying to render in 3D what I usually plot by image(), or image.plot()
from the library fields, followed by a map("world",add=TRUE) type of
command. More concretely, I have a field of temperature values, for a given
geographic area, and I would like to plot a 3D surface whose x and y axes
consist of longitude and latitude values and whose height and color-coding
correspond
2002 Jun 20
1
errors installing R-1.5.1 on linux debian
Hello
I'm upgrading from R-1.4.1 to R-1.5.1, locally on my Linux PC running
Debian.
after running 'configure' this is what I get (just in case it helps
figuring out what follows later...)
R is now configured for i686-pc-linux-gnu
Source directory: .
Installation directory: /usr/local
C compiler: gcc -D__NO_MATH_INLINES -mieee-fp -g -O2
C++