Displaying 2 results from an estimated 2 matches for "c_readtablehead".
2014 Apr 21
1
read.table() code fails outside of the utils package
...was
easy to experiment with its source code, as it all worked just fine
when run at the top level or from inside any other package.
In R 3.1.0, that is no longer true. The read.table() source ONLY works
when run from inside the "utils" package. The (only) culprit is this:
.External(C_readtablehead, file, 1L, comment.char, blank.lines.skip, quote, sep, skipNul)
Older versions of read.table() instead did this, which ran fine from
any package; this entry point no longer exists:
.Internal(readTableHead(file, nlines, comment.char, blank.lines.skip, quote, sep))
The C implementation of readT...
2018 Feb 04
1
Unexpected behaviour from read.table
I?ve been struggling with seemingly ?corrupt? data.frames for a few days, and believe I?ve narrowed the problem down to some odd behaviour from read.table
I receive a tab delimited file from an external provider where strings are encoded as =?content?. Not sure why, perhaps as most users open it in Excel.
My specific issue is that trailing spaces in any of the strings are causing strange results