[Rd] R-1.0.0 on alpha/osf1 memory glitch (PR#490)

Ray Brownrigg Ray.Brownrigg@mcs.vuw.ac.nz
Tue, 21 Mar 2000 09:12:59 +1200 (NZST)


> Hmm. In system.c we have
> 
>     case SA_SAVE:
> 	if(runLast) R_dot_Last();
> 	if(R_DirtyImage) R_SaveGlobalEnv();
> #ifdef HAVE_LIBREADLINE
> #ifdef HAVE_READLINE_HISTORY_H
> 	if(R_Interactive && UsingReadline)
> 	    stifle_history(R_HistorySize);
> 	write_history(R_HistoryFile);
> #endif
> #endif
> 	break;
> 
> Could you try making that
> 
>         if(R_Interactive && UsingReadline) {
>             stifle_history(R_HistorySize);
>             write_history(R_HistoryFile);
> 	}
> 
I can confirm that this change works in my situation.

Thanks,
Ray Brownrigg
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._