On 11/01/2012 8:36 PM, Duncan Murdoch wrote:
On 12-01-11 3:54 PM, mark.braving...@csiro.au wrote:
> In R<= 2.13.x, calling 'parse( con)' where 'con' is a connection, 'options(
keep.source)' is TRUE, and default 'srcfile' would preserve the source. In R>=
2.14.1, it doesn't.
Actually, it pres
On 12-01-11 3:54 PM, mark.braving...@csiro.au wrote:
In R<= 2.13.x, calling 'parse( con)' where 'con' is a connection, 'options(
keep.source)' is TRUE, and default 'srcfile' would preserve the source. In R>=
2.14.1, it doesn't.
Actually, it preserved the "source" attribute of the function if
In R <= 2.13.x, calling 'parse( con)' where 'con' is a connection, 'options(
keep.source)' is TRUE, and default 'srcfile' would preserve the source. In R
>= 2.14.1, it doesn't.
> tf <- tempfile()
> options( keep.source=TRUE)
> texto <- c( 'function() { # comment', '}')
> parse( text=texto)
exp