Re: [R] Password-protect R script files

2011-04-11 Thread Ivan Calandra
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 : On Sun, Apr 10, 2011 at 10:48:19PM +0530, Vijayan Padmanabhan wrote: There was a question in R forum very long time bac

Re: [R] Password-protect R script files

2011-04-11 Thread Petr Savicky
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 w

Re: [R] Password-protect R script files

2011-04-11 Thread Joshua Wiley
On Mon, Apr 11, 2011 at 12:21 AM, Kenn Konstabel wrote: > On Sun, Apr 10, 2011 at 8:18 PM, 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. > > The good way to do it is to include the follo

Re: [R] Password-protect R script files

2011-04-11 Thread Kenn Konstabel
On Sun, Apr 10, 2011 at 8:18 PM, 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. The good way to do it is to include the following comment at the beginning: # This is a holy Script, please ed

[R] Password-protect R script files

2011-04-10 Thread Vijayan Padmanabhan
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 , The method is very different from the OS based folder protection rout