Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using knitr to write a paper for JSS

Tags:

r

latex

pdflatex

I am writing a paper for the Journal of Statistical Software documenting my package. Their style files have some facilities for Sweave output but nothing for knitr. I imagine i would have to customise the knitrout environment.

I wanted to know if anybody (maybe better than me at knitr and Latex) has done it already or has any suggestions.

Many thanks, Marco

like image 686
Marco Stamazza Avatar asked Jun 30 '14 07:06

Marco Stamazza


1 Answers

render_sweave() renders knitr output in the Sweave default style which I think JSS expects. Also for JSS you need options(prompt="R> ")

like image 134
Chris Jackson Avatar answered Oct 28 '22 07:10

Chris Jackson