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

Dirk Eddelbuettel edd at debian.org
Mon Feb 14 19:30:48 CET 2011

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 look like this
| cut -f1 xxx.txt |RplotHist ....

Have a look at littler which was written with these uses in mind:


It includes a few examples which should get you going. Also, in
non-interactive mode, your plot device will have to a file.

Hope this helps, Dirk

Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com

More information about the R-devel mailing list