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. Michael Weylandt <michael.weylandt@gmail.com>
2012-Jun-28 15:02 UTC
[R] File Handling in R
Take a look at scan and/or readLines Michael On Jun 28, 2012, at 9:02 AM, HIMANSHU MITTAL <hm3286 at 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 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.