[Rd] RE: [R] Strange (non-deterministic) problem with strsplit

2004-07-16 Thread Henrik Bengtsson
[Moving this thread to R-devel instead] I suspect your "random" results are due to a bug in gsub(). On my R v1.9.0 (Rterm and Rgui) R crashes when I do % R --vanilla > gsub(" ", "", "abb + c | a*b", perl=TRUE) Trying > gsub(" ", "", "b c + d | a * b", perl=TRUE) and I'll get NULL. With > gs

[Rd] Replying to bug reports

2004-07-16 Thread Roger D. Peng
I have a naive question here, but only because I've managed to screw this up twice in the last week. What is the correct way to reply to a bug report? Should r-bugs be in the To: or Cc: fields? I originally thought that hitting "Reply" and stripping of the r-devel email address was sufficient

Re: [Rd] getWindowsHandle()

2004-07-16 Thread Peng Liu
On Thu, 15 Jul 2004, Duncan Murdoch wrote: > You'll need to read Windows documentation. > Currently R has no way to get the list of MDI document windows. I > think the function you want is EnumChildWindows, but you might need to > use EnumWindows. I can't remember whether MDI documents are child

Re: [Rd] (PR#7100) and #7102: list.files fails with all.files = TRUE

2004-07-16 Thread dmurdoch
On Fri, 16 Jul 2004 19:23:21 +0200 (CEST), [EMAIL PROTECTED] wrote : >[EMAIL PROTECTED] wrote: > >> I get different behavior on Linux: >> >> system("mkdir newdir") >> dir("newdir", all.files = TRUE, recursive = TRUE) ## R hangs > >The point is that all.files=TRUE implies returning also "." and "

Re: [Rd] (PR#7100) and #7102: list.files fails with all.files = TRUE

2004-07-16 Thread ligges
[EMAIL PROTECTED] wrote: > I get different behavior on Linux: > > system("mkdir newdir") > dir("newdir", all.files = TRUE, recursive = TRUE) ## R hangs The point is that all.files=TRUE implies returning also "." and ".."! Hence the recursion uses to be infinite (from "." to "." to "." ..).

Re: [Rd] inconsistency in pchisq (PR#7099)

2004-07-16 Thread maechler
> "Richard" == Richard Mott <[EMAIL PROTECTED]> > on Fri, 16 Jul 2004 16:30:05 +0200 (CEST) writes: Richard> Full_Name: Richard Mott Version: 1.9.0 OS: Windows Richard> XP Submission from: (NULL) (81.178.233.208) Richard> Shouldn't these give the same answer? well, no,..

Re: [Rd] list.files fails with all.files = TRUE and recursive = TRUE (PR#7102)

2004-07-16 Thread rpeng
I get different behavior on Linux: system("mkdir newdir") dir("newdir", all.files = TRUE, recursive = TRUE) ## R hangs ## After hitting Ctrl-C There were 50 or more warnings (use warnings() to see the first 50) > dir("newdir", all.files = TRUE, recursive = TRUE) character(0) Warning message: lis

[Rd] tkStartGUI fails under RW1091 (PR#7101)

2004-07-16 Thread joehl
> library(tcltk) > tkStartGUI() Error in .C("RTcl_ActivateConsole", PACKAGE = "tcltk") : C function name not in DLL for package tcltk > version _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status

[Rd] list.files fails with all.files = TRUE and recursive = TRUE (PR#7100)

2004-07-16 Thread joehl
> list.files("c:/tmp", all.files = TRUE, recursive = TRUE) Error in list.files("c:/tmp", all.files = TRUE, recursive = TRUE) : directory/folder path name too long > version _ platform i386-pc-mingw32 arch i386 os mingw32 system i386,

[Rd] inconsistency in pchisq (PR#7099)

2004-07-16 Thread Richard . Mott
Full_Name: Richard Mott Version: 1.9.0 OS: Windows XP Submission from: (NULL) (81.178.233.208) Shouldn't these give the same answer? > pchisq(67.60644,df=1,lower.tail=F,ncp=0) [1] 3.219647e-15 > pchisq(67.60644,df=1,lower.tail=F) [1] 1.996145e-16 > __