1 # a single line of comments is preserved 21+1 3 4if(TRUE){ 5x=1 # inline comments 6}else{ 7x=2;print('Oh no... ask the right bracket to go away!')} 81*3 # one space before this comment will become two! 92+2+2 # 'short comments' 10 11# only 'single quotes' are allowed in comments 12df=data.frame(y=rnorm(100),x1=rnorm(100),x2=rnorm(100)) 13lm(y~x1+x2, data=df) 141+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1 ## comments after a long line 15 16## here is a long long long long long long long long long long long long long long long long long long long long comment 17