[R] interactive file choosing in Linux?

Derek Eder derek.eder at lungall.gu.se
Tue May 26 20:59:39 CEST 2009

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            
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."

More information about the R-help mailing list