Re: [R] large lines of data

From: Sean Davis <sdavis2_at_mail.nih.gov>
Date: Wed 08 Feb 2006 - 22:59:56 EST

On 2/8/06 6:55 AM, "Sara Mouro" <sara@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



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:25:51 2006

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