Hello,
I had the same problem with Solaris 7 and 8. I just
re-compile readline (I used the readline-4.2) and recompile R
and no problem afterwards. I think it's better
not using the sunfreeware package of readline, it doesn't works properly
(1 year ago).
Good luck
PS
a/ to have static or shared library for readline 4.2 you have
2 different make steps (it is written in README somewhere and not
in the INSTALL file)
./configure
make
make intall
make shared
make install-shared
b/ I had some problem with bash2.05 and readline4.3 (on sparc-linux) so
may be readline4.3 is too new ?
On Mon, 20 Jan 2003, Russell D. Pierce wrote:
> I have compiled R under Solaris 7 (SunOS 5.7) with the readline-4.0
> library linked. Command line editing appears to work, but I cannot
> access command history. If I execute several commands in R, then type
> "history()", I get the error message "Error in
savehistory(file) : no
> history available to save". Also, previous command recall (C-p) does
> not seem to work. I am invoking R directly from a Korn shell prompt.
> Can you help?
>
> Russ Pierce
> Legerity, Inc.
> Reading, PA
>