Paul Johnson
2012-Jul-03 17:21 UTC
[Rd] Problem in vignette packaging of Sweave in utils package
In ?Sweave, it refers to Sweave User Manual. In the doc folder of utils package, I see "Sweave.pdf". However, I can't find it from within R> vignette("Sweave User Manual")Warning message: vignette ?Sweave User Manual? not found> browseVignettes("utils")No vignettes found by browseVignettes("utils")> library(help=utils)does not refer to any vignettes. The vignette does not appear in the main page for utils in help.start(). I checked the source code for the Sweave vignette, but I don't see anything wrong. It has all of the required elements: %\VignetteIndexEntry{Sweave User Manual} %\VignettePackage{utils} %\VignetteDepends{tools} %\VignetteDepends{datasets} %\VignetteDepends{stats} Am I accessing it incorrectly, or is there something wrong in my install of R-2.15.1?> sessionInfo()R version 2.15.1 (2012-06-22) Platform: x86_64-pc-linux-gnu (64-bit) locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 [7] LC_PAPER=C LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] tools_2.15.1 -- Paul E. Johnson Professor, Political Science Assoc. Director 1541 Lilac Lane, Room 504 Center for Research Methods University of Kansas University of Kansas http://pj.freefaculty.org http://quant.ku.edu
Duncan Murdoch
2012-Jul-03 17:34 UTC
[Rd] Problem in vignette packaging of Sweave in utils package
On 03/07/2012 1:21 PM, Paul Johnson wrote:> In ?Sweave, it refers to Sweave User Manual. In the doc folder of > utils package, I see "Sweave.pdf". > > However, I can't find it from within R > > > > vignette("Sweave User Manual") > Warning message: > vignette ?Sweave User Manual? not found > > > > browseVignettes("utils") > No vignettes found by browseVignettes("utils") > > > > library(help=utils) > > does not refer to any vignettes. > > The vignette does not appear in the main page for utils in help.start(). > > I checked the source code for the Sweave vignette, but I don't see > anything wrong. It has all of the required elements: > > %\VignetteIndexEntry{Sweave User Manual} > %\VignettePackage{utils} > %\VignetteDepends{tools} > %\VignetteDepends{datasets} > %\VignetteDepends{stats} > > Am I accessing it incorrectly, or is there something wrong in my > install of R-2.15.1?The vignette name is "Sweave", so you should see it when you say vignette("Sweave") but you should also have seen it in browseVignettes("utils") and library(help=utils) and the page for utils in the HTML help. So it looks as though something is wrong in your install. I do see it in 2.15.1 patched on Windows. Duncan Murdoch> > > sessionInfo() > R version 2.15.1 (2012-06-22) > Platform: x86_64-pc-linux-gnu (64-bit) > > locale: > [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C > [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 > [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 > [7] LC_PAPER=C LC_NAME=C > [9] LC_ADDRESS=C LC_TELEPHONE=C > [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C > > attached base packages: > [1] stats graphics grDevices utils datasets methods base > > loaded via a namespace (and not attached): > [1] tools_2.15.1
Duncan Murdoch
2012-Jul-07 12:25 UTC
[Rd] Problem in vignette packaging of Sweave in utils package
On 12-07-03 1:21 PM, Paul Johnson wrote:> In ?Sweave, it refers to Sweave User Manual. In the doc folder of > utils package, I see "Sweave.pdf". > > However, I can't find it from within R > > >> vignette("Sweave User Manual") > Warning message: > vignette ?Sweave User Manual? not foundTurns out there was a bug in the code to install from tarballs, so base package vignettes weren't fully installed. I've fixed it; installs from R-patched or R-devel revisions after 59750 should be okay. Duncan Murdoch> > >> browseVignettes("utils") > No vignettes found by browseVignettes("utils") > > >> library(help=utils) > > does not refer to any vignettes. > > The vignette does not appear in the main page for utils in help.start(). > > I checked the source code for the Sweave vignette, but I don't see > anything wrong. It has all of the required elements: > > %\VignetteIndexEntry{Sweave User Manual} > %\VignettePackage{utils} > %\VignetteDepends{tools} > %\VignetteDepends{datasets} > %\VignetteDepends{stats} > > Am I accessing it incorrectly, or is there something wrong in my > install of R-2.15.1? > >> sessionInfo() > R version 2.15.1 (2012-06-22) > Platform: x86_64-pc-linux-gnu (64-bit) > > locale: > [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C > [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 > [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 > [7] LC_PAPER=C LC_NAME=C > [9] LC_ADDRESS=C LC_TELEPHONE=C > [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C > > attached base packages: > [1] stats graphics grDevices utils datasets methods base > > loaded via a namespace (and not attached): > [1] tools_2.15.1