Skip to content
Prev 363669 / 398502 Next

source() does not include added code

On 31/08/2016 11:05 AM, Doug Edmunds wrote:
You're missing a closing parenthesis.  I'd have hoped for an error 
message about that, and I get one with a similar example. Not sure why 
you didn't.

 > source('test.R')
Error in source("test.R") : test.R:4:0: unexpected end of input
2: message("bad"
3:

Duncan Murdoch