[R] Error while displaying help page of a function existing inside two different loaded libraries

Pascal Oettli kridox at ymail.com
Wed Apr 10 05:31:39 CEST 2013


Dear R users,

I recently upgraded R from version 2.15.3 to version 3.0.0 (after 
removing version 2.15.3 and cleaning installation directory) using the 
package provided by openSUSE (R-base).

I am now running into an issue when two loaded packages share the same 
name for a function.

For example, "image" (packages graphics and gstat) and "dotchart" 
(packaged graphics and survey) functions.

In R-2.15.3, a choice was displayed, in order to choose the function 
within the desired package.

In R-3.0.0, an error appears inside the web browser (Firefox):

?image
Error in httpd("/library/NULL/help/image", NULL, NULL, c(48, 6f, 73, 74, 
  : replacement has length zero

?dotchart
Error in httpd("/library/NULL/help/dotchart", NULL, NULL, c(48, 6f, 73, 
  : replacement has length zero


Did anybody else already encounter this issue? Or is it a problem with 
my own installation?


Herewith is the result of "sessionInfo"

 > sessionInfo()
R version 3.0.0 (2013-04-03)
Platform: x86_64-suse-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

other attached packages:
[1] survey_3.29-4 gstat_1.0-16  sp_1.0-8

loaded via a namespace (and not attached):
[1] grid_3.0.0       intervals_0.14.0 lattice_0.20-15  spacetime_1.0-4
[5] tools_3.0.0      xts_0.9-3        zoo_1.7-9


Best Regards,
Pascal Oettli



More information about the R-help mailing list