[Rd] Package vignettes share the same environment?

2014-04-05 Thread Martin Morgan
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

[Rd] Internet error on Mac OS X 10.9 with 3.1.0 RC

2014-04-05 Thread Gregory R. Warnes
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

Re: [Rd] Package vignettes share the same environment?

2014-04-05 Thread Duncan Murdoch
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} <<>

Re: [Rd] Package vignettes share the same environment?

2014-04-05 Thread Yihui Xie
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

Re: [Rd] Timezone warnings on package install in R-alpha

2014-04-05 Thread Dominick Samperi
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