Michael Nelson
2013-Apr-23 06:32 UTC
[Rd] httpd error with and help_type = 'html', package = NULL
Having loaded a package that masks an object from another package, calling help(conflictedname, help_type = 'html') instead of producing a page giving the choices of help page available The page produced is Error in httpd("/library/NULL/help/nobs", NULL, NULL, c(48, 6f, 73, 74, : replacement has length zero This example is reproduced using library(gdata) help(nobs, help_type = 'html') sessionInfo() R version 3.0.0 (2013-04-03) Platform: i386-w64-mingw32/i386 (32-bit) locale: [1] LC_COLLATE=English_Australia.1252 LC_CTYPE=English_Australia.1252 LC_MONETARY=English_Australia.1252 LC_NUMERIC=C LC_TIME=English_Australia.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] gdata_2.12.0.2 loaded via a namespace (and not attached): [1] gtools_2.7.1 tools_3.0.0 There are no issues when using help_type = 'pdf' or help_type = 'text' Michael
Prof Brian Ripley
2013-Apr-23 13:07 UTC
[Rd] httpd error with and help_type = 'html', package = NULL
Is this not PR#15282? No one has got to it yet. On 23/04/2013 07:32, Michael Nelson wrote:> Having loaded a package that masks an object from another package, calling > > > help(conflictedname, help_type = 'html') > > > instead of producing a page giving the choices of help page available > > The page produced is > > Error in httpd("/library/NULL/help/nobs", NULL, NULL, c(48, 6f, 73, 74, : > replacement has length zero > > > This example is reproduced using > > library(gdata) > help(nobs, help_type = 'html') > > > > sessionInfo() > R version 3.0.0 (2013-04-03) > Platform: i386-w64-mingw32/i386 (32-bit) > > locale: > [1] LC_COLLATE=English_Australia.1252 LC_CTYPE=English_Australia.1252 LC_MONETARY=English_Australia.1252 LC_NUMERIC=C LC_TIME=English_Australia.1252 > > attached base packages: > [1] stats graphics grDevices utils datasets methods base > > other attached packages: > [1] gdata_2.12.0.2 > > loaded via a namespace (and not attached): > [1] gtools_2.7.1 tools_3.0.0 > > > There are no issues when using help_type = 'pdf' or help_type = 'text' > > > Michael > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595