Displaying 20 results from an estimated 9000 matches similar to: "help with help()"
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
2010 Apr 30
1
help needed with help
I installed
R version 2.11.0 (2010-04-22)
on may macbook (snow leopard)
and run R from within emacs
Now when I try to get help, I get
> ?lm
(in the new "help" window)
Error in help("lm", htmlhelp = FALSE) :
unused argument(s) (htmlhelp = FALSE)
Help!
p.s. I am running:
This is GNU Emacs 22.2.50.1 (i386-apple-darwin9.4.0, Carbon Version 1.6.0)
of 2008-07-17 on
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
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 Sep 18
1
help manual on R on ESS
Hi folks,
R on ESS
Why it is unable to pop up help manual on "R on ESS"?
?layout
Error in help("layout", htmlhelp = FALSE) :
unused argument(s) (htmlhelp = FALS
?plot
Error in help("plot", htmlhelp = FALSE) :
unused argument(s) (htmlhelp = FALSE)
etc.
But they work on R console and popup the manual without problem. TIA
B.R.
Stephen L
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
2008 Mar 20
2
Installation of R, Sweave, ESS and [X]Emacs on Windows?
I'm trying to get R, Sweave, ESS and XEmacs or emacs all installed and
working together on my Windows XP Pro system. I've got R 2.6.0 working
just fine, installed from the R Windows installer. I also have
CYGWIN_NT-5.1 with XEmacs 21.4 working okay. Can anyone point me to any
documentation on how to bring these together so that R code typed in
Xemacs can be run in R? I found the ESS
2001 Oct 31
3
maps in R (fwd)
Here is the answer to an old question of mine, regarding maps in R
Hope this help.
claudia
---------- Forwarded message ----------
Date: Mon, 25 Jun 2001 13:48:05 -0400
From: Kieran Healy <kjhealy at Princeton.EDU>
To: Claudia Tebaldi <tebaldi at ucar.edu>
Subject: Re: [R] maps in R
Hi Claudia --
you can get the maps() library from here:
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)
2009 Sep 04
1
predicting from segmented regression
Hello
I'm having trouble figuring out how to use the output of "segmented()"
with a new set of predictor values.
Using the example of the help file:
??set.seed(12)
xx<-1:100
zz<-runif(100)
yy<-2+1.5*pmax(xx-35,0)-1.5*pmax(xx-70,0)+15*pmax(zz-.5,0)+rnorm(100,0,2)
dati<-data.frame(x=xx,y=yy,z=zz)
out.lm<-lm(y~x,data=dati)
o<-## S3
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
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,
2005 Feb 23
3
and [ESS] Starting ESS
Dear R People:
I have finally seen the error of my ways and have decided to use ESS for R
and S + stuff.
However, I have a question right from the beginning. I'm somewhat confused
by the installation instructions.
Do I install XEMACS or ESS first, please?
Windows XP
R Version 2.0.1
(S + 6.2)
Thanks so much!
Sincerely,
Laura Holt
mailto: lauraholt_983 at hotmail.com
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
2012 Jan 12
3
remoting ESS/R with tramp
Tom Roche Thu, 12 Jan 2012 11:56:25 -0500
>>> * I have access to the cluster [where I want to run R] configured
>>> [in .ssh/config] such that I can `ssh t` from commandline.
>>> 1 I can open an R file on the cluster with
>>> `C-x C-f /t:/home/me/onlyOrigDN2.r`
>>> from my laptop, and note the following
>>> *Messages*
>>> >
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
2010 Nov 10
4
Installing R and an editor on a USB drive
Hi,
I have adviced my students to install R and an editor on a USB drive for
working in the computer class. With R everything works fine following these
instructions: http://personal.bgsu.edu/~mrizzo/Rmisc/usbR.htm.
But several editors (e.g., Tinn-R and WinEdt) require administrator rights.
I have found out that Emacs (Vincent Goulet's Emacs for Windows Modified
2001 Nov 15
2
help.start() works with Mozilla, but not with ESS
In a recent post, I reported that help.start worked with Mozilla,
although it had not worked before. I now have discovered the
difference. I'm using RH Linux 7.1 and Mozilla 0.9.5 and R
1.3.1.
When I tried it before, I had use ESS to start R. If I run R
without ESS, help.start() will start the browser (Mozilla), but
help(apply), for example, will produce help in ESS but not in the
browser.
2009 Sep 18
2
Emacs and ESS help
Hi,
I decided to try emacs and ess with R, but to no avail. How are these
things suppose to work with R - or work, period? I downloaded the
latest windows versions of each and installed them as the documentation
says. But then the documentation for ess says to add (require
'ess-site) to /.emacs and restart emacs. Where is /.emacs???? I opened
the ess-site.el file and it also says to
2011 Jan 19
2
spacing of color key in filled.contour
Hi all
I'm plotting colored contour maps using filled.contour. My levels
are very unevenly spaced, with, say, high resolution in the small
numbers but ranges that can be an order of magnitude or two larger in
absolute value compared to where the action takes place. Aside from
transforming the data, is there a way to control the color spacing in
the key to the right of the map? Right now I