[R] Password-protect R script files

Kenn Konstabel lebatsnok at gmail.com
Mon Apr 11 09:21:51 CEST 2011


On Sun, Apr 10, 2011 at 8:18 PM, Vijayan Padmanabhan
<padmanabhan.vijayan at gmail.com> wrote:
> There was a question in R forum very long time back.. on how to protect R
> Script files from inadvertent editing by users.

The good way to do it is to include the following comment at the beginning:

# This is a holy Script, please edit it not


Regards,
Kenn Konstabel

> There is a way to do this  from within R, atleast in Windows XP I have tried
> this and it certainly works , The method  is very different from the OS
> based folder protection route,  however making available such a method in
> the open forum would only kill the very spirit of R.
> But if someone is able to convince me the genuineness of his reasons to
> achieve such a purpose, I might decide to provide selective service to
> achieve the same.
>
> Regards
> Vijayan Padmanabhan
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list