Re: [Rd] DBI + ROracle problem with parser ?? (PR#9424)

2006-12-21 Thread dhinds
[EMAIL PROTECTED] wrote: > doesn't: > dbGetQuery(conn, "\nselect * from dual") > dbGetQuery(conn, "select\n * from dual") > dbGetQuery(conn, "/* comment */ select * from dual") This sounds like my doing. What version of Oracle are you using? Oracle 9i has a bug that interferes with the docume

[Rd] apropos changes in r-devel: intended feature or bug?

2006-12-21 Thread Deepayan Sarkar
The old apropos started with: if (!is.character(what)) what <- as.character(substitute(what)) The new one has: if (character.only) stopifnot(is.character(what)) else what <- as.character(substitute(what)) i.e., the check for is.character(what) is missing. This has the

Re: [Rd] Problem installing MinGW 5.0.3: Your internet connection seems to be not permitted or dropped out!

2006-12-21 Thread Spencer Graves
Hi, Duncan, Marc: Thanks. MinGW 5.1.2 seemed to install OK. Best Wishes, Spencer Graves Duncan Murdoch wrote: > Their automatic installer is a bit flaky. You may need to install the > packages manually. And as Marc pointed out, 5.0.3 is no longer the > latest. I haven

[Rd] tiny typo in ?formals

2006-12-21 Thread Ben Bolker
in 2.4.1: under Value, "The replacment [sic] form sets the formals of a function ..." signature.asc Description: OpenPGP digital signature __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] variable scope in update(): bug or feature?

2006-12-21 Thread Michael
I stumbled upon this when using update() (specifically update.lm()). If in the original call to lm(), say a <- lm (y ~ x + z, data = mydata) where y and z are in data frame mydata but x is in the global environment. Then if later I run, a0 <- update (a, ~ . - z) a0$model will contain values

Re: [Rd] Problem installing MinGW 5.0.3: Your internet connection seems to be not permitted or dropped out!

2006-12-21 Thread Duncan Murdoch
Their automatic installer is a bit flaky. You may need to install the packages manually. And as Marc pointed out, 5.0.3 is no longer the latest. I haven't tried 5.1.2 yet, but I'll probably update soon. Duncan Murdoch On 12/21/2006 4:07 PM, Spencer Graves wrote: > Hi, All: > > I'm ha

Re: [Rd] Problem installing MinGW 5.0.3: Your internet connection seems to be not permitted or dropped out!

2006-12-21 Thread Marc Schwartz
On Thu, 2006-12-21 at 13:07 -0800, Spencer Graves wrote: > Hi, All: > > I'm having trouble installing MinGW 5.0.3, trying to follow Duncan > Murdoch's suggestions (http://www.murdoch-sutherland.com/Rtools/). I > download "MinGW-5.0.3.exe" as he suggested. After double-clicking on > it,

[Rd] Problem installing MinGW 5.0.3: Your internet connection seems to be not permitted or dropped out!

2006-12-21 Thread Spencer Graves
Hi, All: I'm having trouble installing MinGW 5.0.3, trying to follow Duncan Murdoch's suggestions (http://www.murdoch-sutherland.com/Rtools/). I download "MinGW-5.0.3.exe" as he suggested. After double-clicking on it, I get past "Welcome to MinGW" and select either "Download and insta

Re: [Rd] R windows crash (PR#9426)

2006-12-21 Thread Peter Dalgaard
Luke Tierney wrote: > On Thu, 21 Dec 2006, [EMAIL PROTECTED] wrote: > > >> Prof Brian Ripley wrote: >> >>> On Thu, 21 Dec 2006, Peter Dalgaard wrote: >>> >>> [...] >>> >>> >>> This seems reproducible on Linux, except that it goes into an infinite loop. The lm call seems to

Re: [Rd] R windows crash (PR#9426)

2006-12-21 Thread Luke Tierney
On Thu, 21 Dec 2006, [EMAIL PROTECTED] wrote: > Prof Brian Ripley wrote: >> On Thu, 21 Dec 2006, Peter Dalgaard wrote: >> >> [...] >> >> >>> This seems reproducible on Linux, except that it goes into an infinite >>> loop. The lm call seems to be the real culprit: >>> >>> testfun <- function(

Re: [Rd] jpeg() and png() in R-2.4.x (PR#9423)

2006-12-21 Thread Hin-Tak Leung
Hi Sophie, (It is not good to abuse the bug system to asking for help that way... as others no doubt has already written. R-help may be a more appropriate channel for your questions) One possibility is your "linux - mandriva 2007 - 64bits" assertion. I don't use Mandriva myself (my work machine i

Re: [Rd] R windows crash (PR#9426)

2006-12-21 Thread P . Dalgaard
Prof Brian Ripley wrote: > On Thu, 21 Dec 2006, Peter Dalgaard wrote: > > [...] > > >> This seems reproducible on Linux, except that it goes into an infinite >> loop. The lm call seems to be the real culprit: >> >> >>> testfun <- function(aa=aa) return(aa) >>> testfun() >>> >> Error

Re: [Rd] R windows crash (PR#9426)

2006-12-21 Thread Prof Brian Ripley
On Thu, 21 Dec 2006, Peter Dalgaard wrote: [...] > This seems reproducible on Linux, except that it goes into an infinite > loop. The lm call seems to be the real culprit: > > > testfun <- function(aa=aa) return(aa) > > testfun() > Error in testfun() : recursive default argument reference > > te

Re: [Rd] R windows crash (PR#9426)

2006-12-21 Thread Peter Dalgaard
[EMAIL PROTECTED] wrote: > Full_Name: Robert Denham > Version: R-2.4.1 > OS: Windows Xp > Submission from: (NULL) (61.88.57.1) > > > R gui exits without warning when I run a function which has an argument with a > default that is not found. > > This was a result of an error in a function I wrote,

Re: [Rd] Missing install libraries for R on OpenSuse 10.2 (PR#9425)

2006-12-21 Thread Detlef Steuer
On Wed, 20 Dec 2006 20:04:47 +0100 (CET) [EMAIL PROTECTED] wrote: > Full_Name: Matjaž Jeran > Version: R-base-2.4.1-2.1.i58 > OS: OpenSuse linux 10.2 > Submission from: (NULL) (85.10.21.55) > > > I have a FRESH installation of Opensuse linux 10.2 > I have downloaded R from http://cran.at.r-proje

Re: [Rd] R windows crash (PR#9426)

2006-12-21 Thread ripley
The problem is rather that 'aa' *is* found: default arguments are looked for within the body of the function, and so the calculation of 'aa' is recursive. Consider the simpler case > testfun <- function(aa=aa) {aa <- c(aa); aa} > testfun() Error in testfun() : recursive default argument referen