[R] interactive file choosing in Linux?
Juergen Rose
rose at rz.uni-potsdam.de
Wed May 27 11:27:42 CEST 2009
Am Dienstag, den 26.05.2009, 21:05 +0200 schrieb Romain Francois:
> Hi,
>
> You might like tk_choose.files from package tcltk. This comes with R but
> your system needs to be capable enough:
>
> > capabilities( )["tcktk"]
> > require( tcltk )
> > tk_choose.files
I suppose it should be
> capabilities( )["tcltk"]
> Romain
>
> Derek Eder wrote:
> > I am used to using the [R] function choose.files() for interactive file selection in MS-Windows.
> >
> > What is the comparable function in Linux? I expected the function file.choose() to display similar behavior, i.e., a graphical interface diplaying a file listing, but all I seem to get is a "text input prompt". This does not seem correct.
> >
> > > file.choose()
> > Enter file name:
> >
> > I have seen gfile() function in the gWidgets library - but isn't there anything native?
> >
> > Thank you!
> >
> >
> > Derek Eder
> >
> >
> >
> >
> >
> > Linux: Ubuntu 9.04, Gnome, [R] running in terminal or ESS GTK_Emacs (doesn't make any difference to the above).
> >
> >
> >
> >> version _
> >>
> > platform i486-pc-linux-gnu
> > arch i486
> > os linux-gnu
> > system i486, linux-gnu
> > status
> > major 2
> > minor 8.1
> > year 2008
> > month 12
> > day 22
> > svn rev 47281
> > language R
> > version.string R version 2.8.1 (2008-12-22)
> >
> >
> >
> > Derek N. Eder
> > Gothenburg University
> > Vigilance and Neurocognition Laboratory
> > Medicinaregatan 8B
> > Gothenburg Sweden
> > SE 405 30
> >
> > tlf (031) 342-8261
> > mobil 0704 915 714
> >
> >
> > "All created things are impermanent — Strive diligently."
> >
> > ______________________________________________
> > 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.
> >
> >
> >
>
>
--
Juergen Rose <rose at rz.uni-potsdam.de>
Uni Potsdam
More information about the R-help
mailing list