Re: [Rd] typos

2009-05-18 Thread Martin Maechler
> "LB" == Luca Braglia > on Sat, 16 May 2009 22:46:39 +0200 writes: LB> Hi few typos i've found Thank you, Luca, I've fixed all of them {and also moved your "juvenile" :-) bug report to "*-fulfilled"}. Regards, Martin Maechler, ETH Zurich LB> ?.C LB> Specifying 'ENCOD

Re: [Rd] Problem building (binary) packages for Windows

2009-05-18 Thread Peter Ruckdeschel
Dear Brian, Martin, and Uwe, thanks for your explanations; I have already replied to you in another mail; so I would only like to add some points here. On Sat, 16 May 2009, Martin Maechler wrote: > On Sat, 16 May 2009, Martin Maechler wrote: > >>> "UweL" == Uwe Ligges >>> on Fri, 15

Re: [Rd] was: Problem building (binary) packages for Windows

2009-05-18 Thread Peter Ruckdeschel
Dear Martin, Uwe and Brian thanks for your comments --- point taken: On Sat, 16 May 2009, Martin Maechler wrote: >> "UweL" == Uwe Ligges >> on Fri, 15 May 2009 20:48:03 +0200 writes: >> > > [.] > > >> Thank you for clarifying this and once again a

[Rd] S4 method dispatch and namespaces: why is default method selected

2009-05-18 Thread Michał Bojanowski
Hi, I ran into the following peculiarity involving S4 method dispatch and namespaces. I develop a package which have a namespace and which depends on 'pixmap' package, which itself does not have a namespace. Now, in my package I have a class which has a slot for objects from class "pixmap" and I

[Rd] tcrossprod() inconsistency ?!

2009-05-18 Thread Martin Maechler
The current behavior of tcrossprod() is not consistent with its documentation (*). crossprod() and tcrossprod() are documented on the same page (./base/library/man/crossprod.Rd ) which says {lines broken by me} : > Description: > Given matrices 'x' and 'y' as arguments, return a ma

[Rd] R 2.9.0 slower than R 2.8.1 for the data.frame function

2009-05-18 Thread Philippe Hupé
Dear developers, I have noticed difference in computation time for the data.frame function between R2.9.0 and R2.8.1. The older release is more efficient: typically, R2.9.0 spends three more time in the data.frame function. Therefore, when many calls of this kind is done inside a function, the ad

[Rd] readBin on binary non-blocking connections (Windows & Unix differences/bugs)

2009-05-18 Thread Jeff Ryan
R-devel: I am encountering a consistency issue using socketConnection and readBin with *non-blocking* connections on Unix and Windows XP (no Vista to test). I am a bit confused by the behavior of *non-blocking* connections under Windows specifically. When calling readBin on a non-blocking connec

Re: [Rd] readBin on binary non-blocking connections (Windows & Unix differences/bugs)

2009-05-18 Thread Gabor Grothendieck
Ryacas uses non-blocking sockets and works across all platforms but uses readLines/writeLines, rather than readBin, to communicate with yacas. You could look at its source code in case it brings anything to mind. On Mon, May 18, 2009 at 1:40 PM, Jeff Ryan wrote: > R-devel: > > I am encountering

Re: [Rd] readBin on binary non-blocking connections (Windows & Unix differences/bugs)

2009-05-18 Thread Jeff Ryan
Thanks Gabor. Unfortunately read/writeLines won't work in this particular application. Nor does readChar, as the returned values are not of a fixed size. I need to read each unknown length "character" up until an embedded null. readBin does this (almost) perfectly. My current workaround is to

[Rd] Interrupting R when embedded in Java

2009-05-18 Thread Stephan (orcafo...@gtalk)
Dear list, we would like to add support to interrupt R to StatET (the Eclipse plug-in for R) on any platform. StatET uses JRI of rJava to embed R into the Java application. But JRI currently supports canceling of R commands only on Windows. So we are looking for a way to add support for other plat

[Rd] Auto-upgrading a package under Windows ?

2009-05-18 Thread Dirk Eddelbuettel
I was trying to be cute with a company-internal package and used if (Sys.info()["sysname"]=="Windows") { update.packages(repos="http://some.where.internal/R";, ask=FALSE) } but that of course fails as the package itself is loaded and cannot be upgraded (as it contains a dll) when

Re: [Rd] was: Problem building (binary) packages for Windows

2009-05-18 Thread Duncan Murdoch
On 18/05/2009 5:47 AM, Peter Ruckdeschel wrote: Dear Martin, Uwe and Brian thanks for your comments --- point taken: On Sat, 16 May 2009, Martin Maechler wrote: "UweL" == Uwe Ligges on Fri, 15 May 2009 20:48:03 +0200 writes: [.] >> Thank you for clarifyi

Re: [Rd] Problem building (binary) packages for Windows

2009-05-18 Thread Duncan Murdoch
On 16/05/2009 10:19 AM, Prof Brian Ripley wrote: On Sat, 16 May 2009, Martin Maechler wrote: "UweL" == Uwe Ligges on Fri, 15 May 2009 20:48:03 +0200 writes: [.] >> Thank you for clarifying this and once again apologies for stirring you >> up with something that had been

[Rd] About " Error: C stack usage is too close to the limit"

2009-05-18 Thread goon83
Hi everyone! I meet one problem when embedding R in C code, when I run the the R code in one child thread , it always print error info: Error: C stack usage is too close to the limit I also try to set R_CStackLimit = (uintptr_t)-1 to disable the C stack check as the R-exts doc say

Re: [Rd] S4 method dispatch and namespaces: why is default method selected

2009-05-18 Thread Martin Morgan
Hi Michał -- Michał Bojanowski writes: > Hi, > > I ran into the following peculiarity involving S4 method dispatch and > namespaces. > > I develop a package which have a namespace and which depends on 'pixmap' > package, which itself does not have a namespace. > > Now, in my package I have a cla