search for: stringitem

Displaying 2 results from an estimated 2 matches for "stringitem".

2012 Apr 24
0
help with GUI interface
...ot;,"*.txt") ), "All files" = list(patterns=c("*")) ))), header=trueFalseItem(TRUE, tooltip=paste("Variable onfirst line?")), fill=trueFalseItem(TRUE, tooltip="Fill unequal length rows if TRUE"), sep=stringItem("", tooltip="Field separator character"), ## our things assign.to=stringItem("shapefile", label="Assign to:"), output=tableItem(attr=list(size=c(500,500)), show_label=TRUE), file.type=stringItem("") ), title="Nov...
2010 May 18
1
GUI commands to call for a protein from protein data bank
...t it always ends up being protein. My question is how to you make the input for read.pdb actually be the input by the user and not protein code. I want to be able to type 1ly2, and for the program to actually display the contents of 1ly2. Thanks! Code: dlg <- aDialog(items=list( ProteinCode=stringItem("") ), OK_handler=function(.) { # . is reference to dlg object values <- .$to_R() f <- function(ProteinCode) pdb <- read.pdb("ProteinCode") do.call(f, values) } ) dlg$make_gui() -- View this message in context: http://r.789695.n4.nabble.com/GUI-commands-to-call-for-a-p...