if I knit my RMarkdown I get a result with the following problem:
My codeline runs out of the codeblock. How can I avoid it? Is there an option to get a "linebreak" or something else?
Thank you for your help.
if I knit my RMarkdown I get a result with the following problem:
My codeline runs out of the codeblock. How can I avoid it? Is there an option to get a "linebreak" or something else?
Thank you for your help.
You can construct a very long string using 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