Displaying 20 results from an estimated 10000 matches similar to: "Does matmult exist?"
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
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 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))
2003 Jan 30
1
vector passed to `if' in `pgamma'
In the current R-devel sources, the `pgamma' function gives a warning when
the `shape' argument is passed as a vector of length > 1. That is,
> pgamma(3, 1)
[1] 0.950213
> pgamma(3, c(1, 2))
[1] 0.9502129 0.8008517
Warning message:
the condition has length > 1 and only the first element will be used in:
if (shape <= 0) stop("shape must be strictly positive")
2002 Mar 31
1
How to get the datapoints of an density estimationwithlocfit?
Hello!!
At first thank you all for your suggestions and your help.
But I would like to get another group of datas from the density estimation. I don't know if these information are provided by locfit or I should use an other function like plot().
Description:
Each number between 1 and 100 (only integer) for example should have only one density value. But I also would like to have the density
2002 Oct 24
1
packages in non-system directories
Quick question about installing packages on a system where you do not have
root access. Suppose a person is using R on a shared system where he
cannot write to the installation directory (i.e. /usr/local/lib/R). What
general advice would you give regarding where to install packages from
CRAN. Should he use the R_LIBS environment variable or maybe .libPaths()
in R or .Renviron?
Thanks,
-roger
2002 Nov 01
1
seemingly random "nesting of readline input" warnings
Recently, while using R-patched and now R-1.6.1 (on RedHat Linux 7.1) I've
been getting the following warning in the course of everyday activity:
[... some R activity ...]
In addition: Warning message:
An unusual circumstance has arisen in the nesting of readline input.
Please report using bug.report()
>
The warning is difficult to reproduce because it seems to appear at random
times,
2002 Jun 19
3
R-1.5.1 for Darwin/X11
The file
ftp://gifi.stat.ucla.edu/pub/R-1.5.1.dmg
has grown to 60 MB. It consists of a meta-package and its packages and
it will allow you to install binaries for R-1.5.1 and about 300
packages, just by
clicking the R-1.5.1.mpkg file. It also install quite a few dylibs in
/sw, but not
the ones for X11R6 and gnome yet. You can choose which of the packages
to install,
of course.
The same
2002 Jun 19
3
R-1.5.1 for Darwin/X11
The file
ftp://gifi.stat.ucla.edu/pub/R-1.5.1.dmg
has grown to 60 MB. It consists of a meta-package and its packages and
it will allow you to install binaries for R-1.5.1 and about 300
packages, just by
clicking the R-1.5.1.mpkg file. It also install quite a few dylibs in
/sw, but not
the ones for X11R6 and gnome yet. You can choose which of the packages
to install,
of course.
The same
2003 Jan 08
0
New package: gpclib
I have just uploaded a package to CRAN called `gpclib' for clipping large
and complex polygons. This package provides an R interface to Alan
Murta's very fast General Polygon Clipper library (written in C), which
has an optimized version of the Vatti algorithm. Not all features of
Murta's library are implemented -- right now you can do intersections,
differences, and unions. There
2003 Jan 08
0
New package: gpclib
I have just uploaded a package to CRAN called `gpclib' for clipping large
and complex polygons. This package provides an R interface to Alan
Murta's very fast General Polygon Clipper library (written in C), which
has an optimized version of the Vatti algorithm. Not all features of
Murta's library are implemented -- right now you can do intersections,
differences, and unions. There
2002 Mar 26
2
does function predplot still exist?
Venables and Ripley's MASS 3ed mentions a function predplot, used for
plotting results of lda and qda. But even with the library MASS loaded,
R (1.4.1) tells me predplot doesn't exist, and when I search the 1.4.1
documentation for predplot, it finds nothing. Does predplot still
exist somewhere, or has it been replaced by a new and improved version
with a different name? Thanks.
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
2003 May 01
0
system.file() and .path.package() incorrect with package versions
The system.file() and .path.package() functions appear to be unaware of
package versions and can return incorrect information or fail if a package
is installed using `installWithVers = TRUE' of install.packages(). For
example, I can run
> install.packages("session", "~/R-local/libs", installWithVers = TRUE)
and
> library(session, version = "1.0.1")
2002 Nov 27
6
Rbind help needed
Dear list
I have a very simple question which is causing me problems!
I have a matrix A and simply want to rbind this matrix together n times (n is a large number)
How can I write this in R?
I know I could do new<-rbind(z,z,z,...z) with z written n times but this will take forever as n is so large.
Is there a simple way to write this?
Cheers
Mick
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
2003 Jan 21
0
FW: Contour Plots
Huan,
If you have not already received an answer, try this, it helped me
immensely and solved my problem.
Mike
-----Original Message-----
From: Roger Peng [mailto:rpeng at stat.ucla.edu]
Sent: Wednesday, January 15, 2003 9:30 AM
To: mhoward
Cc: 'r-help at lists.R-project.org'
Subject: Re: [R] Contour Plots
I believe this was discussed about two days ago -- check the archives
under
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