Re: [R] Programcode and data in the same textfile

2003-06-12 Thread Greg Louis
On 20030612 (Thu) at 1139:34 -0400, Thomas W Blackwell wrote: It also requires knowing how many lines of code precede the data lines. But it _is_ a one-file solution, as requested. Put the following 9 or 10 lines into a file named r.source.file, then source it. data.01 -

Re: [R] executable R scripts

2003-06-09 Thread Greg Louis
On 20030608 (Sun) at 1735:14 -0700, John Zedlewski wrote: Hi, I'm a newbie trying to make an R program executable on UNIX, just like one would write an executable perl script by putting #!/usr/bin/perl in the first line, and so on. It seems, though, that this would only work if I use the