Re: [R] how to hide code of any function

2012-03-22 Thread Greg Snow
See the 'petals' function in the TeachingDemos package for one example of hiding source from casual inspection (intermediate level R users will still easily be able to figure out what the key code is, but will not be able to claim that they stumbled across it on accident). This post gives another

[R] how to hide code of any function

2012-03-15 Thread mrzung
hi I'm making some program and it need to be hidden. it's not commercial purpose but it is educational, so i do want to hide the code of function. for example, if i made following function: a-function(x){ y-x^2 print(y) } i do not want someone to type a and take the code of the function.

Re: [R] how to hide code of any function

2012-03-15 Thread Duncan Murdoch
On 15/03/2012 8:53 AM, mrzung wrote: hi I'm making some program and it need to be hidden. it's not commercial purpose but it is educational, so i do want to hide the code of function. for example, if i made following function: a-function(x){ y-x^2 print(y) } i do not want someone to type