[英]RMarkdown: Code line is out of block, how to avoid it?
You can construct a very long string using paste0()
.您可以使用
paste0()
构造一个很长的字符串。 For example,例如,
x <- "this string isn't very long, but I'd still like it to be shorter."
y <- paste0("this string isn't very long, ",
"but I'd still like it to be shorter.")
identical(x, y)
#> [1] TRUE
Created on 2022-12-17 with reprex v2.0.2创建于 2022-12-17,使用reprex v2.0.2
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.