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
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
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.
3 matches
Mail list logo