Re: [R] Clipboard size?

From: Rich FitzJohn <rich.fitzjohn_at_gmail.com>
Date: Thu 21 Apr 2005 - 11:11:20 EST

Hi Chris,

>From ?file:

Clipboard:
...

     When writing to the clipboard, the output is copied to the
     clipboard only when the connection is closed or flushed. There is
     a 32Kb limit on the text to be written to the clipboard. This can
     be raised by using e.g. 'file("clipboard-128")' on NT-based
     versions of Windows, to give 128Kb.

So,
> write.table(dm, "clipboard", sep="\t")
Warning message:
clipboard buffer is full and output lost
> write.table(dm, "clipboard-128", sep = "\t")
>

Cheers,
Rich

On 4/21/05, Chris Bergstresser <chris@subtlety.com> wrote:
> Hi all --
>
> I have a matrix of doubles (roughly 30x80) which I'd like to copy to
> the clipboard. However, as the following shows:
>
> > dm = matrix(runif(30 * 80), nrow = 80)
> > write.table(dm, "clipboard", sep = "\t")
> Warning message:
> clipboard buffer is full and output lost
>
> Is there any way to increase the buffer? Obviously, other programs
> don't have the same limitations (i.e., I can copy the same volume of
> data from Excel or my text editor and paste it into R without a problem)
>
> -- Chris
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

-- 
Rich FitzJohn
rich.fitzjohn <at> gmail.com   |    http://homepages.paradise.net.nz/richa183
                      You are in a maze of twisty little functions, all alike

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Thu Apr 21 11:14:52 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:20 EST