I am trying to move passwords that are currently hard coded in R code into "encrypted"/encoded file on disk.
I would like to do it in similar way as SAS PWENCODE procedure does ( http://support.sas.com/documentation/cdl/en/proc/63079/HTML/default/viewer.htm#n0ii0upf9h4a67n1bcwcesmo4zms.htm , ODBC Password Security in SAS).
Is there something similar in R? What approaches do you use to store passwords in R for the code that needs to be run periodically without human intervention in the form of typing passwords?
EDIT: Forgot to mention: the only thing that looks similar to me is RCurl::base64() .