Re: [Rd] Unexpected source() behavior in R-devel

2006-09-03 Thread Henrik Bengtsson
On 9/4/06, Sean Davis <[EMAIL PROTECTED]> wrote: > Seth Falcon wrote: > > Peter Dalgaard <[EMAIL PROTECTED]> writes: > > > > > >> "Henrik Bengtsson" <[EMAIL PROTECTED]> writes: > >> > >> > >>> This has been reported before on r-devel, e.g. May 9, 2006 "[Rd] Seg > >>> fault when installing package f

Re: [Rd] Unexpected source() behavior in R-devel

2006-09-03 Thread Sean Davis
Seth Falcon wrote: > Peter Dalgaard <[EMAIL PROTECTED]> writes: > > >> "Henrik Bengtsson" <[EMAIL PROTECTED]> writes: >> >> >>> This has been reported before on r-devel, e.g. May 9, 2006 "[Rd] Seg >>> fault when installing package from bad repository". >>> >>> It's happening on Mac OSX when

Re: [Rd] Unexpected source() behavior in R-devel

2006-09-03 Thread Seth Falcon
Peter Dalgaard <[EMAIL PROTECTED]> writes: > "Henrik Bengtsson" <[EMAIL PROTECTED]> writes: > >> This has been reported before on r-devel, e.g. May 9, 2006 "[Rd] Seg >> fault when installing package from bad repository". >> >> It's happening on Mac OSX when trying to download non-existing >> webp

Re: [Rd] Unexpected source() behavior in R-devel

2006-09-03 Thread Sean Davis
Peter Dalgaard wrote: > Sean Davis <[EMAIL PROTECTED]> writes: > > >> Why am I seeing the following in R-devel (sept 2, 2006 build) on opensuse >> 10.1? I'm sure it is something simple I am missing, but I just don't see it >> (output below). >> >> Thanks, >> Sean >> >> >> >>> readLines

Re: [Rd] Unexpected source() behavior in R-devel

2006-09-03 Thread Peter Dalgaard
"Henrik Bengtsson" <[EMAIL PROTECTED]> writes: > This has been reported before on r-devel, e.g. May 9, 2006 "[Rd] Seg > fault when installing package from bad repository". > > It's happening on Mac OSX when trying to download non-existing > webpages (HTTP status 404). That's all I know (not using

Re: [Rd] Unexpected source() behavior in R-devel

2006-09-03 Thread Henrik Bengtsson
This has been reported before on r-devel, e.g. May 9, 2006 "[Rd] Seg fault when installing package from bad repository". It's happening on Mac OSX when trying to download non-existing webpages (HTTP status 404). That's all I know (not using OSX myself). /Henrik On 03 Sep 2006 23:06:01 +0200, Pet

Re: [Rd] Unexpected source() behavior in R-devel

2006-09-03 Thread Peter Dalgaard
Sean Davis <[EMAIL PROTECTED]> writes: > Why am I seeing the following in R-devel (sept 2, 2006 build) on opensuse > 10.1? I'm sure it is something simple I am missing, but I just don't see it > (output below). > > Thanks, > Sean > > > > readLines(url("http://www.bioconductor.org/biocLite.

[Rd] Unexpected source() behavior in R-devel

2006-09-03 Thread Sean Davis
Why am I seeing the following in R-devel (sept 2, 2006 build) on opensuse 10.1? I'm sure it is something simple I am missing, but I just don't see it (output below). Thanks, Sean > readLines(url("http://www.bioconductor.org/biocLite.R";)) [1] "source(\"http://bioconductor.org/getBioC.R\";)"

Re: [Rd] lm, weights and ...

2006-09-03 Thread Gabor Grothendieck
If you change it to: lm3 <- function(...) eval.parent(substitute(lm(...))) then it works. > lm3(mpg ~ wt, weights=cyl, data=mtcars) Call: lm(formula = mpg ~ wt, data = mtcars, weights = cyl) Coefficients: (Intercept) wt 35.50-4.91 On 9/3/06, hadley wickham <[EMAIL PRO

Re: [Rd] Internal flag for S4 objects

2006-09-03 Thread Uwe Ligges
John Chambers wrote: > A recent revision (svn version 39077) has introduced an internal flag (a > bit in the C structure) that is turned on by the code that generates > objects from an S4 class. > > There are corresponding tests for an S4 object, isS4() in R and > IS_S4_OBJECT() in C. These

Re: [Rd] lm, weights and ...

2006-09-03 Thread Peter Dalgaard
"hadley wickham" <[EMAIL PROTECTED]> writes: > > lm2 <- function(...) lm(...) > > lm2(mpg ~ wt, data=mtcars) > > Call: > lm(formula = ..1, data = ..2) > > Coefficients: > (Intercept) wt > 37.285 -5.344 > > > lm2(mpg ~ wt, weights=cyl, data=mtcars) > Error in eval(expr, envi

[Rd] Internal flag for S4 objects

2006-09-03 Thread John Chambers
A recent revision (svn version 39077) has introduced an internal flag (a bit in the C structure) that is turned on by the code that generates objects from an S4 class. There are corresponding tests for an S4 object, isS4() in R and IS_S4_OBJECT() in C. These are fast and reliable, and should r

[Rd] lm, weights and ...

2006-09-03 Thread hadley wickham
> lm2 <- function(...) lm(...) > lm2(mpg ~ wt, data=mtcars) Call: lm(formula = ..1, data = ..2) Coefficients: (Intercept) wt 37.285 -5.344 > lm2(mpg ~ wt, weights=cyl, data=mtcars) Error in eval(expr, envir, enclos) : ..2 used in an incorrect context, no ... to look in Can

Re: [Rd] S4 changes - sp fails

2006-09-03 Thread Roger Bivand
On Fri, 1 Sep 2006, John Chambers wrote: > General comments. A number of packages will likely be showing weird > warnings on attach() about packages being out of date. Likely caused by > a confusion when two packages define the same generic. The bug is being > worked on, but there are some i