[R] #!/usr/bin/R

2004-05-10 Thread Webb Sprague
Hi all, Is there any documentation on running R like one would run a shell or Perl script, with out/input directed appropriately, environment variable access, and command switch processing? I looked some, and even remembered to check the FAQ, but couldn't find anything. Thanks W

[R] weirdness in sourc()ing a dump() (bug?)

2004-05-05 Thread Webb Sprague
Hi all, I dump the result of a long simulation, which I know has run to completion and returned a fairly complex list of lists of things. However, when I try to read it back in, I get the following error: source ('../SIMULATIONS/run.1.R') Error in structure(list(do.extinction.runs, alpha =

[R] label separators in boxplots with conditioning

2004-04-28 Thread Webb Sprague
Hi R-helpers, I have a data.frame with three columns (lots more reps though in each), like so: 'FOO''BAR''RESULT' 1 .0175 1 .0512 1.1.01100 1.1.0550 1.2.0175 1.2

[R] Line numbers in error messages

2004-04-12 Thread Webb Sprague
Hi all, I have searched but to know avail. Is there a way to get a line number when a function crashes? I am doing an edit-source-run cycle. Feel free to cc me as I subscribe to the list in digest. Thanks W __ [EMAIL PROTECTED] mailing list

Re: [R] Line numbers in error messages

2004-04-12 Thread Webb Sprague
Hi Patrick, It's very simple using a browser() line in your function somewhere you know your code's OK, then run line by line. The problem is that sometimes you have code of a few hundred lines, to which you have added a strange little line that craps out because of some silly mistake that

[R] Displaying text

2004-04-05 Thread Webb Sprague
Hi all, Is there a way to display text on a graphics page? Basically, I want to plot a bunch of stuff on a single page using mfrow(), but also put a few lines describing the stuff you see. I *do not* want to put the text with one of the plots. I would also like display some tables,