From: jim holtman <jholtman_at_gmail.com>

Date: Sun, 20 Jul 2008 06:46:38 -0400

Date: Sun, 20 Jul 2008 06:46:38 -0400

PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. It would be nice to see at least a subset of the data you are reading. I would assume that if you are using 'read.table' to read in the data, then there is no reason for interpreting 'q()' as a quit command. Are you 'source'ing the data? So an example of both the script and the data are required to understand the problem you are trying to solve.

On Sun, Jul 20, 2008 at 6:41 AM, Roger Leenders <r.t.a.j.leenders_at_rug.nl> wrote:

*>
*

> R2.7.1, WinXP

*>
**> Hi,
**>
**> My question is probably easy to answer, but I can't seem to solve it myself.
**> I need to read in a large number of datasets that were generated by another
**> (old) software program. Each data file contains a bunch of additional code
**> generated by the external software. It lists the data per respondent. So
**> first the data for respondent 1, then the data for respondent 2, et cetera.
**> After the data for the final respondent, the file contains a , followed by
**> some zeroes. R now needs to read the data until the symbol. However,
**> whenever it encounters the symbol it interprets it as a quit command! So,
**> rather than continuing, R wants to quit on me.
**> How can I make R see the symbol as just a particular symbol and NOT as the
**> command to q()?
**>
**> Thanks, Roger
**>
**> ps. I hope the symbol is readable in the various email programs
**>
**> ______________________________________________
**> R-help_at_r-project.org mailing list
**> https://stat.ethz.ch/mailman/listinfo/r-help
**> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
**> and provide commented, minimal, self-contained, reproducible code.
**>
*

-- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem you are trying to solve? ______________________________________________ R-help_at_r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.Received on Sun 20 Jul 2008 - 10:51:45 GMT

Archive maintained by Robert King, hosted by
the discipline of
statistics at the
University of Newcastle,
Australia.

Archive generated by hypermail 2.2.0, at Sun 20 Jul 2008 - 11:31:57 GMT.

*
Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help.
Please read the posting
guide before posting to the list.
*