Skip to content
Snippets Groups Projects
Commit 09cee642 authored by Holger Brandl's avatar Holger Brandl
Browse files

cont. preprocessor

parent 283957d6
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,6 @@ mdRegex <- "^#([#]*)> ([^{]*)([{]+(.+)[}])?"
#str_match("#> {fig.width=10}", mdRegex)
#str_replace("#> * normBxx >0 --> horizontal", mdRegex, "```\n\\1\\2\n```{r \\4}") %>% paste(collapse="\n") %>% cat()
readLines(file("/Users/brandl/Dropbox/Public/datautils/R/rknit/rknit_example.R")) %>%
#readLines(file("stdin")) %>%
#readLines(file("/Users/brandl/Dropbox/Public/datautils/R/rknit/rknit_example.R")) %>%
readLines(file("stdin")) %>%
str_replace(mdRegex, "```\n\\1 \\2\n```{r \\4}") %>% paste(collapse="\n") %>% cat()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment