[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
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
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
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 "
[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 "." ..).
> "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,..
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
> 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
> 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,
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
>
__
10 matches
Mail list logo