Skip to content

Password-protect R script files

5 messages · Vijayan Padmanabhan, Kenn Konstabel, Joshua Wiley +2 more

#
On Sun, Apr 10, 2011 at 8:18 PM, Vijayan Padmanabhan
<padmanabhan.vijayan at gmail.com> wrote:
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
#
On Mon, Apr 11, 2011 at 12:21 AM, Kenn Konstabel <lebatsnok at gmail.com> wrote:
If ever fate predestined a reply to be a fortunes candidate, surely
this is the one.

Josh
#
On Sun, Apr 10, 2011 at 10:48:19PM +0530, Vijayan Padmanabhan wrote:
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.
#
On Windows at least, you could set it as "read only". The user can save 
an edited copy of it but cannot modify the original script.

Le 4/11/2011 09:36, Petr Savicky a ?crit :