[R-gui] ghelp() and ghelpbrowser() under R 2.10.1
Yihui Xie
xie at yihui.name
Sun Mar 28 23:08:26 CEST 2010
Hi all,
I'm wondering if ghelp() really works under R 2.10.1. I tried it under
Windows but it does not work...
> library(gWidgets)
> ghelpbrowser()
Select a GUI toolkit
1: gWidgetsRGtk2
2: gWidgetsrJava
3: gWidgetstcltk
4: gWidgetsWWW
Selection: 1
Loading required package: gWidgetsRGtk2
guiWidget of type: gHelpbrowserRGtk for toolkit: guiWidgetsToolkitRGtk2
Error in gzfile(file, "r") : cannot open the connection
In addition: Warning message:
In gzfile(file, "r") :
cannot open compressed file '', probable reason 'No such file or directory'
> traceback()
5: gzfile(file, "r")
4: read.dcf(system.file("CONTENTS", package = package))
3: getContentsOfPackage(package)
2: handler(...)
1: function (...)
{
val <- handler(...)
if (!is.logical(val))
return(TRUE)
else return(val)
}(list(obj = <S4 object of class "gGridRGtk">), <pointer: 0x026dd248>,
<pointer: 0x02781fd8>, <pointer: 0x01ae3940>)
> obj <- ghelp(container=TRUE)
> add(obj,"base:::mean")
Error in file(con, "r") : cannot open the connection
In addition: Warning message:
In file(con, "r") :
cannot open file 'C:/PROGRA~1/R/library/base/help/mean': No such
file or directory
> sessionInfo()
R version 2.10.1 (2009-12-14)
i386-pc-mingw32
locale:
[1] LC_COLLATE=Chinese_People's Republic of China.936
LC_CTYPE=Chinese_People's Republic of China.936
[3] LC_MONETARY=Chinese_People's Republic of China.936 LC_NUMERIC=C
[5] LC_TIME=Chinese_People's Republic of China.936
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] gWidgetsRGtk2_0.0-64 gWidgets_0.0-40 animation_1.1-2
MASS_7.3-5
loaded via a namespace (and not attached):
[1] RGtk2_2.12.18 tools_2.10.1
Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Phone: 515-294-6609 Web: http://yihui.name
Department of Statistics, Iowa State University
3211 Snedecor Hall, Ames, IA
More information about the R-SIG-GUI
mailing list