Re: [R] large lines of data

From: Barry Rowlingson <B.Rowlingson_at_lancaster.ac.uk>
Date: Wed 08 Feb 2006 - 23:00:36 EST

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



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 Wed Feb 08 23:12:07 2006

This archive was generated by hypermail 2.1.8 : Fri 10 Feb 2006 - 20:04:31 EST