[Rd] getGenerics returns names what are not generics

2011-02-14 Thread Vitalie S.
Hi there, I encounter the following problem with getGenerics when Rgraphviz is installed: which(!sapply(getGenerics(), isGeneric)) #graph Rgraphviz graph Rgraphviz # 105 106 107 108 so, getGenerics returns twice graph and Rgrapviz as being generics, when they are not:

[Rd] small suggestion---add sd to summary() for vectors, matrices, and data frames

2011-02-14 Thread ivo welch
Dear R developers---of course, I have my own function that does this, but I think this would be useful for others, too. summary() already returns the first moment, and I would hope most of us think of the standard deviation as a pretty common summary statistic. not to clutter this mailing list,

Re: [Rd] CRAN package sizes

2011-02-14 Thread Kevin R. Coombes
I think it would be even more useful if we could get Sweave to easily produce PNG figures instead of just PDF/EPS. In the current state of things, making PNG versions is more cumbersome than making PDF versions, so I'm not surprised that most people don't go to that trouble most of the time.

Re: [Rd] readPNG gives warnings and doesn't execute sample code from help files

2011-02-14 Thread Simon Urbanek
Joris, On Feb 14, 2011, at 10:05 AM, Joris Meys wrote: Dear all, I noticed in the latest R version (R.2.12.1) that the readPNG gives following warning when running the example code in the help file (or when using any other png for that matter) : 50: In rasterImage(img, 1.2, 1.27, 1.8,

[Rd] R command line and pipe using in Linux?

2011-02-14 Thread Hang PHAN
Hi, I have a very large data file(GB) from which I only want to extract one column to draw histogram. This would be done several times, so I would like to ask if there is anyway to plot this using R from the linux command line, something look like this cut -f1 xxx.txt |RplotHist Thanks and

Re: [Rd] using rasterImage within image

2011-02-14 Thread baptiste auguie
On 14 February 2011 18:26, Ben Bolker bbol...@gmail.com wrote: Paul Murrell p.murrell at auckland.ac.nz writes: Hi On 12/02/2011 7:22 p.m., Michael Sumner wrote: Hello, that appears to have fixed it. Thank you very much. I can now repeat the reported workflow and the image appears on

Re: [Rd] R command line and pipe using in Linux?

2011-02-14 Thread Sean O'Riordain
Good afternoon Hang, This is an example of what I've done with a csv file with a header which is too big to read into memory. # this is a file with about 50 columns and 28 million records ap.fnam - 'p2_all28m_records.csv' # lets just explore the columns in Addresspoint... # by reading in the

Re: [Rd] R command line and pipe using in Linux?

2011-02-14 Thread Dirk Eddelbuettel
On 14 February 2011 at 17:40, Hang PHAN wrote: | Hi, | I have a very large data file(GB) from which I only want to extract one | column to draw histogram. This would be done several times, so I would like | to ask if there is anyway to plot this using R from the linux command line, | something

Re: [Rd] R command line and pipe using in Linux?

2011-02-14 Thread Petr Savicky
On Mon, Feb 14, 2011 at 05:40:29PM +, Hang PHAN wrote: Hi, I have a very large data file(GB) from which I only want to extract one column to draw histogram. This would be done several times, so I would like to ask if there is anyway to plot this using R from the linux command line,

Re: [Rd] using rasterImage within image

2011-02-14 Thread Simon Urbanek
On Feb 14, 2011, at 12:26 PM, Ben Bolker wrote: Paul Murrell p.murrell at auckland.ac.nz writes: Hi On 12/02/2011 7:22 p.m., Michael Sumner wrote: Hello, that appears to have fixed it. Thank you very much. I can now repeat the reported workflow and the image appears on the fifth

Re: [Rd] using rasterImage within image

2011-02-14 Thread Paul Murrell
Hi On 15/02/2011 8:11 a.m., Simon Urbanek wrote: On Feb 14, 2011, at 12:26 PM, Ben Bolker wrote: Paul Murrellp.murrellat auckland.ac.nz writes: Hi On 12/02/2011 7:22 p.m., Michael Sumner wrote: Hello, that appears to have fixed it. Thank you very much. I can now repeat the reported

Re: [Rd] using rasterImage within image

2011-02-14 Thread Simon Urbanek
On Feb 14, 2011, at 2:28 PM, Paul Murrell wrote: Hi On 15/02/2011 8:11 a.m., Simon Urbanek wrote: On Feb 14, 2011, at 12:26 PM, Ben Bolker wrote: Paul Murrellp.murrellat auckland.ac.nz writes: Hi On 12/02/2011 7:22 p.m., Michael Sumner wrote: Hello, that appears to have

Re: [Rd] R command line and pipe using in Linux?

2011-02-14 Thread Hang PHAN
Thanks for the prompt reply. I think I have an idea on how to do what I want now. Best regards, Hang On Mon, Feb 14, 2011 at 6:30 PM, Dirk Eddelbuettel e...@debian.org wrote: On 14 February 2011 at 17:40, Hang PHAN wrote: | Hi, | I have a very large data file(GB) from which I only want to

[Rd] drop argument for apply, rowSums, etc.

2011-02-14 Thread Claudia Beleites
Dear list, dear Henrik, I find myself often reconstructing matrices from the result of rowSum (matrix) etc. I therefore propose a new argument, drop, for these functions: drop = TRUE (default) is the current behaviour. With drop = FALSE length (dim (x)) and dimnames are preserved and the

Re: [Rd] using rasterImage within image

2011-02-14 Thread Ben Bolker
On 02/14/2011 02:59 PM, Simon Urbanek wrote: On Feb 14, 2011, at 2:28 PM, Paul Murrell wrote: Hi On 15/02/2011 8:11 a.m., Simon Urbanek wrote: On Feb 14, 2011, at 12:26 PM, Ben Bolker wrote: Paul Murrellp.murrellat auckland.ac.nz writes: Hi On 12/02/2011 7:22 p.m., Michael