[FLR-list] Help writing a vignette in Sweave

Iago Mosqueira iago.mosqueira-sanchez at jrc.ec.europa.eu
Wed Aug 22 13:53:57 CEST 2012


On 08/22/2012 12:23 PM, Mark Payne wrote:
> Hi FLRers,
>
> Niels and I are very close to finishing off our FLSAM package. The one remaining thing that we would like to do is have a vignette demonstrating the full functionality of the package. We have a testScript that does this for us at the moment - but we'd like to turn this into a vignette / pdf using Sweave. Problem is that we don't know Sweave, and the documentation around it is not user friendly. Does anyone have an example that they could maybe use to inspire us? Is anyone capable of turning an r script (/pkg/FLSAM/test/FLSAMtestScript.r) into a Sweave doc at the click of their fingers?
>
> Cheers,
>
> Niels and Mark

Hi,

If you are not well versed with LaTeX, take a look at knitr and using 
markdown, for example

http://jeromyanglim.blogspot.co.nz/2012/05/getting-started-with-r-markdown-knitr.html


Iago


-- 
Dr Iago Mosqueira

European Commission – Joint Research Center
Institute for the Protection and Security of the Citizen (IPSC)
Maritime Affairs Unit FISHREG – Scientific Support to Fisheries
TP 051, Via Enrico Fermi 2749
I-21027 Ispra (VA), Italy

Office : +39 0332 785413
Fax: +39 0332 789658

iago.mosqueira at jrc.ec.europa.eu

http://fishreg.jrc.ec.europa.eu/home



More information about the flr-list mailing list