[R] tkclipboard.append(...) and TCL_LIBRARY not set

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Fri Nov 22 18:45:09 CET 2002

On Fri, 22 Nov 2002, Matej Cepl wrote:

> ripley at stats.ox.ac.uk wrote:
> > > Will this function do what I seek? Or if not, does anyone
> > > know of such an R function?
> >
> > This doesn't make sense to me.  An R object is not something
> > the clipboard can understand.  What exactly do you want to copy
> > to the clipboard? The contents of a character vector, perhaps?
> Do not want to argue with prof. Ripley, but I have just got my
> hand on a copy of MASS (and it is really great book, thanks!),
> and there I read on page 34: ``The filename clipboard may be used
> on Windows to refer to the Windows clipboard for input or output
> (but the file length is limited to 32Kb).''

You must have got an obselete edition, then!  (It's not in the current
edition.)  It talks about data files, not S-PLUS objects in the third

> So it was possible to do something like it even on the late
> Windows 3.*. Why it shouldn't be possible now (or was the feature
> in S-PLUS such disaster?).

Because we are talking about the difference between objects and data
files.  I think Graham meant the result of printing the object, not the
object itself.

One day it will be possible to use "clipboard" on R for Windows too, but
the amount of programming needed looked non-trivial to Guido and I when we
looked at it.

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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list