How do I get gvarbrowser to display the contents of data.frame named, say
"atab1"? That is modify the "Filter by:" entries to only
show data.frame
Also, how do I turn off the selection pull down box, given that I know the
name of the data.frame variable? Basically, I will like to browse the
variable name in a data.frame
gdf(atab1, container =gwindow("Object browser"), expand=TRUE)
displays the data values, I an interest in showing just the names in a GUI
environment similar to gvarbrowser
I tried the following
age=18:29; height=1:12;
atab1 <- data.frame(age=age,height=height)
mydefaultclasses <- list("Data sets1"=c("data.frame")
)
v <- gvarbrowser(
container =gwindow("Object broser"),
gvarbrowser_classes=mydefaultclasses
)
This did not seem to work, displayed default selection entries
I also tried:
options("gWidgets:gvarbrowser_classes"=mydefaultclasses)
v <- gvarbrowser( container =gwindow("Object broser"))
--
View this message in context:
http://r.789695.n4.nabble.com/How-to-override-gWidgets-gvarbrowser-classes-tp4650509.html
Sent from the R help mailing list archive at Nabble.com.