[R] Remove entry with sensitive information from history

David Winsemius dwinsemius at comcast.net
Wed May 27 09:45:14 CEST 2015


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