[R] Password-protect R script files

Petr Savicky savicky at praha1.ff.cuni.cz
Mon Apr 11 09:36:05 CEST 2011


On Sun, Apr 10, 2011 at 10:48:19PM +0530, Vijayan Padmanabhan wrote:
> There was a question in R forum very long time back.. on how to protect R
> Script files from inadvertent editing by users.
> There is a way to do this  from within R, atleast in Windows XP I have tried
> this and it certainly works , 

A possible approach is to put the script into an extension package. This
does not prevent the user to modify the script, but makes it almost
impossible to change it inadvertently.

Petr Savicky.



More information about the R-help mailing list