Re: [Rd] parser does not catch strings without closing quote

2011-09-02 Thread Duncan Murdoch
So I'll probably commit that, as well as the octal upper limit change. Duncan Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com > -Original Message- > From: Duncan Murdoch [mailto:murdoch.dun...@gmail.com] > Sent: Friday, September 02, 2011 4:58 AM > To: Will

Re: [Rd] parser does not catch strings without closing quote

2011-09-02 Thread William Dunlap
September 02, 2011 4:58 AM > To: William Dunlap > Cc: r-devel@r-project.org > Subject: Re: [Rd] parser does not catch strings without closing quote > > On 11-09-01 6:24 PM, William Dunlap wrote: > > Shouldn't the parser complain about unfinished strings in files? >

Re: [Rd] parser does not catch strings without closing quote

2011-09-02 Thread Duncan Murdoch
On 11-09-01 6:24 PM, William Dunlap wrote: Shouldn't the parser complain about unfinished strings in files? It doesn't and will tack on a newline if there isn't one there. > withOption<- function(optionList, expr) { + oldOption<- options(optionList) + on.exit(options(oldOption)

[Rd] parser does not catch strings without closing quote

2011-09-01 Thread William Dunlap
Shouldn't the parser complain about unfinished strings in files? It doesn't and will tack on a newline if there isn't one there. > withOption <- function(optionList, expr) { + oldOption <- options(optionList) + on.exit(options(oldOption)) + expr + } > cat(file=tf<-tempfil