[Rd] Trap to debugger while running R in Windows

2003-11-26 Thread Duncan Murdoch
When debugging C or Fortran code in R, it's helpful to run R under a debugger. I use Insight, which is a wrapper for gdb. One problem is that in Windows hitting break doesn't cause a trap to gdb, so it can be hard to stop the process. I've added a menu item to the r-devel version of Rgui (Misc|B

[Rd] R CMD CHECK doesn't allow --configure-args (PR#5344)

2003-11-26 Thread bellis
Full_Name: Byron Ellis Version: R-devel OS: Mac OS X Submission from: (NULL) (24.10.67.29) Unline R CMD INSTALL, R CMD CHECK does not allow --configure-args to be passed. This is unfortunate as R CMD CHECK attempts to build the package, running any configure scripts that may be around thus failin

Re: [Rd] Question about Unix file paths

2003-11-26 Thread Duncan Murdoch
On Wed, 26 Nov 2003 16:09:34 +0100 (CET), you wrote: ># aldus John W. Eaton : > >> It seems to me that using this approach to implement a proper glob() >> function would be more work than using the glob code that is available >> as part of bash, which I think will allow you to handle much more >>

RE: [Rd] Power (^) 10x slower in R since version 1.7.1... What next? [Windows platform]

2003-11-26 Thread Prof Brian D Ripley
You might like to test the enclosed. Drop the file into .../src/gnuwin32 and edit the following line in Makefile there OBJS = $(SOURCES:.c=.o) e_pow.o Then re-make. This uses an existing solution, that from glibc (which MinGW will not want to use for licence reaso

[Rd] RE: 64-bit R on Opteron [was Re: [R] Windows R 1.8.0 hangs when M em Usage >1.8GB]

2003-11-26 Thread Liaw, Andy
> From: Douglas Bates > > How does the Opteron perform on floating point? Can you try something > like > > > mm = matrix(rnorm(1e6), nc = 1e3) > > system.time(crossprod(mm)) > [1] 0.51 0.02 0.53 0.00 0.00 > > system.time(crossprod(mm)) > [1] 0.37 0.03 0.40 0.00 0.00 > > system.time(crossprod(mm))

Re: [Rd] Question about Unix file paths

2003-11-26 Thread Gabor Grothendieck
> > > --- > Date: Wed, 26 Nov 2003 16:52:09 + (GMT) > From: Prof Brian Ripley <[EMAIL PROTECTED]> > To: John W. Eaton <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]>,Martin Maechler <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> > Subject: Re: [Rd] Question about Unix file paths > > > > On

Re: [Rd] R-1.8.0 package directory permissions?

2003-11-26 Thread Kurt Hornik
> Pingping Zheng writes: > Hello, > I maintain a self-made R package under my own home directory > "~/.R/library" on our university computer net (SunOS 5.8 system). > After updating R to 1.8.0, I found other people cannot access my > package any more. They got this error message: > Error in

