[R] large lines of data

Sean Davis sdavis2 at mail.nih.gov
Wed Feb 8 12:59:56 CET 2006




On 2/8/06 6:55 AM, "Sara Mouro" <sara at gmesintra.com> 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.
> 
> But, for large lines of data, R gets "confused" and gives an error message,
> i.e. it breaks one line somewhere, and lines get no meaning at all.
> 
>  
> 
> Some times I solve that problem adding "enters" and making each line
> shorter, before I do copy-paste. Some times I add "spaces" in the word
> document, until R breaks each line (automatically adds a +) in any point
> where it still correct..
> 
> But it stills too "subjective" for me!   :o\
> 
>  
> 
> What is the best way to do that?

I assume you mean that you are editing "code" and then pasting into R.  If
so, you might look into using one of several editors that "work with" R.
Look in the mail archives for some of these.

Sean




More information about the R-help mailing list