[R] write.table

Thomas Lumley tlumley at u.washington.edu
Wed Apr 10 18:17:21 CEST 2002


On 10 Apr 2002, Michaell Taylor wrote:

>
> I actually remember something about that in R 1.3, but I am using R 1.4
> now :
>
> R : Copyright 2001, The R Development Core Team
> Version 1.4.0  (2001-12-19)
>
> (I just double checked).
>
> BUT, I see I am one step out of date in the foreign library. I have
> foreign_0.4-6.tar.gz, but I see a  foreign_0.5-2.tar.gz on cran, so
> perhaps that is the issue.
>

You're actually a few steps out of date.  According to the Changelog the
bug was fixed in November and 0.4-8 was released in December.

The problem is that R sometimes uses the C length of a string and
sometimes uses the allocated length, and that read.dta was making these
differ.

	-thomas

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list