The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
The R package jds.rmd provides R Markdown templates intended for Journal of Data Science, which can be useful for authoring a manuscript with code chunks or producing tables/figures on the fly.
One can install the released version from CRAN.
install.packages("jds.rmd")
The latest version of the package can be installed by using remotes:
if (! require(remotes)) install.packages("remotes")
::install_github("wenjie2wang/jds.rmd", upgrade = "never") remotes
We can create a manuscript draft named my_draft.Rmd
and
render it to PDF as follows:
<- "my_draft.Rmd"
draft_rmd ::draft(draft_rmd)
jds.rmd::render(draft_rmd) rmarkdown
Notice that all the edits should be done in the R Markdown file
my_draft.Rmd
. The LaTeX source file generated by
pandoc is kept on purpose for submission and may help debug
possible compilation errors. The generated PDF will be sufficient for
the peer-review process. If the paper is accepted, we will only need to
provide the journal production team with the generated LaTeX source
together with the generated figure files if any.
The package contains two class files, jdsart.cls
and
jds.cls
. The former is the latest version developed by VTeX and thus
recommended; the latter is deprecated and was developed before having
the production support by VTeX. The function
jds.rmd::draft()
creates a draft using the
jdsart.cls
by default.
Alternatively, a draft using the jds.cls
can be created
by specifying cls = "jds"
. For those users who use the
latest jds.rmd package but the deprecated class file,
an option cls: jds
needs to be added to the YAML header as
follows:
output:
jds.rmd::pdf_article:
cls: jds
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.