r - Rstudio knit to PDF -
r - Rstudio knit to PDF -
the new version of rstudio (0.98.932) has many new options including knit pdf. article describing new version has comment dave says:
...after installing rstudio 0.98.932 don’t little dropdown menu knit-pdf or word when editing .rmd file.
i'm having same issue. helpful response posted:
it might either:
a) not running r 3.0 (which required rmarkdown v2); or
b) have custom markdown renderer defined (markdowntohtml option). can check executing:
getoption(“rstudio.markdowntohtml”)
that solved dave's problem (b), when run command null
> getoption("rstudio.markdowntohtml") null
which assume means don't have custom markdown renderer defined. (previously did in cusomized .rprofile
, removed that.) r version 3.1.0.
am misunderstanding getoption
command? else tripping rstudio?
i have installed new version of rstudio (0.98.932), prompted me upgrade couple of packages (i can't remember which, although see have knitr 1.6, markdown 0.7 , rmarkdown 0.2.46). @ first had same problem; there single 'knit' alternative on tool bar. managed ability knit .pdf adding next head of .rmd file.
--- title: "sample document" output: pdf_document ---
having done that, find have drop downwards menu options knit html, pdf , word. there's little gear icon provides access r markdown document options wasn't there before. have no thought problem seems ok now!
r knitr rstudio
Comments
Post a Comment