Re: [R] Rcmd build -binary -- problem

2012-03-23 Thread Stephen Eick
send HTML, as you always were..." Is this in regards to using gmail?? On Thu, Mar 22, 2012 at 5:01 PM, Prof Brian Ripley wrote: > > On 22/03/2012 17:33, Stephen Eick wrote: >> >> Hi.  I need a bit of help.  I'm running Windows 7 and "out of the box" >>

[R] Rcmd build -binary -- problem

2012-03-22 Thread Stephen Eick
Hi. I need a bit of help. I'm running Windows 7 and "out of the box" versions of Rtools and R (version 2.14.2) and am trying to compile a package that worked before. When I run the command: > Rcmd build -binary mypackage > Warning: unknown option '-binary' i get a warning and it creates the tar

[R] dev.off and Cairo and ggplot2

2011-07-13 Thread Stephen Eick
I have a weird example which fails and I don't understand why. If I put dev.off() inside my function, it produces a bad image file. But if I run what I think should be equivalent code with dev.off() running outside my function, it works. Why does the location of dev.off matter? library(Cairo)