Re: [R] Line numbers of scan(0

From: Lisa <>
Date: Thu, 28 Apr 2011 20:07:00 -0700 (PDT)

I am trying to write a function to check unusual values in my datasets and correct them. As some R users suggested, I try to use readline() and scan() in my function. Suppose there are several unusual values in a dataset. I want to change the line numbers in scan() to something like: unusual value 1, unusual value 2 and so on. I think this can make the correction much easier.

View this message in context:
Sent from the R help mailing list archive at

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Fri 29 Apr 2011 - 04:07:33 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 Fri 29 Apr 2011 - 05:00:33 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive