In a package 'vig' R CMD build vig (or tools::buildVignettes(dir="vig") with
$ cat vig/vignettes/vig1.Rnw
\documentclass{article}
\begin{document}
<<>>=
x <- 1
@
\end{document}
$ cat vig/vignettes/vig2.Rnw
\documentclass{article}
\begin{document}
<<>>=
x
@
\end{document}
produces vig2.pdf where
OS X 10.9.2
R 3.1.0 RC (2014-04-04 r65373) installer from http://r.research.att.com
Attempting to install packages yields the following:
> install.packages( c('gregmisc','RUnit') )
--- Please select a CRAN mirror for use in this session ---
Error in url("http://cran.r-project.org/CRAN_mirrors.c
On 05/04/2014, 2:24 PM, Martin Morgan wrote:
In a package 'vig' R CMD build vig (or tools::buildVignettes(dir="vig") with
$ cat vig/vignettes/vig1.Rnw
\documentclass{article}
\begin{document}
<<>>=
x <- 1
@
\end{document}
$ cat vig/vignettes/vig2.Rnw
\documentclass{article}
\begin{document}
<<>
By "quite slow" start-up time on Windows, you mean on the order of 1
or 2 seconds? That is probably not too bad, when we weigh it against
the confusion from compiling all vignettes in the same R session.
knitr::knit() has an 'envir' argument that specifies the environment
in which the code chunks
Hi,
I just discovered a small issue that fits into this thread.
Consider:
z <- as.POSIXlt(Sys.time())
z$gmtoff
Under both Fedora and Windows (using R 3.1.0) I get the
value -14400, which is the number of SECONDS offset
from GMT (for New York), not the number of minutes
offset as specified in the