[R] Remove entry with sensitive information from history

Luca Cerone luca.cerone at gmail.com
Wed May 27 10:17:44 CEST 2015


Hi David, thanks, but the function has to work from an R shell, I have
no graphical server in my remote machines.

On Wed, May 27, 2015 at 9:45 AM, David Winsemius <dwinsemius at comcast.net> wrote:
>
> On May 27, 2015, at 12:29 AM, Luca Cerone wrote:
>
>> Hi everybody,
>>
>> in one of my packages I store encrypted password.
>>
>> If the user has to change the password in use she can run:
>>
>> update_password(old_password, new_password)
>>
>> The problem is that the commands ends up in the .Rhistory file.
>>
>> Is there any way I can avoid this? Any suggestion about it?
>>
>
> Write a small password verification program in Rcpp or tcl and then call it to handle the dialog. In the past Greg Snow has suggested: "The tkexamp function in the TeachingDemos package can help with creating tcltk dialog boxes. "
>
> --
>
> David Winsemius
> Alameda, CA, USA
>



More information about the R-help mailing list