name.rmd.chunks: Set default names for the chunks of problem set rmd files

Description Usage Arguments

View source: R/create_ps.r

Description

Set default names for the chunks of problem set rmd files

Usage

1
2
name.rmd.chunks(rmd.file = NULL, txt = readLines(rmd.file),
  only.empty.chunks = FALSE, keep.options = TRUE, valid.file.name = FALSE)

Arguments

rmd.file

file name

txt

alternative the code as txt file

only.empy.chunks

if FALSE (default) name all chunks. Otherwise only empty chunks are overwritten

keep.option

if TRUE (default) don't change chunk options; otherwise clear all chunk options (dangerous)


skranz/RTutor2 documentation built on Oct. 7, 2017, 2:52 p.m.