[R] Echos for comment line (with #)

Steven Yen syen04 at gmail.com
Sun Feb 12 06:14:54 CET 2017

I need help with what may be a simple option in R (or Rstudio)--to 
receive an echo of a comment line.

Running the following two-line script in plain R,

# adding

I did get the echo:

 > # adding
 > 1+2
[1] 3

However, running the same lines in RStudio, the comment line does not 
appear in output:

 > 1+2
[1] 3

Please help. Thanks.

	[[alternative HTML version deleted]]

More information about the R-help mailing list