paper/main.R

# To reproduce the manuscript PDF do the following:

# Generate the examples, figures and tables
#library(knitr)
#knit("magnusson-kainu-lahti.Rmd")

#library(rmarkdown)
#render("magnusson-kainu-lahti.Rmd")

# Convert tex to PDF
tools::texi2pdf("RJwrapper.tex")
tools::texi2pdf("RJwrapper.tex")

# Show PDF
system("evince RJwrapper.pdf &")


# OLD: Generate tex file
#Sweave("lahti-huovari-kainu-biecek.Rnw")
#library(rmarkdown)
#render("lahti-huovari-kainu-biecek.Rmd", output_format = "pdf_document")
rOpenGov/pxweb documentation built on Feb. 18, 2024, 7:44 a.m.