[R] help for fgui

From: David L Lorenz <lorenz_at_usgs.gov>
Date: Tue, 12 Apr 2011 14:30:36 -0500

Anybody use fgui? I find it very handy.

I have a question about an argument to the call to gui in the first example. The argument is argFilter, my question has to do with specifying multiple filters. The argument in that example is

            argFilter=list(flname="{{Text files} {.txt}}") ) ## note space inbetween the braces!

The problem that I need to solve is that for certain types of files, I may want to have the user choose between a couple of different suffixes or be able to look at all files.

Including multiple extensions is easy-- comma separated extensions work. But I can't figure out any way to have the user be able to search first for text files, and if the suffix is not .txt, switch to {Any Files} {*.*}. I am not familiar with tcl, which I assume uses this knid of construct.

Any help would be appreciated.

        [[alternative HTML version deleted]]

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Tue 12 Apr 2011 - 19:32:53 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 12 Apr 2011 - 19:40:30 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive