On Thursday 17 October 2002 07:06, Lars Jensen wrote: > On Wed, 16 Oct 2002, Kjetil Kjernsmo wrote: > > I used R for my thesis in astrophysics, it is a really good system, > > and well package in Debian too (r-base etc). It is a huge > > statistics > > 1) Can I produce plots from the command line with R?
I'm not sure (I used it mostly for multiday batch processing and then interactive analysis of the results), but I think it can take R-code from stdin, so you could figure out clever ways of using pipes. > 2) Is it reasonably easy to use for simple x-y plots? Very: plot(x, y) is the main thing, but you may have to initialize postscript drivers, postscript() plot(x, y) dev.off() will do that, or a bitmap device, which is similar. Or if that's all you ever do, you could give it a startup-file with that as default. x and y are array objects, but you don't need to define them, you can give them inline. They can be whatever, really, because it has some simple object orientation, so you could give it a single 2 x n matrix to make a typical x-y plot. Kjetil -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]