Hi all,
I am trying to build a package in R (ver 2.1.0, on a
PC). I am able to run package.skeleton successfully
and populate the different environments.
However, when I attempt to invoke the build (R CMD
BUILD), i get an error which says something like
protect(): Stack Overflow
I would
manohar == manohar [EMAIL PROTECTED]
on Tue, 6 Dec 2005 06:39:27 -0800 (PST) writes:
manohar Hi all,
manohar I am trying to build a package in R (ver 2.1.0, on a
manohar PC).
which I interpret that you are running Windows, right?
manohar I am able to run package.skeleton
I don't think this is C stack overflow. His R is so old the message means
`protection stack overflow'.
The first action (as described in the posting guide) is indeed to update
R, though.
On Tue, 6 Dec 2005, Martin Maechler wrote:
manohar == manohar [EMAIL PROTECTED]
on Tue, 6 Dec 2005
Please note the message is about the protect stack, and not the `stack'.
The message you quote did not come from a current version of R (and you
have not told us what version you are using, as asked in the posting
guide).
On Mon, 17 Oct 2005 [EMAIL PROTECTED] wrote:
Hi,
I'm using step() for
Hi,
I'm using step() for forward regression with 680 main effects and the
correspomding 230860 interactions. However, the calculation is stopped with the
message:
Error: protect(): stack overflow
How can I specify the maximum size of the pointer protection stack when running
R not from command
Hi Andy,
It works perfectly. Thank you so much!!
Cheers,
Ji
Try something like this (suppose x is the matrix of predictors in the
training set, and xtest is the same for the test set):
my.rp - rpart(y ~ x, ...)
test.pred - predict(my.rp, newdata=data.frame(x=I(xtest)))
Make sure the
Dear R users,
I'm trying to use rpart() to build a classification tree on a big dataset.
The number of samples is n=100 and the number of variables is p=1.
At first I stored all the data in a data.frame and got a stack overflow
error; then I changed the data into a matrix and the problem
Try something like this (suppose x is the matrix of predictors in the
training set, and xtest is the same for the test set):
my.rp - rpart(y ~ x, ...)
test.pred - predict(my.rp, newdata=data.frame(x=I(xtest)))
Make sure the name of the variable in the data frame given to newdata
matches the name
That's not a sensible thing to do. Supply predict.rpart with a data frame
that contains just the variables rpart selected.
R does have limits, and attempting to use 10,000 variables is hitting
them, But surely any statistician is aware of the dangers of selecting
from 1 variables on just
Bill -
Here's what I would do, starting after your display of anovaresults[[1]].
temp.1 - unlist(lapply(anovaresults, function(x) { x[Pr(F)][1:3],] }))
temp.2 - matrix(temp.1, length(anovaresults), 3, byrow=T)
dimnames(temp.2) - list(names(anovaresults),
William Noble [EMAIL PROTECTED] writes:
Hello,
I am trying to do an ANOVA on a microarray data set consisting of
22690 elements. The ANOVA is fine, but when I try to put the data in
a frame in order to exporting it, I get a stack overflow. I have
found documentation on dynamic memory in
11 matches
Mail list logo