[R] large lines of data

Barry Rowlingson B.Rowlingson at lancaster.ac.uk
Wed Feb 8 13:00:36 CET 2006


Sara Mouro wrote:
> Dear All,
> 
>  
> 
> I have to enter many lines of data in the same object.
> 
> I usually use copy-paste to transfer data from an Word file to R.
> 

> What is the best way to do that?

  Use 'Save As' to save your Word file - or rather just the data section 
- as a plain text or Ascii file. Then read into R with scan() or 
read.table() as appropriate.


Barry




More information about the R-help mailing list