RE: [Rd] getAnywhere and functions starting with "." (PR#7684)

2005-02-11 Thread Prof Brian Ripley
Were you unaware that the NEWS file is browsable at https://svn.r-project.org/R/trunk/NEWS ? On Sat, 12 Feb 2005 [EMAIL PROTECTED] wrote: [MVB] 'getAnywhere' crashes when its argument starts with a period: [UL] Has already been fixed, as you can easily see, e.g., from R-devels NEWS file, s

RE: [Rd] Notes on bug reports 3229 and 3242 - as.matrix.data.fram e

2005-02-11 Thread Gorjanc Gregor
I agree. Sorry for bothering. With regards, Gregor -Original Message- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Sent: pet 2005-02-11 22:35 To: Gorjanc Gregor Cc: Liaw, Andy; r-devel@stat.math.ethz.ch Subject: RE: [Rd] Notes on bug reports 3229 and 3242 - as.matrix.data.fram e .

RE: [Rd] getAnywhere and functions starting with "." (PR#7684)

2005-02-11 Thread Mark.Bravington
>> [MVB] 'getAnywhere' crashes when its argument starts with a period: > [UL] Has already been fixed, as you can easily see, e.g., from R-devels NEWS file, section BUG FIXES: Good, thanks. It seems quite common for bugs to be reported after they have been fixed in R-devel. This is likely to occu

[Rd] Can't install add-on package using R-2.0.1-0.fdr.2.fc3.i386.rpm (PR#7688)

2005-02-11 Thread mengcheng81
Full_Name: mengcheng Version: R-2.0.1-0.fdr.2.fc3.i386.rpm OS: Submission from: (NULL) (216.204.103.5) Somehow R-2.0.1-0.fdr.2.fc3.i386.rpm didn't install R properly. I install R on my fedora 3 using my R-2.0.1-0.fdr.2.fc3.i386.rpm. But when I try to install add-on packages, it fails and show t

Re: [Rd] Re: [R-SIG-Mac] Bug running pbinom() in R-GUI?

2005-02-11 Thread Simon Urbanek
Brian, On Feb 11, 2005, at 4:14 PM, Prof Brian Ripley wrote: The problem rather is that if R_CheckUserInterrupt is so expensive, we need to redesign it, for it should not be I agree, that's why I named it a 'quick fix'. Unfortunately a more 'proper' fix is far from trivial. Talking of handling i

RE: [Rd] Notes on bug reports 3229 and 3242 - as.matrix.data.fram e

2005-02-11 Thread Prof Brian Ripley
On Fri, 11 Feb 2005, Gorjanc Gregor wrote: From: Liaw, Andy [mailto:[EMAIL PROTECTED] From: Gorjanc Gregor ! Yes, I was not able to do it from my data. But bellow is one. It is ! a stupid one, but it works. The problem is use of as.data.frame in ! tmp1$L <- as.data.frame(tmp$L). This looks like to

Re: [Rd] Re: [R-SIG-Mac] Bug running pbinom() in R-GUI?

2005-02-11 Thread Prof Brian Ripley
The problem rather is that if R_CheckUserInterrupt is so expensive, we need to redesign it, for it should not be (and is not on other platforms as the comments below show). See the comment in src/main/errors.c. One idea might be for the GUI to set a flag that R_CheckUserInterrupt consults (whi

Re: [Rd] double/integer (PR#7687)

2005-02-11 Thread Thomas Lumley
On Fri, 11 Feb 2005 [EMAIL PROTECTED] wrote: Full_Name: Chris Spencer Version: 2.0.1 OS: Linux Submission from: (NULL) (163.1.211.93) Dear R team, I realise that the following is a bit unsafe (the combination of doubles and integers), however I wondered whether the following behaviour is expected:

RE: [Rd] Notes on bug reports 3229 and 3242 - as.matrix.data.fram e

2005-02-11 Thread Gorjanc Gregor
From: Liaw, Andy [mailto:[EMAIL PROTECTED] > From: Gorjanc Gregor > ! Yes, I was not able to do it from my data. But bellow is one. It is > ! a stupid one, but it works. The problem is use of as.data.frame in > ! tmp1$L <- as.data.frame(tmp$L). This looks like to produce > a corrupted > ! data.f

Re: [Rd] Pipe / Fork: Partial Solution / Providing Connections from C?

2005-02-11 Thread Jan T. Kim
On Fri, Feb 11, 2005 at 02:32:20PM +0100, Peter Dalgaard wrote: > "Jan T. Kim" <[EMAIL PROTECTED]> writes: > > > > Well, that is probably reasonably easy, but (not the least due to that > > > fact) I'm still surprised that it has not been done already. I can hardly > > > imagine that I'm the first

[Rd] Re: [R-SIG-Mac] Bug running pbinom() in R-GUI?

2005-02-11 Thread Simon Urbanek
On Feb 10, 2005, at 7:38 PM, George W. Gilchrist wrote: Today I was running a graduate level stats lab using R and we encountered a major problem while using the current build of the Cocoa GUI: From the GUI: system.time(pbinom(80, 1e5, 806/1e6)) [1] 14.37 4.94 30.29 0.00 0.00 From the comman

[Rd] double/integer (PR#7687)

2005-02-11 Thread spencer
Full_Name: Chris Spencer Version: 2.0.1 OS: Linux Submission from: (NULL) (163.1.211.93) Dear R team, I realise that the following is a bit unsafe (the combination of doubles and integers), however I wondered whether the following behaviour is expected: > #Test R > test <- vector(length=10

[Rd] formatC with illegal input crashes Rgui (PR#7686)

2005-02-11 Thread ehlers
Full_Name: Peter Ehlers Version: rw2001pat (2005-02-03) OS: Win XP Submission from: (NULL) (136.159.61.115) formatC(1, flag="s") crashes Rgui. Similarly for flag=[SnZ]. Stupid input, of course, but I'm error-prone. Peter __ R-devel@stat.math.ethz.ch m

RE: [Rd] Notes on bug reports 3229 and 3242 - as.matrix.data.fram e

2005-02-11 Thread Liaw, Andy
> From: Gorjanc Gregor > > ! Look after character ! > > From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] > You too have not give an reproducible example! > ! Yes, I was not able to do it from my data. But bellow is one. It is > ! a stupid one, but it works. The problem is use of as.data.frame in

RE: [Rd] Notes on bug reports 3229 and 3242 - as.matrix.data.frame

2005-02-11 Thread Gorjanc Gregor
! Look after character ! From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] You too have not give an reproducible example! ! Yes, I was not able to do it from my data. But bellow is one. It is ! a stupid one, but it works. The problem is use of as.data.frame in ! tmp1$L <- as.data.frame(tmp$L). Th

Re: [Rd] Notes on bug reports 3229 and 3242 - as.matrix.data.frame

2005-02-11 Thread Prof Brian Ripley
You too have not give an reproducible example! If you have a corrupt data frame, the function may fail, which is what happened in the PR# you quote. Please note: you should not be calling as.matrix.data.frame, but as.matrix. On Fri, 11 Feb 2005, Gorjanc Gregor wrote: Hello R developers. I encount

[Rd] Notes on bug reports 3229 and 3242 - as.matrix.data.frame

2005-02-11 Thread Gorjanc Gregor
Hello R developers. I encountered the same problem as Uwe Ligges with as.matrix.data.frame() in bug reports 3229 and 3242 - under section not-reproducible. Example I have is: > tmp level 2100-D 1 biological_process unknown NA 2 cellular pro

Re: [Rd] Pipe / Fork: Partial Solution / Providing Connections from C?

2005-02-11 Thread Peter Dalgaard
"Jan T. Kim" <[EMAIL PROTECTED]> writes: > > Well, that is probably reasonably easy, but (not the least due to that > > fact) I'm still surprised that it has not been done already. I can hardly > > imagine that I'm the first one to want to use some external utility from > > an R program in this wa

[Rd] Pipe / Fork: Partial Solution / Providing Connections from C?

2005-02-11 Thread Jan T. Kim
Dear All, On Tue, Feb 01, 2005 at 07:50:17PM +, Jan T. Kim wrote: > On Tue, Feb 01, 2005 at 01:44:37PM +, Prof Brian Ripley wrote: > > If we only had to consider standard Unices, pipe() would allow read-write > > modes. As it is, it is easy for you to write an OS-specific extension. I'

Re: [Rd] R-patched Make Check Fails on reg-tests-1.R on linux and OS X

2005-02-11 Thread Prof Brian Ripley
Stefano Iacus has been able to reproduce this on MacOS X (it was a segfault in a later example), and we have just now committed a workaround. I think it probably was an OS-specific quirk in vsnprintf. On Tue, 8 Feb 2005, Prof Brian Ripley wrote: Since no one else has this problem, I suggest you c

Re: [Rd] Canonical S4 Method signature

2005-02-11 Thread Matthias Kohl
Paul Roebuck schrieb: I have trouble finding applicable examples of S4 methods. Could someone tell me the canonical method for a function that takes either one or two arguments corresponding to dimensions? So if vector output desired, only one argument 'n' would be provided. For matrix, two would b

Re: [Rd] getAnywhere and functions starting with "." (PR#7684)

2005-02-11 Thread ligges
[EMAIL PROTECTED] wrote: > Full_Name: Mark Bravington > Version: 2.0.1 > OS: Windows XP > Submission from: (NULL) (140.79.22.104) > > > 'getAnywhere' crashes when its argument starts with a period: > > >>getAnywhere( '.onLoad') > > Error in exists(x, envir, mode, inherits) : > invali

Re: [Rd] getAnywhere and functions starting with "." (PR#7684)

2005-02-11 Thread Prof Brian Ripley
This was mentioned a week or so ago on R-devel and is already fixed in the current sources: from the NEWS file o getAnywhere() was confused by names with leading or trailing dots (spotted by Robert McGehee) On Fri, 11 Feb 2005 [EMAIL PROTECTED] wrote: Full_Name: Mark Bravington Vers