looks like there is no straight forward way to wrap long lines in R
You can't do
a <- 1+2
+3
You have to do
a <- 1 +2 +
3
basic principle is u have to give R a hint that your line hasn't finished.
Please correct me if i am wrong.
r********0 发帖数: 65
2
我查一个R程序,就是因为‘+’号没写到上一行害我查了快2个月。。。
I*****a 发帖数: 5425
3
there isnt to my knowledge
【在 D******n 的大作中提到】 : looks like there is no straight forward way to wrap long lines in R : You can't do : a <- 1+2 : +3 : You have to do : a <- 1 +2 + : 3 : basic principle is u have to give R a hint that your line hasn't finished. : Please correct me if i am wrong.