[R] File Handling in R

2012-06-28 Thread HIMANSHU MITTAL
Hello all,
I have a txt file with some data which isn't in any organized form like a
table, but just simple text.
Is there any way to read the file char by char and store the necessary
characters?

Regards,
Himanshu Mittal

[[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.


Re: [R] File Handling in R

2012-06-28 Thread R. Michael Weylandt michael.weyla...@gmail.com
Take a look at scan and/or readLines

Michael

On Jun 28, 2012, at 9:02 AM, HIMANSHU MITTAL hm3...@gmail.com wrote:

 Hello all,
 I have a txt file with some data which isn't in any organized form like a
 table, but just simple text.
 Is there any way to read the file char by char and store the necessary
 characters?
 
 Regards,
 Himanshu Mittal
 
[[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.

__
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.