Michael, thanks for tracking this down, excellent work! The reason for CRAN R binary working is simply that it uses GNU readline instead of Apple's libedit (which is disguised as readline btw). A simple work-around is therefore to install GNU readline (see the R for Mac OS X FAQ for details, don't forget -DNEED_EXTERN_PC).
I think I may be able to reproduce this on my laptop, I'll try that tomorrow and see if I can fix it. Cheers, Simon On May 16, 2006, at 12:27 PM, Michael Toews wrote: > Hi, > The problem is actually R's inability to print the version number > normally .. for instance typing: './bin/R --version' produces the > proper output, but './bin/R --version | cat' does not produce any > output ('help2man' reads an empty strings, and throws an error). > > The only solution for now is to download a pre-compiled version from > CRAN, since it works perfectly (including 'R --version | cat'). > > However, I have tracked down the vulnerability to: > sys-std.c: In function 'pushReadline': > sys-std.c:497: warning: passing argument 2 of > 'rl_callback_handler_install' from incompatible pointer type > sys-std.c: In function 'popReadline': > sys-std.c:513: warning: passing argument 2 of > 'rl_callback_handler_install' from incompatible pointer type > [...] _______________________________________________ R-SIG-Mac mailing list R-SIG-Mac@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac