Displaying 1 result from an estimated 1 matches for "53d4b432f7".
2014 May 14
1
Bug in read.dcf(all = TRUE)?
Hi,
read.dcf() can modify the locale variable LC_CTYPE, and here is a
minimal example:
> Sys.getlocale('LC_CTYPE')
[1] "en_US.UTF-8"
> read.dcf(textConnection('a: b'), all = TRUE)
a
1 b
> Sys.getlocale('LC_CTYPE')
[1] "C"
After diagnosing the problem, it seems the on.exit() call in
read.dcf() is the culprit: