Bug 16257 - R 3.1.3 console output when source() used
Summary: R 3.1.3 console output when source() used
Status: NEW
Alias: None
Product: R
Classification: Unclassified
Component: Language (show other bugs)
Version: R 3.1.2
Hardware: x86_64/x64/amd64 (64-bit) Windows 64-bit
: P5 normal
Assignee: R-core
URL:
Depends on:
Blocks:
 
Reported: 2015-03-12 22:32 UTC by drmali2001
Modified: 2015-03-12 22:32 UTC (History)
0 users

See Also:


Attachments
This is a script file, used as argument for source() function. (2.83 KB, text/plain)
2015-03-12 22:32 UTC, drmali2001
Details

Note You need to log in before you can comment on or make changes to this bug.
Description drmali2001 2015-03-12 22:32:19 UTC
Created attachment 1754 [details]
This is a script file, used as argument for source() function.

platform       x86_64-w64-mingw32          
arch           x86_64                      
os             mingw32                     
system         x86_64, mingw32             
status                                     
major          3                           
minor          1.3                         
year           2015                        
month          03                          
day            09                          
svn rev        67962                       
language       R                           
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.