Displaying 2 results from an estimated 2 matches for "d0b88325".
2016 Jun 08
0
readlines() truncates text file with Codepage 437 encoding
...find the "uncleaned" e-mail and extract the
attachment from it))
Martin Maechler
ETH Zurich
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 437__characters.txt
URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20160608/d0b88325/attachment.txt>
-------------- next part --------------
>>>>> Adam Obeng <adam.obeng at columbia.edu>
>>>>> on Mon, 6 Jun 2016 11:11:21 +0100 writes:
> Hello r-devel, The attached Code page 437-encoded file
> contains 245 characters (includ...
2016 Jun 06
2
readlines() truncates text file with Codepage 437 encoding
Hello r-devel,
The attached Code page 437-encoded file contains 245 characters
(including the final newline), but readLines only reads 242 of them:
> test_text <- readLines(file('437__characters.txt', encoding='437'))
Warning message:
In readLines(file("437__characters.txt", :
incomplete final line found on '437__characters.txt'
> test_text
[1]