Re: [Rd] using rasterImage within image

2011-02-08 Thread Paul Murrell
Hi On 9/02/2011 3:51 p.m., Michael Sumner wrote: Hello, There's a problem for rasterImage when used in SDI mode in Windows, which may be worth considering. https://stat.ethz.ch/pipermail/r-sig-geo/2010-July/008820.html I had off-list emails with Duncan Murdoch and Paul Murrell about this and

Re: [Rd] using rasterImage within image

2011-02-08 Thread Simon Urbanek
Ben, did you actually look at the result of your function with useRaster=TRUE ? ;) [Hint: don't use an image that is symmetric] Apart from that nice bug there are more issues as well, try image(matrix(1:4,2),col=1:3) The underlying issue is that as.raster() is not quite what you would hope. Unf

Re: [Rd] using rasterImage within image

2011-02-08 Thread Michael Sumner
Hello, There's a problem for rasterImage when used in SDI mode in Windows, which may be worth considering. https://stat.ethz.ch/pipermail/r-sig-geo/2010-July/008820.html I had off-list emails with Duncan Murdoch and Paul Murrell about this and they determined that it was in SDI only, and there's

[Rd] using rasterImage within image

2011-02-08 Thread Ben Bolker
Has anyone yet tried incorporating rasterImage into the base image() function? It seems to make a *huge* difference, with a very small number of added/changed lines of code. (Of course I have barely tested it at all.) Is there any reason this *shouldn't* go into the next release? > source("

Re: [Rd] manipulating the Date & Time classes

2011-02-08 Thread Simon Urbanek
Mike, On Feb 8, 2011, at 3:24 PM, Mike Williamson wrote: > Hello, > >This is mostly to developers, but in case I missed something in my > literature search, I am sending this to the broader audience. > > > - Are there any plans in the works to make "time" classes a bit more > friendly

Re: [Rd] Compiling a Tcl extension for an R package

2011-02-08 Thread Prof Brian Ripley
On Tue, 8 Feb 2011, Simon Urbanek wrote: Adrian, On Feb 8, 2011, at 1:06 PM, Adrian Waddell wrote: Dear R developers, I plan to upload a first version of my R package RnavGraph to the R CRAN server in a week or two. However I'm still struggling with an image resizing function written in C as

Re: [Rd] R-devel on FreeBSD: Support for C99 complex type is required

2011-02-08 Thread Rainer Hurling
On 08.02.2011 22:10 (UTC+1), Prof Brian Ripley wrote: On Tue, 8 Feb 2011, Rainer Hurling wrote: On 07.02.2011 23:45 (UTC+1), Prof Brian Ripley wrote: A follow-up on this. Cygwin has recently[*] added support for C99 complex math, taken from NetBSD with code that is very similar to that from St

Re: [Rd] R-devel on FreeBSD: Support for C99 complex type is required

2011-02-08 Thread Prof Brian Ripley
On Tue, 8 Feb 2011, Rainer Hurling wrote: On 07.02.2011 23:45 (UTC+1), Prof Brian Ripley wrote: A follow-up on this. Cygwin has recently[*] added support for C99 complex math, taken from NetBSD with code that is very similar to that from Steven Moshier available via http://www.moshier.net/c9x_

Re: [Rd] manipulating the Date & Time classes

2011-02-08 Thread Jeffrey Ryan
Firstly, don't double post. On Tue, Feb 8, 2011 at 2:24 PM, Mike Williamson wrote: > Hello, > >    This is mostly to developers, but in case I missed something in my > literature search, I am sending this to the broader audience. > > >   - Are there any plans in the works to make "time" classes a

Re: [Rd] [.raster bug {was "str() on raster objects fails .."}

2011-02-08 Thread Paul Murrell
Hi On 7/02/2011 8:36 p.m., Martin Maechler wrote: Simon Urbanek on Sun, 6 Feb 2011 20:53:01 -0500 writes: > On Feb 6, 2011, at 8:10 PM, Paul Murrell wrote: >> Hi >> >> On 3/02/2011 1:23 p.m., Simon Urbanek wrote: >>> >>> On Feb 2, 2011, at 7:00 PM, Paul

Re: [Rd] manipulating the Date & Time classes

2011-02-08 Thread Daniel Cegiełka
try xts package and functions: reclass period.max period.min best, daniel 2011/2/8 Mike Williamson > Hello, > >This is mostly to developers, but in case I missed something in my > literature search, I am sending this to the broader audience. > > > - Are there any plans in the works to ma

[Rd] manipulating the Date & Time classes

2011-02-08 Thread Mike Williamson
Hello, This is mostly to developers, but in case I missed something in my literature search, I am sending this to the broader audience. - Are there any plans in the works to make "time" classes a bit more friendly to the rest of the "R" world? I am not suggesting to allow for fancy

Re: [Rd] Compiling a Tcl extension for an R package

2011-02-08 Thread Simon Urbanek
Adrian, On Feb 8, 2011, at 1:06 PM, Adrian Waddell wrote: > Dear R developers, > > I plan to upload a first version of my R package RnavGraph to the R CRAN > server in a week or two. However I'm still struggling with an image > resizing function written in C as a tcl extension. I did all my > de

Re: [Rd] R-devel on FreeBSD: Support for C99 complex type is required

2011-02-08 Thread Rainer Hurling
On 07.02.2011 23:45 (UTC+1), Prof Brian Ripley wrote: A follow-up on this. Cygwin has recently[*] added support for C99 complex math, taken from NetBSD with code that is very similar to that from Steven Moshier available via http://www.moshier.net/c9x_readme.html. That code isn't entirely right

Re: [Rd] bug in codetools/R CMD check?

2011-02-08 Thread Hin-Tak Leung
--- On Tue, 8/2/11, Prof Brian Ripley wrote: > From: Prof Brian Ripley > Subject: Re: [Rd] bug in codetools/R CMD check? > To: "Hin-Tak Leung" > Cc: luke-tier...@uiowa.edu, david.clay...@cimr.cam.ac.uk, > r-devel@r-project.org > Date: Tuesday, 8 February, 2011, 17:36 > On Tue, 8 Feb 2011, Hin-

[Rd] Compiling a Tcl extension for an R package

2011-02-08 Thread Adrian Waddell
Dear R developers, I plan to upload a first version of my R package RnavGraph to the R CRAN server in a week or two. However I'm still struggling with an image resizing function written in C as a tcl extension. I did all my development in Ubuntu, and everything works fine in Ubuntu, however my att

Re: [Rd] bug in codetools/R CMD check?

2011-02-08 Thread Prof Brian Ripley
On Tue, 8 Feb 2011, Hin-Tak Leung wrote: --- On Tue, 8/2/11, luke-tier...@uiowa.edu wrote: From: luke-tier...@uiowa.edu Subject: Re: [Rd] bug in codetools/R CMD check? To: "Hin-Tak Leung" Cc: david.clay...@cimr.cam.ac.uk, r-devel@r-project.org Date: Tuesday, 8 February, 2011, 15:34 Thanks -

Re: [Rd] bug in codetools/R CMD check?

2011-02-08 Thread Hin-Tak Leung
--- On Tue, 8/2/11, luke-tier...@uiowa.edu wrote: > From: luke-tier...@uiowa.edu > Subject: Re: [Rd] bug in codetools/R CMD check? > To: "Hin-Tak Leung" > Cc: david.clay...@cimr.cam.ac.uk, r-devel@r-project.org > Date: Tuesday, 8 February, 2011, 15:34 > Thanks -- will try to have a look > somet

Re: [Rd] bug in codetools/R CMD check?

2011-02-08 Thread luke-tierney
Thanks -- will try to have a look sometime soon. luke On Thu, 3 Feb 2011, Hin-Tak Leung wrote: Hi Mr Tierney, I have noticed an error message from R 1.12.x's CMD check for a while (apparently prof Ripley completely rewrote CMD check in R 1.12+) e.g.: http://bioconductor.org/checkResults/2.7/