简体   繁体   中英

Is it possible to add script breaking line in R, like the cell break in Matlab

I have been using R for a while. Sometimes it is quite annoying that when the script gets long, then you have to add a break line to separate the code. Is it possible to add script breaking line automatically, like the cell break in Matlab.

something like this:

code 1


code 2

Thanks:)

Best, Qin

如@BenBolker所述,如果您处于emacs ess下,则可以尝试按Ctrl-u 40 生成40 #注释符号以分隔代码块。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM