[ESS] Prevent ESS From Writing .Rhistory

Martin Maechler m@ech|er @end|ng |rom @t@t@m@th@ethz@ch
Fri Aug 26 09:52:07 CEST 2016


>>>>> Laurent Gatto <lg390 using cam.ac.uk>
>>>>>     on Fri, 26 Aug 2016 06:12:04 +0100 writes:

    > On 26 August 2016 02:52, RICHARD M. HEIBERGER wrote:

    >> yes i am sure
    >> 
    >> Sent from my iPhone
    >> 
    >>> On Aug 25, 2016, at 17:00, Stephen Eglen <sje30 using cam.ac.uk> wrote:
    >>> 
    >>> 
    >>>> Yes, the dots appear in the minibuffer.  Then when the minibuffer goes
    >>>> away, the password is displayed in the
    >>>> *R* buffer.
    >>> 
    >>> Are you sure?
    >>> 
    >>> When I do this:
    >>> 
    >>> cat(" Password: "); pwd <- readLines(file("stdin"), 1)
    >>> 
    >>> Then I all I see in *R* is:
    >>> Password: >
    >>> 
    >>> and I would consider it a bug to have the password echoed.  (Not just
    >>> for ESS but for shell/other comint modes).

    > Well, as far as I can tell, it does work as expected using

    > ess 16.04 [elpa 20160819.531]
    > emacs 24.5.1

for me, it works, too  (on Linux, same emacs version).

I assume this could be an R issue more than an ESS one, and am
guessing that Rich is on a platform where   file("stdin")   is
not well implemented (because of missing / flaky / ...  OS support),
Rich ?

Martin

    > Laurent

    >>> Stephen




More information about the ESS-help mailing list