Re: [Rd] NA warnings for r() {aka "patch for random.c"}

2008-03-10 Thread Berwin A Turlach
G'day Martin and others, On Mon, 10 Mar 2008 12:06:01 +0100 Martin Maechler <[EMAIL PROTECTED]> wrote: > > "BAT" == Berwin A Turlach <[EMAIL PROTECTED]> > > on Fri, 7 Mar 2008 23:54:06 +0800 writes: > > BAT> After all, > > >> 1:2 + Inf > BAT> [1] Inf Inf > > BAT> doe

Re: [Rd] Check errors using R2.6.2

2008-03-10 Thread Prof Brian Ripley
On Mon, 10 Mar 2008, Rossi, Peter E. wrote: > great. sorry to have bothered. > > btw, the MinGW windows .exe installer installs 3.4.5 not 4.2.1 so you > have What installer? *We* provide one with both in, and document it in the manual. > to download the untar the files one by one from sourcefo

Re: [Rd] Check errors using R2.6.2

2008-03-10 Thread Rossi, Peter E.
great. sorry to have bothered. btw, the MinGW windows .exe installer installs 3.4.5 not 4.2.1 so you have to download the untar the files one by one from sourceforge. moving to Leopard soon so, hopefully, this garbage will go away. p Peter E. Rossi Joseph T. a

Re: [Rd] Check errors using R2.6.2

2008-03-10 Thread Prof Brian Ripley
On Mon, 10 Mar 2008, Uwe Ligges wrote: > > > Rossi, Peter E. wrote: >> I can successfully "check" a package with source under 2.5.1, including >> compiling source files and running examples with no errors or warnings. >> >> when I try with R2.6.2, I get make errors: >> >> making bayesmc.d from bay

Re: [Rd] write.table with row.names=FALSE unnecessarily slow?

2008-03-10 Thread Martin Morgan
I neglected to include my test case, > df <- data.frame(x=1:(10^7)) Martin Martin Morgan <[EMAIL PROTECTED]> writes: > write.table with large data frames takes quite a long time > >> system.time({ > + write.table(df, '/tmp/dftest.txt', row.names=FALSE) > + }, gcFirst=TRUE) >user system

[Rd] write.table with row.names=FALSE unnecessarily slow?

2008-03-10 Thread Martin Morgan
write.table with large data frames takes quite a long time > system.time({ + write.table(df, '/tmp/dftest.txt', row.names=FALSE) + }, gcFirst=TRUE) user system elapsed 97.302 1.532 98.837 A reason is because dimnames is always called, causing 'anonymous' row names to be created as c

Re: [Rd] Check errors using R2.6.2

2008-03-10 Thread Uwe Ligges
Rossi, Peter E. wrote: > I can successfully "check" a package with source under 2.5.1, including > compiling source files and running examples with no errors or warnings. > > when I try with R2.6.2, I get make errors: > > making bayesmc.d from bayesmc.c > make[3]:gcc-sjlj: Command not found >

[Rd] Check errors using R2.6.2

2008-03-10 Thread Rossi, Peter E.
I can successfully "check" a package with source under 2.5.1, including compiling source files and running examples with no errors or warnings. when I try with R2.6.2, I get make errors: making bayesmc.d from bayesmc.c make[3]:gcc-sjlj: Command not found etc. my gcc is version 3.4.2 I'm using

[Rd] Bindings for updated widgets in Tk 8.5.x

2008-03-10 Thread Prof Brian Ripley
Tk 8.5.x is starting to trickle down to Linux distributions and the next release of R for Windows will ship with 8.5.1 (the binary builds of R-devel already do). According to http://www.tkdocs.com the new themed widget set has much to recommend it, and it certainly looks much better on MacOS an

Re: [Rd] [patch] add=TRUE in plot.default()

2008-03-10 Thread Duncan Murdoch
On 3/9/2008 5:58 PM, Andrew Clausen wrote: > On Sun, Mar 09, 2008 at 04:04:08PM -0400, Duncan Murdoch wrote: >> Part of the reason I didn't like your patch is that it was incomplete: >> it didn't patch the plot.default.Rd file. > > Fair enough -- I wasn't sure whether I was fixing a bug or not.

Re: [Rd] Re Bessel functions of complex argument

2008-03-10 Thread Robin Hankin
On 10 Mar 2008, at 11:03, Prof Brian Ripley wrote: > On Mon, 10 Mar 2008, Martin Maechler wrote: > >> {Diverted from an R-help thread} >> >>> "Robin" == Robin Hankin <[EMAIL PROTECTED]> >>>on Mon, 10 Mar 2008 08:49:06 + writes: >> >> Robin> Hello Baptiste Bessel functions with c

Re: [Rd] extract function "[" and empty index

2008-03-10 Thread SIES 73
Beware x[TRUE] returns the same as x[] only if x is NOT a zero-length vector (at least until R 2.5.1): > numeric(0)[] numeric(0) > numeric(0)[TRUE] [1] NA Enrique > -Original Message- > -- > > Message: 7 > Date: Mon, 10 Mar 2008 02:29:32 +0800 > From: "Lau

Re: [Rd] NA warnings for r() {aka "patch for random.c"}

2008-03-10 Thread Martin Maechler
> "BAT" == Berwin A Turlach <[EMAIL PROTECTED]> > on Fri, 7 Mar 2008 23:54:06 +0800 writes: BAT> G'day Martin (and "listeners"), On Fri, 7 Mar 2008 BAT> 15:01:26 +0100 Martin Maechler BAT> <[EMAIL PROTECTED]> wrote: BAT> [...] >> >> If you feel like finding another

Re: [Rd] Re Bessel functions of complex argument

2008-03-10 Thread Prof Brian Ripley
On Mon, 10 Mar 2008, Martin Maechler wrote: {Diverted from an R-help thread} "Robin" == Robin Hankin <[EMAIL PROTECTED]> on Mon, 10 Mar 2008 08:49:06 + writes: Robin> Hello Baptiste Bessel functions with complex Robin> arguments are not supported in R. Robin> Neither matlab

[Rd] Re Bessel functions of complex argument

2008-03-10 Thread Martin Maechler
{Diverted from an R-help thread} > "Robin" == Robin Hankin <[EMAIL PROTECTED]> > on Mon, 10 Mar 2008 08:49:06 + writes: Robin> Hello Baptiste Bessel functions with complex Robin> arguments are not supported in R. Robin> Neither matlab nor the Gnu Scientific Library su