I was wondering if it is possible read a specific part of a text file in R
without importing whole file.

For example, I want to read a number where is located on the line 30 and
columns between 2 and 4. Say the number is 456. can I see it without
opening the file. I want to learn how to do this because I am doing many
analyses which result in the same style output. I just need to read only
one line in these outputs.


Is there any specific function for this purpose? I googled it but did not
find anything helpful.

-- 
*Sedat
*

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to