Configuring Notepad++ to run knitr2pdf

Posted by Stat-R on Super User See other posts from Super User or by Stat-R
Published on 2012-03-22T19:27:19Z Indexed on 2012/03/23 17:32 UTC
Read the original article Hit count: 460

Filed under:
|
|

Sorry for such a basic question but since I do not have a degree in programming...

I am a user of R, knitr and Notepad++. I was trying to configure Notepad++ to run pdflatex and knitr(knit2pdf). By googling I found how to do it for pdflatex but I did not find anything for sweave/knitr. The following are the good ones for pdflatex

http://www2.sofi.su.se/~mbe/docs/npp_r_latex.pdf

http://www.tlhiv.org/ma497/software/

I inserted cmd /c cd /d "$(CURRENT_DIRECTORY)" && pdflatex.exe -shell-escape "$(FILE_NAME)" into the run>run menu in Notepad++. I do not fully understand the command though. I will appreciate any help on this.

  1. Please direct me if you can to any resource for learning these commands.
  2. I will be grateful to get any help in configuring Notepad++ for running knitr.

© Super User or respective owner

Related posts about command-line

Related posts about notepad++