相关疑难解决方法(0)

在R脚本中将代码拆分为多行

我想在多个行中分割R脚本中的一行(因为它太长了).我怎么做?

具体来说,我有一条线,如

setwd('~/a/very/long/path/here/that/goes/beyond/80/characters/and/then/some/more')
Run Code Online (Sandbox Code Playgroud)

是否有可能将长路径分成多条线?我试过了

setwd('~/a/very/long/path/here/that/goes/beyond/80/characters/and/
then/some/more')
Run Code Online (Sandbox Code Playgroud)

return键在第一行的末尾; 但这不起作用.

谢谢.

r multiline

130
推荐指数
6
解决办法
23万
查看次数

标签 统计

multiline ×1

r ×1