Created attachment 1754 [details]
This is a script file, used as argument for source() function.
system x86_64, mingw32
svn rev 67962
version.string R version 3.1.3 (2015-03-09)
nickname Smooth Sidewalk
Windows 7 Home Premium Intel Core i3 CPU 64-bit OS
when sourcing the script "bugreport.R" attached with this report, without echo=T, the output of the function str() is displayed on console (command on line 17 ). The output of other commands are not displayed.
when sourcing attached script "bugreport.R", with echo=T, The four comment lines at the top are truncated, and the command following this comment is not echoed, although the command is executed. Similarly comments on lines 12 to 15 are truncated, and the following command on line 16 is not echoed, but the output of the command is displayed. Same effect repeated later in the script. The truncation of comment lines seem to suppress echo of following command.
If comment line(s) are not truncated, the following command is echoed, as expected.