Dear all, While R CMD check and R CMD INSTALL have always created the vignettes on R-2.12.1 or any earlier versions of R, I am no longer able to build the vignettes on R-2.13.0. Instead R CMD check gives me the following output: * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... WARNING Package vignette(s) without corresponding PDF: APTvsXPS.Rnw xps.Rnw xpsClasses.Rnw xpsPreprocess.Rnw * checking running R code from vignettes ... OK * checking re-building of vignettes ... OK * checking PDF version of manual ... OK Does someone know what the reason might be? (R64 CMD check --help says that be default rebuild-vignettes is turned on.) Interestingly, R CMD check still creates the file "xps-manual.pdf". Here is my sessionInfo: > sessionInfo() R version 2.13.0 (2011-04-13) Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit) locale: [1] C attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] xps_1.13.1 loaded via a namespace (and not attached): [1] Biobase_2.12.1 Biostrings_2.20.0 IRanges_1.10.0 [4] affy_1.30.0 affyPLM_1.28.5 affyio_1.20.0 [7] preprocessCore_1.14.0 Thank you in advance. Best regards Christian _._._._._._._._._._._._._._._._._._ C.h.r.i.s.t.i.a.n S.t.r.a.t.o.w.a V.i.e.n.n.a A.u.s.t.r.i.a e.m.a.i.l: cstrato at aon.at _._._._._._._._._._._._._._._._._._
Hello All, I heard of the First() function in R. but am not sure entirely how it is used. I would like to load an R package at startup, instead of having to manually load each time I run R. How is the first() function used to achieve this . Specifically I would like to tell R at startup to look in a specific folder for the package and load it. Is there a way to do this, and is there any code sample code avail for this. Thanks for your help. Orin
On 23.04.2011 21:50, cstrato wrote:> Dear all, > > While R CMD check and R CMD INSTALL have always created the vignettes on > R-2.12.1 or any earlier versions of R, I am no longer able to build the > vignettes on R-2.13.0. > > Instead R CMD check gives me the following output: > > * checking for unstated dependencies in vignettes ... OK > * checking package vignettes in 'inst/doc' ... WARNING > Package vignette(s) without corresponding PDF: > APTvsXPS.Rnw > xps.Rnw > xpsClasses.Rnw > xpsPreprocess.Rnw > > * checking running R code from vignettes ... OK > * checking re-building of vignettes ... OK > * checking PDF version of manual ... OK > > > Does someone know what the reason might be?No, it does for me for other packages. Perhaps an error when processing the vignettes? Have you tried to build them manually?> (R64 CMD check --help says that be default rebuild-vignettes is turned on.) > > Interestingly, R CMD check still creates the file "xps-manual.pdf".That is the collection of help pages, unrelated to the vignette. Uwe Ligges> Here is my sessionInfo: > > > sessionInfo() > R version 2.13.0 (2011-04-13) > Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit) > > locale: > [1] C > > attached base packages: > [1] stats graphics grDevices utils datasets methods base > > other attached packages: > [1] xps_1.13.1 > > loaded via a namespace (and not attached): > [1] Biobase_2.12.1 Biostrings_2.20.0 IRanges_1.10.0 > [4] affy_1.30.0 affyPLM_1.28.5 affyio_1.20.0 > [7] preprocessCore_1.14.0 > > Thank you in advance. > Best regards > Christian > _._._._._._._._._._._._._._._._._._ > C.h.r.i.s.t.i.a.n S.t.r.a.t.o.w.a > V.i.e.n.n.a A.u.s.t.r.i.a > e.m.a.i.l: cstrato at aon.at > _._._._._._._._._._._._._._._._._._ > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel
See ?Startup Uwe Ligges On 24.04.2011 16:08, Orin Richards wrote:> > > Hello All, > I heard of the First() function in R. but am not sure entirely how it is used. > I would like to load an R package at startup, instead of having to manually > load each time I run R. How is the first() function used to achieve this . > > Specifically I would like to tell R at startup to look in a specific folder for > the package and load it. > > Is there a way to do this, and is there any code sample code avail for this. > > > Thanks for your help. > > Orin > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel
On Sun, Apr 24, 2011 at 10:08 AM, Orin Richards <oowar at yahoo.com> wrote:> > > Hello All, > I heard of the First() function in R. but am not sure entirely how it is used. > ?I would like to load an R package at startup, instead of having to manually > load each time I run R. How is the first() function used to achieve this . > > Specifically I would like to tell R at startup to look in a specific folder for > the package and load it. > > Is there a way to do this, and is there any code sample code avail for this.Orin Is this for a package (in which case you solve it by using Depends) or is it in general for your usage? If the later, you can put code into ~/.Rprofile which is essentially an R script that gets run every time you start R. The code in the file would be something like library(PKGNAME, lib.loc = "DIR") Kasper