Re: [R] Password-protect R script files

From: Kenn Konstabel <lebatsnok_at_gmail.com>
Date: Mon, 11 Apr 2011 10:21:51 +0300

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.
>



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. Received on Mon 11 Apr 2011 - 07:24:53 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 11 Apr 2011 - 08:00:29 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive