[R] Easy cut & paste from Excel to R?

Ken Knoblauch knoblauch at lyon.inserm.fr
Fri Feb 18 21:48:31 CET 2005


You are right.  The warning disappears at exactly five lines of data,
not including the header.  

Well, how often do you come across a data.frame with less than 5 rows
and too many covariates to enter by hand?

kk


Quoting Peter Dalgaard <p.dalgaard at biostat.ku.dk>:

> Don MacQueen <macq at llnl.gov> writes:
> 
> > I tried Ken's suggestion
> >     read.table(pipe("pbpaste"),header=TRUE)
> > on my Mac OS X system and it worked *without* generating any warning
> message.
> 
> My conjecture is that it only happens when there are fewer than 5 data
> lines. 
> 
> We still need to sort out X11. Too bad that the xclip program isn't
> ubiquitous. 
> 
> -- 
>    O__  ---- Peter Dalgaard             Blegdamsvej 3  
>   c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
>  (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
> ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
> 



____________________
Ken Knoblauch
Inserm U 371
Cerveau et Vision
18 avenue du Doyen Lepine
69675 Bron cedex
France
tel: +33 (0)4 72 91 34 77
fax: +33 (0)4 72 91 34 61
portable: 06 84 10 64 10




More information about the R-help mailing list