View source: R/rstudio-toggle_subsections.R
findConnectedCode | R Documentation |
Find rows which, taken together, are parseable code
findConnectedCode(documentText, row)
documentText |
|
row |
documentText <- c( "a <- letters[", "1:3", "]", "b <- 1", "c(a,", "b)" ) row <- 6 findConnectedCode(documentText, row) for (i in 1:6) print(findConnectedCode(documentText, i))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.