[R-gui] Post hoc tweeking of ggenericwidget?
christiaan pauw
cjpauw at gmail.com
Fri Dec 2 14:49:40 CET 2011
Hi Everybody
ggenericwidet in the gWidgets package is really handy - you can get a
basic gui for your function in just about no time. Now I just want to
tweek it a little bit. For example: I want to use gvarbrowser to
select x . Can this type of object be manipulated after the initial
creation or must be all be done when it is created? If
In the process of trying to ascertain this, I tried to see the
structure of the object created by ggenericwidget. This is what
happened:
x=ggenericwidget("boxplot.default", container=TRUE) # example from
the help file
str(x)
# I am trying to use str() to see the structure of x so that I
can figure out how to manipulate certain aspect
Error in function (classes, fdef, mtable) :
unable to find an inherited method for function ".length", for
signature "gGenericWidgetANY", "guiWidgetsToolkitRGtk2"
Is this a problem in my system or is the object not accesable to str() ?
Thanks in advance
Christiaan
> sessionInfo()
R version 2.14.0 (2011-10-31)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] splines stats graphics grDevices utils datasets
methods base
other attached packages:
[1] cjp_1.1 Hmisc_3.9-0 survival_2.36-10
RGtk2_2.20.19 gWidgetsRGtk2_0.0-77 traitr_0.12
[7] gWidgets_0.0-47 proto_0.3-9.2 digest_0.5.1
loaded via a namespace (and not attached):
[1] cluster_1.14.1 grid_2.14.0 lattice_0.20-0 tools_2.14.0
--
Christiaan Pauw
Nova Institute
www.nova.org.za
More information about the R-SIG-GUI
mailing list