Displaying 20 results from an estimated 10000 matches similar to: "X11 device now needs to be explicitly started?"
2003 Apr 14
7
functions in a package
Hello,
I have a beginner's Q:
if i want to know all the functions provided by a package,
what is command for that?
in another word,
Is there a command to list all the commands available in a packege?
thanks a lot,
yan
2003 Apr 16
4
good source for explaining input and output parameters of R functions
Hello,
thank you all for answering my previous Qs.. I have a new Q:
I am wondering is there good source for explaning input and output
parameters of R function?
In that aspect, I found the help documents in R is not that helpful:)
I am struggling with trying to understand what some of the returned value
means..
for example, for surf.ls() function, the help in R only describes 3
fields(the
2003 Apr 04
3
trellis.graphic in for-loop
Hi list,
I am unsuccessfully trying to produce a serious of trellis barcharts from
within a for-loop. The barcharts work outside the loop. What am I missing?
Example attached.
Thanks Herry
#XXXXXXXXXXXXXXXXXXXXXX
trellis.device(bg="white")
trellis.par.get("fontsize")->fontsize
fontsize$default<-16
trellis.par.set("fontsize",fontsize)
2002 Apr 20
2
integration of a discrete function
Dear R list
I am looking for a function in R that computes the integration of a
discrete curve, such as a power spectrum, in a specified interval (in my
case, that would be 'power in a certain frequency band'). I found only
functions, such as 'integrate', that perform adaptive quadrature on
analytic functions, and not on a curve specified as a set of (x,y) pairs.
I have the
2004 Oct 26
2
integration problem
Dear R users,
I have spectral data (say, wavelength vs. extinction coefficient) for
which I??d like to calculate an integral (i.e. the area underneath the
curve).
Suppose the (artificial) dataset is
lambda E
1 2
2 4
3 5
4 8
5 1
6 5
7 4
8 9
9 8
10 2
How can I calculate an integral for these values using R?
Many thanks for any help!
Regards
Christoph
2006 Jul 19
3
Fitting a distribution to peaks in histogram
Hello list!
I would like to fit a distribution to each of the peaks in a histogram, such
as this: http://photos1.blogger.com/blogger/7029/2724/1600/DU145-Bax3-Bcl-xL.png
.
The peaks are identified using Petr Pikal peaks function (
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/33097.html), but after that
I am quite stuck.
Any idea as to how I can:
Fit a distribution to each peak
Integrate the
2009 Mar 10
2
R equivalent to MATLAB's "whos" Command?
By any chance is there an R equivalent to MATLAB's "whos" command?
I tried searching R and R-seek, but didn't really come up with anything.
There are several items I would like to make sure are stored in the workspace and check their values.
Thank you again for your help and any feedback.
> ?workspace
No documentation for 'workspace' in specified
2004 Mar 03
4
How to read Excel file and access the data item?
In R, How to read Excel file and access the data item?
Thank you.
---------------------------------
[[alternative HTML version deleted]]
2003 Jan 13
2
Bug in boxplot(..., add=TRUE) ?
R 1.6.1 on Windows NT4:
The boxplot() function appears to draw its own tick marks
and axis values even when called with add=TRUE. As a toy
example, try
x <- rnorm(100)
f <- factor(rep(1:4, each=25))
plot(c(0,4), c(-3,3), type="n", xaxt="n", yaxt="n")
boxplot(x ~ f, add=TRUE)
My expectation is that a high-level plotting function will
not mess with the axes
2002 Dec 30
2
Writing packages with `methods' package
I'm trying to write a package which uses classes/methods as defined in the
`methods' package. I have a single .R file which defines the class and
various methods for that class. At the top of the file I have
require(methods)
and then
setClass("myclass", ...)
setGeneric("intersect")
setMethod("intersect", "myclass", function(x,y) ...)
I noticed
2002 Aug 31
1
building r-devel on RedHat 7.1 with gcc 3.1.1
Has anyone tried to build r-devel on a RedHat 7.1 with the gcc 3.1.1
compiler? I didn't have problems with gcc 2.95.x or gcc 3.0.4, but when I
ran the configure with gcc 3.1.1 I got the following error:
[...]
checking whether gcc accepts -M for generating dependencies... yes
checking whether gcc supports -c -o FILE.lo... yes
checking how to get verbose linking output from g77... -v
checking
2003 Jan 15
2
Contour Plots
r-help,
I can't seem to get the below data organized in such a manner so as to
generate a contour plot
using any of the functions {lattice.contourplot, base.contour,
base.filled.contour}. I was wondering
if anyone could please tell me what I need to do to accomplish this.
X,Y,Level
-31.105,86.911,3843
-3.385,86.911,3896
24.335,86.911,3874
-24.175,79.700,3900
-3.385,79.700,3927
2003 Feb 11
2
geoR question from new R user
Hi,
I'm a new R user. My goal is to do a variogram using geoR.
I started by trying to do the example in the geoR Illustrative Session
using my own data.
I am able to read in my Ascii data using: D <- matrix(scan("file.dat",
n=530*3), 530,3, byrow=TRUE).
Then I use: as.geodata(D, coords.col=1:2, data.col=3) to make the
object D geodata.
I check the descriptive statistics,
2002 Feb 19
2
cdf of the standard normal distribution
Dear Experts,
I need to calculate the cdf of the standard normal distribution, i.e.
H(x) = 1/sqrt(2*pi) integral(exp(-z^2/2) dz), where z is b/w -infi to
infi.
I know there should be a way to do it in R, but did not know to do it.
I'd appreciate any help you could offer.
Charlie Liu
Graduate student intern at EPA/ECO
2002 Mar 11
2
gif, jpeg and png image files reader
Hi all,
Although R seems to have jpeg() and png() functions that converts data into
jpeg and png formated files, it
doesn't have functions the other way around.
Does one of R contributed packages have gif, jpeg and png image readers? I
did help.search() but no luck
Regards,
Jonathan
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2003 May 27
3
The Wrong Choice: Locked in by license restrictions
A colleague pointed me to this article advocating R as a Matlab
substitute. Here is the link (deliberately on two lines:
http://searchenterpriselinux.techtarget.com/
originalContent/0,289142,sid39_gci902076,00.html
I'm not a Matlab user, but I understand that it provides a nice front
end to the Linpack collection of numerical linear algebra routines. My
friend and I wonder if R can really
2003 May 01
4
List of lists? Data frames? (Or other data structures?)
Hi, I'm faced with the following problem and would appreciate some
advice.
I could have a data frame x that looks like this:
aa bb
a 1 "A"
b 2 "B"
The advantage of this is that I could access all the individual
components easily. Also I could access all the rows and columns
easily.
Alternatively, I could have a list of
2010 Oct 28
2
R and Matlab
Dear Group,
I am looking for ways to use R and Matlab. Doing the data transformations in
R and using the data in Matlab to analyze with some pre-defined scripts.
Any good ways to transfer the data into matlab in its most recent version?
I tried using R.matlab but the writeMat output is not readable by Matlab.
I just need to output a data.frame and read it as is into matlab where I can
do any
2002 Aug 28
2
sourcing a file with the plot.lme() function
I ran into a problem trying to make a plot from a file that's read using
source. Basically, I have the following code in a file "plot.R" :
library(nlme)
data(Loblolly)
fm1 <- nlme(height ~ SSasymp(age, Asym, R0, lrc),
data = Loblolly,
fixed = Asym + R0 + lrc ~ 1,
random = Asym ~ 1,
start = c(Asym = 103, R0 = -8.5, lrc = -3.3))
2002 Nov 15
3
shared ATLAS library?
>From "R Installation and Administration:"
Note that the BLAS library will be used for several add-on packages as
well as for R itself. This means that it is better to use a
shared BLAS library, as most of a static library will be compiled
into the R executable and each BLAS-using package.
Is there an idiots guide on how to do this (or should idiots just not try).