Re: [Rd] Perhaps a stupid question about clipboards....

From: Prof Brian Ripley <>
Date: Fri 12 Jan 2007 - 09:01:02 GMT

On Thu, 11 Jan 2007, Byron Ellis wrote:

> On 1/11/07, Martin Maechler <> wrote:
>> Byron> Why is the clipboard accessed through file() and not,
>> Byron> say, a clipboard() connection? Is there a good reason
>> Byron> for this or is it simply historical?
>> Why use a new function name for just one special case?
>> Or do you ask because it would help *find* the feature?
> For the same reason that pipes have their own function? Additionally,
> some systems have named clipboards (e.g. OS X and IIRC X11, though
> that may require an extension of some sort) that you might want to
> access explicitly.

X11 has two, and with an extension three, and all can be accessed via file().

> Actually, ?clipboard turns up the right help page so if you didn't
> know that there wasn't such a function you'd end up at the right place
> (if perhaps a bit confused). As it happens, I use OS X so I had to use
> pipe() since there isn't built in functionality. :-)

That is because no one has contributed it. Please do so yourself. When you do, please bear in the mind the convenience factor I pointed out earlier in this thread.

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
Received on Fri Jan 12 20:04:52 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 12 Jan 2007 - 19:32:37 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.