R-alpha: Second patch for 0.50-a1: cut(.) fails .. -- PATCH (?!)
Martin Maechler
Martin Maechler <maechler@stat.math.ethz.ch>
Fri, 8 Aug 1997 17:15:10 +0200
It was not only cut(.) but also formatC(.)
whose .C(..) calls gave the
>>>> Error: character variables must be duplicated in .C/.Fortran
Looking a bit at src/main/dotcode.c
(and reading Ross' explanation that it was a "variable initialization problem")
I decided to
REPLACE line 413 in src/main/dotcode.c
which (after the patch) reads
*dup = 0;
by
*dup = 1;
---
and yes, this seems to solve the problem.
'make tests' at least works and gives about the same as with 0.50 Alpha-2.
----
Martin
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel 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-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-