Re: [Rd] Problem in vignette packaging of Sweave in utils package

2012-07-03 Thread Paul Johnson
On Tue, Jul 3, 2012 at 12:54 PM, Yihui Xie wrote: > Strange enough; I just noticed the HTML index pages of several base > packages were gone (e.g. base, stats, tools, utils) under Ubuntu. Not > sure if this is a problem of Debian packages or R itself. > It is not only on Debian where I see: > vi

Re: [Rd] Problem in vignette packaging of Sweave in utils package

2012-07-03 Thread Marc Schwartz
The HTML help related pages are dynamically generated upon request, so there are no static pages that would exist otherwise. I can get to the index pages for each of the packages mentioned in Yihui's post. That being said, I can replicate the vignette issue on: R version 2.15.1 (2012-06-22) --

Re: [Rd] Problem in vignette packaging of Sweave in utils package

2012-07-03 Thread Yihui Xie
Strange enough; I just noticed the HTML index pages of several base packages were gone (e.g. base, stats, tools, utils) under Ubuntu. Not sure if this is a problem of Debian packages or R itself. > sessionInfo() R version 2.15.1 (2012-06-22) Platform: i686-pc-linux-gnu (32-bit) locale: [1] LC_CT

Re: [Rd] Problem in vignette packaging of Sweave in utils package

2012-07-03 Thread Duncan Murdoch
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("

[Rd] Problem in vignette packaging of Sweave in utils package

2012-07-03 Thread Paul Johnson
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

[Rd] print.data.frame function with option na.print=" " actually prints NA

2012-07-03 Thread Ole Fredslund Christensen
Dear R developers I thought I better report this behavior. Example: > print(matrix(c(1,NA,1,1),2,2), na.print="") [,1] [,2] [1,]11 [2,] 1 > print(as.data.frame(matrix(c(1,NA,1,1),2,2)), na.print="") V1 V2 1 1 1 2 NA 1 The help-file for print.data.frame gives me the im

Re: [Rd] Questions about imports to a namespace

2012-07-03 Thread Duncan Murdoch
On 12-07-02 10:53 PM, Simon Knapp wrote: Hi, I am a bit unsure about using imports in packages and have a few questions. I'm sure the answer to some of these is 'it depends', but I'm interested in what others think and 'best practices' when this is the case. 1) If I use an import or importFro

Re: [Rd] Dependency problem for "hasArg"

2012-07-03 Thread Mauricio Zambrano-Bigiarini
On 03/07/12 09:10, Martin Morgan wrote: On 07/03/2012 09:07 AM, Mauricio Zambrano-Bigiarini wrote: On 02/07/12 22:51, Martin Morgan wrote: On 07/02/2012 06:23 PM, Charlie Friedemann wrote: The error message you are getting makes it rather clear what the problem is. R is unable to find the func

Re: [Rd] Dependency problem for "hasArg"

2012-07-03 Thread Martin Morgan
On 07/03/2012 09:07 AM, Mauricio Zambrano-Bigiarini wrote: On 02/07/12 22:51, Martin Morgan wrote: On 07/02/2012 06:23 PM, Charlie Friedemann wrote: The error message you are getting makes it rather clear what the problem is. R is unable to find the function 'hasArg'. As the hasArg function is

Re: [Rd] Dependency problem for "hasArg"

2012-07-03 Thread Mauricio Zambrano-Bigiarini
On 02/07/12 22:51, Martin Morgan wrote: On 07/02/2012 06:23 PM, Charlie Friedemann wrote: The error message you are getting makes it rather clear what the problem is. R is unable to find the function 'hasArg'. As the hasArg function is part of the package 'methods', a solution would be to put re