Re: [R] Premature termination of script

2005-07-30 Thread Patrick Burns
You can use 'stop' instead of 'cat' -- in which case you don't need the newline at the end of the string. But I suspect you would be better off writing a function rather than a script. S Poetry is one of many sources on writing functions. Patrick Burns [EMAIL PROTECTED] +44 (0)20 8525 0696 http

Re: [R] Premature termination of script

2005-07-30 Thread Gabor Grothendieck
On 7/30/05, Marco Blanchette <[EMAIL PROTECTED]> wrote: > I am fairly new to R and I am writing a script that would take a file, as an > input, and generates a bunch of graphs out of it. My first task is to be > sure that the file is of the right type by looking if there is a valid > barcode in it

[R] Premature termination of script

2005-07-30 Thread Marco Blanchette
I am fairly new to R and I am writing a script that would take a file, as an input, and generates a bunch of graphs out of it. My first task is to be sure that the file is of the right type by looking if there is a valid barcode in it as in (the barcode is beetween a double and single underscore):