Re: [Rd] wishlist item: symbols() to accept asp argument? (PR#5328)

2003-11-26 Thread Prof Brian Ripley
A variant on the theme: symbols(x=2, y=6, circles=1, inches=F) does not show a full circle, so you seem to be assuming incorrectly that symbols() is including the symbols when calculating the plot region. On the other hand symbols(x=6, y=6, circles=2, inches=F, xlim=c(1,10), ylim=c(4,10), asp=1

Re: [Rd] wishlist item: symbols() to accept asp argument? (PR#5328)

2003-11-26 Thread Prof Brian Ripley
It's rather your peculiar example. If you give more than one circle, asp=1 is accepted and does work (with warnings). Symbols is not designed for one symbol (as its name says), and the way it sets up xlim and ylim in the R code asp=1 does not work for a single symbol. In the same way plot(10, as

Re: [Rd] Question about Unix file paths

2003-11-26 Thread Prof Brian Ripley
On Wed, 26 Nov 2003, John W. Eaton wrote: > On 26-Nov-2003, Martin Maechler <[EMAIL PROTECTED]> wrote: > > | > " Kurt" == Kurt Hornik <[EMAIL PROTECTED]> > | > on Wed, 26 Nov 2003 10:05:42 +0100 writes: > | > | Kurt> Right. In any case, an explicit glob() function > | Kurt

Re: [Rd] Question about Unix file paths

2003-11-26 Thread Duncan Murdoch
On Wed, 26 Nov 2003 10:05:42 +0100, Kurt Hornik <[EMAIL PROTECTED]> wrote : >> Prof Brian Ripley writes: > >> On Mon, 24 Nov 2003, Duncan Murdoch wrote: >>> >Duncan Murdoch <[EMAIL PROTECTED]> writes: >>> Gabor also suggested an option to use shell globbing instead of >>> regular expressions

Re: [Rd] Question about Unix file paths

2003-11-26 Thread Peter Kleiweg
# aldus John W. Eaton : > It seems to me that using this approach to implement a proper glob() > function would be more work than using the glob code that is available > as part of bash, which I think will allow you to handle much more > complex patterns, including [xyz] {a,b,c} etc. Unix people

Re: [Rd] Question about Unix file paths (and proposal for new regexp class)

2003-11-26 Thread Gabor Grothendieck
> Date: Wed, 26 Nov 2003 13:52:44 +0100 > From: Martin Maechler <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Subject: Re: [Rd] Question about Unix file paths > > > > > " Kurt" == Kurt Hornik <[EMAIL PROTECTED]> > > on Wed, 26 Nov 2003 10:05:42 +0100 wr

Re: [Rd] Question about Unix file paths

2003-11-26 Thread John W. Eaton
On 26-Nov-2003, Martin Maechler <[EMAIL PROTECTED]> wrote: | > " Kurt" == Kurt Hornik <[EMAIL PROTECTED]> | > on Wed, 26 Nov 2003 10:05:42 +0100 writes: | | Kurt> Right. In any case, an explicit glob() function | Kurt> seems preferable to me ... | | Good idea! | | More th

Re: [Rd] Question about Unix file paths

2003-11-26 Thread Gabor Grothendieck
> Date: Wed, 26 Nov 2003 10:05:42 +0100 > From: Kurt Hornik <[EMAIL PROTECTED]> > To: Prof Brian Ripley <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]>,Duncan Murdoch <[EMAIL PROTECTED]> > Subject: Re: [Rd] Question about Unix file paths > > > > > Prof Brian Ripley writes: > > > On Mon

Re: [Rd] Question about Unix file paths

2003-11-26 Thread Martin Maechler
> " Kurt" == Kurt Hornik <[EMAIL PROTECTED]> > on Wed, 26 Nov 2003 10:05:42 +0100 writes: > Prof Brian Ripley writes: >> On Mon, 24 Nov 2003, Duncan Murdoch wrote: >>> >Duncan Murdoch <[EMAIL PROTECTED]> writes: >>> > >>> >> Gabor Grothendieck pointed out a bug to m

[Rd] wishlist item: symbols() to accept asp argument? (PR#5328)

2003-11-26 Thread stephen
Here is a potential wishlist item for adding an argument (asp) to symbols(). The following code produces a postscript file with two pages; both should show a circle of radius 2 units. Horizonal and vertical arrows are drawn to check that the circle is of the correct radius; in the first plot, the

Re: [Rd] Question about Unix file paths

2003-11-26 Thread Kurt Hornik
> Prof Brian Ripley writes: > On Mon, 24 Nov 2003, Duncan Murdoch wrote: >> >Duncan Murdoch <[EMAIL PROTECTED]> writes: >> > >> >> Gabor Grothendieck pointed out a bug to me in list.files(..., >> >> full.name=TRUE), that essentially comes down to the fact that in >> >> Windows it's not always