Re: [Rd] [R] choose folder interactively

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Wed, 28 Nov 2012 13:56:44 +0000

On 28/11/2012 13:43, R. Michael Weylandt wrote:
> On Wed, Nov 28, 2012 at 12:47 PM, Duncan Murdoch
> <murdoch.duncan_at_gmail.com> wrote:
>> On 12-11-28 7:39 AM, Ivan Calandra wrote:
>>>
>>> Dear users,
>>>
>>> I am looking for a function to choose a folder interactively, just like
>>> file.choose() but for a folder.
>>>
>> "choose.dir()" does exist on Windows, so you could switch to that OS, or
>> write your own equivalent for MacOS.
>
> Is this the sort of thing for which a patch to the Mac-specific code
> would be welcomed/of some interest by R-Core or are their good reasons
> this doesn't already exist?

Yes, it would be of interest. It would need to rely on Aqua/Quartz and be written in Objective-C: unless something is done for the Quartz event loop in command-line R (which is not impossible as the quartz() device does so), it would be confined to R.app.

The main constraint is that we have very few people who know enough about Mac GUI programming (and Objective-C) and R internals.

It was simple enough on Windows as we already had choose.files (and a GUI for file.choose): that would also be worthwhile on a Mac. We also has someone keen enough on Windows GUI programming (although he did not last long).

> Michael
>
> ______________________________________________
> R-devel_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
Brian D. Ripley,                  ripley_at_stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Wed 28 Nov 2012 - 13:58:55 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

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 Wed 28 Nov 2012 - 19:01:35 GMT.

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

list of date sections of archive