[R] Apply rmarkdown::render() outside the RStudio don't find pandoc

walmes . walmeszeviani at gmail.com
Thu Aug 28 23:14:09 CEST 2014


Yihui,

Thank you so much. I read the PANDOC.md as you suggested and this solved my
issue. I've created the soft-links and then I run in linux terminal

$ echo "rmarkdown::render('teste01.Rmd')" | R --vanilla

R version 3.1.1 (2014-07-10) -- "Sock it to Me"
Copyright (C) 2014 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
... skip ...

> rmarkdown::render('teste01.Rmd')

processing file: teste01.Rmd
  |.............                                                    |  20%

label: unnamed-chunk-2 (with options)
List of 1
 $ echo: logi FALSE

  |.................................................................| 100%
  ordinary text without R code


output file: teste01.knit.md

/usr/local/bin/pandoc teste01.utf8.md --to html --from
markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash-implicit_figures
--output teste01.html --smart --email-obfuscation none --standalone
--section-divs --table-of-contents --toc-depth 3 --template
/home/walmes/R/x86_64-pc-linux-gnu-library/3.1/rmarkdown/rmd/h/default.html
--css /home/walmes/Dropbox/ridiculas/markdown/ridiculas.css --variable
theme:bootstrap --include-in-header
/tmp/RtmpW1cQMQ/rmarkdown-str14a07b76054a.html --mathjax --variable
mathjax-url:
https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML
--no-highlight --variable highlightjs=teste01_files/highlight

Output created: teste01.html

Everything works! Thanks you.

W.


​

	[[alternative HTML version deleted]]



More information about the R-help mailing list