Re: [R] source(,echo=T) doesn't echo final comments

2010-04-18 Thread Duncan Murdoch
On 13/04/2010 8:50 AM, Duncan Murdoch wrote: > On 12/04/2010 7:14 PM, Kuhn, Alexandre (NIH/NIA/IRP) [V] wrote: >> Hi, >> >> source(file,echo=T) will not echo the last comment in "file" if it is the last line in the file. >> For instance, when sourcing a file containing the following lines >> >> #co

Re: [R] source(,echo=T) doesn't echo final comments

2010-04-13 Thread Peter Ehlers
On 2010-04-13 6:50, Duncan Murdoch wrote: On 12/04/2010 7:14 PM, Kuhn, Alexandre (NIH/NIA/IRP) [V] wrote: Hi, source(file,echo=T) will not echo the last comment in "file" if it is the last line in the file. For instance, when sourcing a file containing the following lines #comment 1 a<-1 #comm

Re: [R] source(,echo=T) doesn't echo final comments

2010-04-13 Thread Duncan Murdoch
On 12/04/2010 7:14 PM, Kuhn, Alexandre (NIH/NIA/IRP) [V] wrote: Hi, source(file,echo=T) will not echo the last comment in "file" if it is the last line in the file. For instance, when sourcing a file containing the following lines #comment 1 a<-1 #comment 2 R will echo > #comment 1 > a<-1 W

[R] source(,echo=T) doesn't echo final comments

2010-04-12 Thread Kuhn, Alexandre (NIH/NIA/IRP) [V]
Hi, source(file,echo=T) will not echo the last comment in "file" if it is the last line in the file. For instance, when sourcing a file containing the following lines #comment 1 a<-1 #comment 2 R will echo > #comment 1 > a<-1 What is the solution to have R echo all of the comment lines? Spec