position of the end of a text file
Couldn't you also just count the number of characters with nchar()? Michael Weylandt
On Oct 17, 2011, at 1:57 AM, Henri-Paul Indiogine <hindiogine at gmail.com> wrote:
I think I have it and my apologies for spamming the list. I should
not work this late on Sunday :-)
I think that it should be
as.integer(regexpr("$$", my.text.vector)
2011/10/16 Henri-Paul Indiogine <hindiogine at gmail.com>:
I tried the following
as.integer(regexpr("??", my.text.vector)
-- Henri-Paul Indiogine Curriculum & Instruction Texas A&M University TutorFind Learning Centre Email: hindiogine at gmail.com Skype: hindiogine Website: http://people.cehd.tamu.edu/~sindiogine
______________________________________________ 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.