> "AndyL" == Liaw, Andy <[EMAIL PROTECTED]>
> on Tue, 4 Oct 2005 13:51:11 -0400 writes:
AndyL> The `problem' is that sort() does not doing anything special when
given
AndyL> a matrix: it only treat it as a vector. After sorting, it copies
AndyL> attributes of the original
Full_Name: Hallgeir Grinde
Version: 2.1.1
OS: Windows XP
Submission from: (NULL) (144.127.1.1)
While using lm(y~(x*z*c*...*v)^2) R crashes/closes if the numbers of variables
are at least 8.
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mai
Have you considered that 8 variables will give you
sum(choose(8,1:8))
[1] 255
terms.
That's a suspicious number. Have you checked whether there is a limit in
the code?
-
Full_Name: Hallgeir Grinde
Version: 2.1.1
OS: Windows XP
Submission from: (NULL) (144.127.1.1)
While
Oops, sorry. I didn't notice the ^2...
Nevermind.
Have you considered that 8 variables will give you
sum(choose(8,1:8))
[1] 255
terms.
That's a suspicious number. Have you checked whether there is a limit in
the code?
-
Full_Name: Hallgeir Grinde
Versio
On Wed, 5 Oct 2005 [EMAIL PROTECTED] wrote:
> Full_Name: Hallgeir Grinde
> Version: 2.1.1
> OS: Windows XP
> Submission from: (NULL) (144.127.1.1)
>
>
> While using lm(y~(x*z*c*...*v)^2) R crashes/closes if the numbers of variables
> are at least 8.
OK, let's try to reproduce that:
> x1 <- runif
"Ken Knoblauch" <[EMAIL PROTECTED]> writes:
> Oops, sorry. I didn't notice the ^2...
> Nevermind.
You could still have a point, but with 255^2 terms (all but 255 of
which will be redundant since x^2 == x:x == x in modeling language).
Presumably someone thought that noone in their right mind woul
> I am a grad student and am working on a project where i need to integrate
> java and R. I have a front end in java and i need to call R functions and
> be able to dispaly the plots and graphs produced by R on my java front end.
> I came across some tools like SJava and rserve...but am not sure wh
Prof Brian Ripley wrote:
> OK, let's try to reproduce that:
>
>
>>x1 <- runif(1000)
...
>>y <- rnorm(1000)
>>fit <- lm(y~(x1*x2*x3*x4*x5*x6*x7*x8)^2)
>
>
> No crash, a quite reasonable fit.
Add one more:
> x9 <- runif(1000)
works with 8:
> fit <- lm(y~(x1*x2*x3*x4*x5*x6*x7*x8)^2)
Prof Brian Ripley wrote:
> OK, let's try to reproduce that:
>
>
>>x1 <- runif(1000)
...
>>y <- rnorm(1000)
>>fit <- lm(y~(x1*x2*x3*x4*x5*x6*x7*x8)^2)
>
>
> No crash, a quite reasonable fit.
Add one more:
> x9 <- runif(1000)
works with 8:
> fit <- lm(y~(x1*x2*x3*x4*x5*x6*x7*x8)^2)
Prof Brian Ripley wrote:
> On Wed, 5 Oct 2005 [EMAIL PROTECTED] wrote:
>
>
>>Full_Name: Hallgeir Grinde
>>Version: 2.1.1
>>OS: Windows XP
>>Submission from: (NULL) (144.127.1.1)
>>
>>
>>While using lm(y~(x*z*c*...*v)^2) R crashes/closes if the numbers of variables
>>are at least 8.
>
>
> OK, l
> set.seed(123)
> x1 <- runif(1000)
> x2 <- runif(1000)
> x3 <- runif(1000)
> x4 <- runif(1000)
> x5 <- runif(1000)
> x6 <- runif(1000)
> x7 <- runif(1000)
> x8 <- runif(1000)
> y <- rnorm(1000)
> fit <- lm(y~(x1*x2*x3*x4*x5*x6*x7*x8)^2)
For me (with 9 variables) this crashes in model.matrix:
On Wed, 2005-10-05 at 14:12 +0200, [EMAIL PROTECTED]
wrote:
> Prof Brian Ripley wrote:
>
> > On Wed, 5 Oct 2005 [EMAIL PROTECTED] wrote:
> >
> >
> >>Full_Name: Hallgeir Grinde
> >>Version: 2.1.1
> >>OS: Windows XP
> >>Submission from: (NULL) (144.127.1.1)
> >>
> >>
> >>While using lm(y~(x*z*c*..
R closes down while running the code described below.
How i can get it to crash on your PC, i do not know...
-Hallgeir Grinde
>
> While using lm(y~(x*z*c*...*v)^2) R crashes/closes if the numbers of
variables
> are at least 8.
OK, let's try to reproduce that:
> x1 <- runif(1000)
> x2 <- runi
On Wed, 2005-10-05 at 14:08 +0200, Laurent Jourdren wrote:
> > I am a grad student and am working on a project where i need to integrate
> > java and R. I have a front end in java and i need to call R functions and
> > be able to dispaly the plots and graphs produced by R on my java front end.
> >
This is almost certainly C stack overflow, which will be _very_
OS-specific. I can run this 9-var example in Linux with a stacksize of
30Mb, but not the default 10Mb. I tried it with the default stack under
valgrind, and it works.
Windows versions of R have I believe a stack of 8Mb, and so I su
Dette er en melding med flere deler i MIME-format.
--=_alternative 004613C000257091_=
Content-Type: text/plain; charset="US-ASCII"
And some more informastion I forgot.
R does not crash if I write out the formula:
set.seed(123)
x1 <- runif(1000)
x2 <- runif(1000)
x3 <- runif(1000)
x4 <- runif(1000
Dear R-developers,
I am trying to reproduce the autoconf.ac example from R-ext and fail.
My autoconf file looks like this
[autoconf.ac]
# original by Friedrich Leisch, much changed by BDR
AC_INIT([SBMLodeSolveR])
dnl Select an optional include path, from a configure option
dnl or from an envir
On Wed, 5 Oct 2005 [EMAIL PROTECTED] wrote:
> And some more informastion I forgot.
> R does not crash if I write out the formula:
>
> set.seed(123)
> x1 <- runif(1000)
> x2 <- runif(1000)
> x3 <- runif(1000)
> x4 <- runif(1000)
> x5 <- runif(1000)
> x6 <- runif(1000)
> x7 <- runif(1000)
> x8 <- ru
[EMAIL PROTECTED] writes:
> Dette er en melding med flere deler i MIME-format.
> --=_alternative 004613C000257091_=
> Content-Type: text/plain; charset="US-ASCII"
>
> And some more informastion I forgot.
> R does not crash if I write out the formula:
>
> set.seed(123)
> x1 <- runif(1000)
> x2 <-
> From: Peter Dalgaard
>
> [EMAIL PROTECTED] writes:
>
> > Dette er en melding med flere deler i MIME-format.
> > --=_alternative 004613C000257091_=
> > Content-Type: text/plain; charset="US-ASCII"
> >
> > And some more informastion I forgot.
> > R does not crash if I write out the formula:
> >
Martin Maechler wrote:
> > "AndyL" == Liaw, Andy <[EMAIL PROTECTED]>
> > on Tue, 4 Oct 2005 13:51:11 -0400 writes:
>
> AndyL> The `problem' is that sort() does not doing anything special when
> given
> AndyL> a matrix: it only treat it as a vector. After sorting, it copies
>
The current R-exts.texi has
AC_INIT([RODBC], 1.1.4) dnl package name, version
and that is crucially different from your example. Autoconf 2.59 has a
barely documented back-compatibility mode than is invoked for AC_INIT with
just one argument.
since in has a pare
On Wed, 5 Oct 2005, nwew wro
Dette er en melding med flere deler i MIME-format.
--=_alternative 004C4E4A00257091_=
Content-Type: text/plain; charset="US-ASCII"
Yes.
so (x1*x2*x3*x4*x5*x6*x7*x8)^2 = (x1+x2+x3+x4+x5+x6+x7+x8)^8 ?
and there is a difference in
(x1*x2*x3*x4*x5*x6*x7*x8)^2
and
(x1*x2*x3*x4*x5*x6*x7*x8)
althoug the
On Wed, 5 Oct 2005 [EMAIL PROTECTED] wrote:
> Yes.
> so (x1*x2*x3*x4*x5*x6*x7*x8)^2 = (x1+x2+x3+x4+x5+x6+x7+x8)^8 ?
Yes in the sense that the simplified formula given by terms() is the same.
> and there is a difference in
> (x1*x2*x3*x4*x5*x6*x7*x8)^2
> and
> (x1*x2*x3*x4*x5*x6*x7*x8)
> althoug
The main problem is that R is inconsistent here. There are lots of
branches through the sort() code. Greg showed one. Here are four more
> sort(y, method="quick")
[,1] [,2]
A15
B26
C37
D48
> names(y) <- letters[1:8]
> sort(y)
h g f e d c b a
1 2 3 4 5 6 7 8
>
Hi,
Wed, 5 Oct 2005 13:38:12 +0100 (BST)
Prof Brian Ripley <[EMAIL PROTECTED]> wrote.
> This is almost certainly C stack overflow, which will be _very_
> OS-specific. I can run this 9-var example in Linux with a stacksize of
> 30Mb, but not the default 10Mb. I tried it with the default stack und
On Thu, 6 Oct 2005, Ei-ji Nakama wrote:
> Hi,
>
> Wed, 5 Oct 2005 13:38:12 +0100 (BST)
> Prof Brian Ripley <[EMAIL PROTECTED]> wrote.
>> This is almost certainly C stack overflow, which will be _very_
>> OS-specific. I can run this 9-var example in Linux with a stacksize of
>> 30Mb, but not the de
Sehr geehrte Frau/Herr, made
Suchen Sie eine Arbeit? your
Eine der besten Finanzgesellschaften in Osteuropa freut sich sehr
darauf,
Ihnen eine ausgezeichnete Arbeit vorzuschlagen, die wirklich ein gro?es
Einkommen erm?glicht!! Sie sollen nichts investieren oder keine Waren
kaufen, um bei uns zu
Dear R-devel,
I'm working on Prof. Loader's new version of locfit to try to get it
pass R CMD check. I'm almost there, but I have a problem with some Rd
files that I hope some one can help me resolve. Here's an example:
In the package there's a function called locfit.censor(). This function
ca
On Wed, 5 Oct 2005, Liaw, Andy wrote:
> Dear R-devel,
>
> I'm working on Prof. Loader's new version of locfit to try to get it
> pass R CMD check. I'm almost there, but I have a problem with some Rd
> files that I hope some one can help me resolve. Here's an example:
>
> In the package there's a
On Tue, 4 Oct 2005, Vasundhara Akkineni wrote:
> I am a grad student and am working on a project where i
> need to integrate java and R. I have a front end in java
> and i need to call R functions and be able to dispaly the
> plots and graphs produced by R on my java front end. I
> came across som
Laurent Jourdren wrote:
>>I am a grad student and am working on a project where i need to integrate
>>java and R. I have a front end in java and i need to call R functions and
>>be able to dispaly the plots and graphs produced by R on my java front end.
>>I came across some tools like SJava and rse
Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
> The current R-exts.texi has
> AC_INIT([RODBC], 1.1.4) dnl package name, version
> and that is crucially different from your example. Autoconf 2.59 has a
> barely documented back-compatibility mode than is invoked for AC_INIT with
> just one argume
Apologies for the coming to this late...
1. By now I hope Somkiat has realized that R-bugs is not the place to
report problems in contributed packages. Please direct such reports to
the package maintainer.
2. This is really user error. predict() expect the newdata to be a data
frame containing
34 matches
Mail list logo