Re: [Rd] closing View windows after multiple View(x) crashes

2008-07-29 Thread Ben Bolker
That works like a charm. Thanks! Ben Bolker Bill Dunlap wrote: On Tue, 29 Jul 2008, Ben Bolker wrote: > sessionInfo() R version 2.8.0 Under development (unstable) (2008-07-07 r46046) i686-pc-linux-gnu ... x = cbind(a=1:10,b=1:10) View(x) View(x) View(x) View(x) then try to close th

Re: [Rd] closing View windows after multiple View(x) crashes

2008-07-29 Thread Prof Brian Ripley
We have found elsewhere that the need to use XSync is very dependent on the window manager. What manager were you using? I'll add the call in any case. On Tue, 29 Jul 2008, Bill Dunlap wrote: On Tue, 29 Jul 2008, Ben Bolker wrote: That works like a charm. Thanks! Ben Bolker Good.

Re: [Rd] closing View windows after multiple View(x) crashes

2008-07-29 Thread Bill Dunlap
On Tue, 29 Jul 2008, Ben Bolker wrote: >That works like a charm. Thanks! > >Ben Bolker Good. Here is the patch I used. (I didn't send it earlier because my code still had a bunch of Rprintf calls in it to track the event loop activity. Index: src/modules/X11/dataentry.c ==

Re: [Rd] closing View windows after multiple View(x) crashes

2008-07-29 Thread Bill Dunlap
On Tue, 29 Jul 2008, Ben Bolker wrote: > > sessionInfo() > R version 2.8.0 Under development (unstable) (2008-07-07 r46046) > i686-pc-linux-gnu > ... > x = cbind(a=1:10,b=1:10) > > View(x) > View(x) > View(x) > View(x) > >then try to close the latest window by clicking on the "x" > (close-win

[Rd] sapply(Date, is.numeric)

2008-07-29 Thread McGehee, Robert
FYI, I've tried posting the below message twice to the bug tracking system, once by email (below), and the second time 5 days later directly to the bugs.r-project.org website. As far as I can tell, the bug tracking system hasn't picked this up. Also it looks like the latest "incoming" bug is dated

Re: [Rd] R crashes on new laptop

2008-07-29 Thread Logickle
Found a fix (hack actually, but hey), so I thought I'd pass it on. I was desperately googling for a solution to this, and on a game website found a report from someone experiencing OpenGL problems on a machine with the Intel 965 chipset. They figured out (God only knows how) that by downloading

[Rd] closing View windows after multiple View(x) crashes

2008-07-29 Thread Ben Bolker
> sessionInfo() R version 2.8.0 Under development (unstable) (2008-07-07 r46046) i686-pc-linux-gnu locale: LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=C;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=e

[Rd] R crashes on new laptop

2008-07-29 Thread Logickle
The problem is that R crashes with an exception "R for Windows GUI front-end has encountered a problem and needs to close..." It doesn't always crash, but almost always does. Thanks for any help (fixes, workarounds, or diagnostics) you can provide! Doug Specs: PC: HP 2710p Graphics HW: Mobile

Re: [Rd] axis() ignores supplied value of argument mgp[3]?

2008-07-29 Thread Prof Brian Ripley
What is true is that the line is set before the inline setting of mgp is processed: it all depends on what 'supplied' means, and you supplied two values. This is changed in R-patched now. On Sat, 19 Jul 2008, J. R. M. Hosking wrote: It seems that when an argument 'mgp' is supplied to axis(),

[Rd] 'R CMD check' and S4 methods

2008-07-29 Thread Yohan Chalabi
Dear all, I was looking for a function to analyze the code of a package and I went throught the function 'checkUsagePackage' of package:codetools which is used in 'R CMD check' script. As far as I understand it, 'checkUsagePackage' does not check the code usage of S4 methods because it loads all

Re: [Rd] memory leak in sub("[range]",...)

2008-07-29 Thread Prof Brian Ripley
As a belated follow-up (I was away at the time), note that in general we don't tamper with code we have ported from other projects as it makes future maintenance so much more difficult. At the very least, we need conspicuous comments to ensure that such changes do not get lost (I've just added