Displaying 20 results from an estimated 10000 matches similar to: "auto-loading package possible?"
2002 Oct 04
1
items in Rd file
Dear R-devel,
I'm encountering a strange problem in a Rd file that I'm working on. In the
"Value" section, I have something like:
=====================
\value{
An object of class \code{randomForest}, which is a list with the
following components:
\item{call}{the original call to \code{randomForest}}
...
For classification problem, the following are also included:
2003 May 09
3
Re: R-help Digest, Vol 2, Issue 26
With the same system configuration (WinNT4 SP6 and 1.7.0), I get such a Dr
Watson crash each time I try to use the Change dir... command in the File
menu of Rgui.exe. I doesn't seems to happen if I do this immediately after
starting R but well if I already did some computation.
I don't have any problem by using directly setwd().
At 12:10 23/04/03, you wrote:
>Date: Tue, 22 Apr 2003
2002 Jun 12
3
help debugging segfaults
(Sorry for the cross-post--- I wasn't sure which list is more
appropriate...)
Hi everyone,
I've run into segfaults when using my randomForest package on large dataset
(e.g., 100 x 15200) and large number of trees (e.g., ntree=7000 and
mtry=3000). I'm wondering if anyone can give me some hints on where to look
for the problem.
The randomForest package mainly consists of two things:
2002 Jun 12
3
help debugging segfaults
(Sorry for the cross-post--- I wasn't sure which list is more
appropriate...)
Hi everyone,
I've run into segfaults when using my randomForest package on large dataset
(e.g., 100 x 15200) and large number of trees (e.g., ntree=7000 and
mtry=3000). I'm wondering if anyone can give me some hints on where to look
for the problem.
The randomForest package mainly consists of two things:
2003 Mar 28
3
make check still fails with 1.7.0beta (3/27/2003)
Dear R-devel,
I grabbed 1.7.0 beta from today. "make check" still fails at base-Ex.R.
The last few lines of the output are:
> lsf.str()#- how do the functions look like which I am using?
Error in exists(nam <- nms[i], envir = envir, mode = mode) :
F used instead of FALSE
Execution halted
Looks like the same problem as before, but at a different place.
Mandrake Linux
2002 Apr 02
2
random forests for R
Hi all,
There is now a package available on CRAN that provides an R interface to Leo
Breiman's random forest classifier.
Basically, random forest does the following:
1. Select ntree, the number of trees to grow, and mtry, a number no larger
than number of variables.
2. For i = 1 to ntree:
3. Draw a bootstrap sample from the data. Call those not in the bootstrap
sample the
2002 Apr 02
2
random forests for R
Hi all,
There is now a package available on CRAN that provides an R interface to Leo
Breiman's random forest classifier.
Basically, random forest does the following:
1. Select ntree, the number of trees to grow, and mtry, a number no larger
than number of variables.
2. For i = 1 to ntree:
3. Draw a bootstrap sample from the data. Call those not in the bootstrap
sample the
2004 Mar 25
1
yet another fast BLAS (from AMD this time)
Dear R-devel,
Has anyone played with this?
http://www.amd.com/us-en/Processors/DevelopWithAMD/0,,30_2252_2282,00.html
<http://www.amd.com/us-en/Processors/DevelopWithAMD/0,,30_2252_2282,00.html>
.
I'll probably give it a shot...
Best,
Andy
Andy Liaw, PhD
Biometrics Research PO Box 2000, RY33-300
Merck Research Labs Rahway, NJ 07065
mailto:andy_liaw@merck.com
2002 Jun 05
2
par(new=T) with xyplot
I know I should not mix base plotting functions with grid/lattice functions,
but I have used a "quick-and-dirty" trick of par(new=T) in the past for
annotating a trellis-drawn graph in various versions of S-PLUS. The
sequence goes something like this:
> windows(width = 5, height = 5, pointsize = 10) # open up the device
> xyplot(y ~ x)
> par(new=T)
> xyplot(y2 ~ x)
>
2004 Oct 20
7
Q about strsplit and regexp
Dear R-help,
This one is probably a piece of cake for regexp masters. I'd like to split
a character vector (for simplicity, say of length one for now) that contains
fields that are delimited by arbitrary number of white spaces (e.g., " a b
c "). How do I get the character vector that contain the fields? In the
example I gave, I've tried:
> strsplit(" a b c
2003 Apr 23
2
changing dir. to network drive crash Rgui on NT4 ( PR#282 8)
This is interesting: The crash does not happen if I run
Rgui in MDI mode. The crash seemed to only occur in SDI.
Andy
===========================================================
For the record:
Under Rgui, using the menu "File / Channge dir..." to change
to a network drive crashes rgui. The crash happens if I
browse to a folder on a mapped drive. I.e., if I type in
2004 Apr 15
7
all(logical(0)) and any(logical(0))
Dear R-help,
I was bitten by the behavior of all() when given logical(0): It is TRUE!
(And any(logical(0)) is FALSE.) Wouldn't it be better to return logical(0)
in both cases?
The problem surfaced because some un-named individual called randomForest(x,
y, xtest, ytest,...), and gave y as a two-level factor, but ytest as just
numeric vector. I thought I check for that in my code by testing
2003 Feb 05
4
barplot default colors
Dear R-help,
Can some one explain why barplot() uses changing colors in the bars by
default? I should think that most of the time when people draw barplots,
they want the bars to be in the same color. (At least that's what I'd
expect. The first time I used barplot() in R, I was shocked to see the
colors.) As an example, one example in ?layout draws a scatterplot with
histograms drawn
2003 Feb 05
4
barplot default colors
Dear R-help,
Can some one explain why barplot() uses changing colors in the bars by
default? I should think that most of the time when people draw barplots,
they want the bars to be in the same color. (At least that's what I'd
expect. The first time I used barplot() in R, I was shocked to see the
colors.) As an example, one example in ?layout draws a scatterplot with
histograms drawn
2006 Mar 09
1
R2.2.1-patched build failed with PGI 6.1 on x86-64
Hi All,
While attempting to build R-patched using the Portland Group compiler suite
on our dual Opteron 250 box running Scyld 29cz5 (based on RH, kernel
2.4.29), I get:
make[5]: Leaving directory
`/home/andy/Rbuild/R221-pgi/src/library/tools/src'
make[5]: Entering directory
`/home/andy/Rbuild/R221-pgi/src/library/tools/src'
pgcc -I../../../../include -I/include -I/include/CC -fpic
2003 Apr 23
1
changing dir to network drive in Rgui caused crash (1.7.0)
Dear R-help,
Has anyone experienced similar problem? On WinNT4(sp6), running Rgui from
1.7.0, when try to change directory to some network drive using the "File /
Change dir..." menu, Rgui gets a visit by Dr. Watson. If I first change dir
to a local drive, then again to a network drive, it works fine. It also
works fine with setwd() from the command prompt.
Best,
Andy
Andy I. Liaw,
2002 Jun 13
3
[R] help debugging segfaults
Hi all,
Thanks to Prof. Ripley, Prof. Gentleman, and Simon Wood (did I miss
anyone?). The problem seemed to have gone away.
Everyone suggested using some malloc debugger (such as Electric Fence). All
I did was following half of what BDR suggested below, i.e., changing all the
S_alloc() calls to Calloc() and Free(). I didn't get to try efence, and the
problem seems to have disappeared!
As
2003 Jan 29
2
browser() misbehavior ?
Under v1.6.2, Windows NT4 OS, when a function contains an execution error
and I have placed browser() in inside the function body, the call to browser
is ignored. A brief example to illustrate:
> foo <- function(x) {
+ y <- x ^ 2
+ browser()
+ foo2(x) ## Intentional error
+ x ^ 3
+ }
>
> foo(30)
Called from: foo(30)
Browse[1]>
Error in foo(30) : couldn't find
2002 Aug 19
4
question about Rpvm, SNOW, etc.
Dear R-devel,
Inspired by Michael Li's talk at JSM, I decided to try rpvm and snow on our
two linux boxes. It only took me a couple of hours of screwing around to
get it working (sooner if I had RTFM).
Our setup is: 2 dual PIII-866 Xeons, one with 2GB RDRAM, the other with
1.28GB RDRAM. The first machine is acting as the NIS/NFS server. both /usr
and /home are exported to the second
2002 Sep 06
1
printing from windows() device when running R under ESS
Sorry for the cross-post: not sure whether it's Rterm or ESS (or something
else?)...
I'm running R (1.5.0 patched 2002-05-09, compiled from source on WinNT4)
under ESS 5.1.21 with XEmacs 21.4.6. When I plotted a graph on the
windows() device, and then use the menu in the R graphics window to print
the graph, the printer selection dialog box does not show up until I go to
the *R* buffer