Re: [R] Protecting elements within a function

2010-05-07 Thread Joris Meys
Short answer : No, and you shouldn't. Longer answer: R is built under the GNU GPL license version 2. So the idea is that whenever you make something for R and spread it around, you give the source code as well. If you don't want functions to be loaded in the general environment, you can eg create

[R] Protecting elements within a function

2010-05-06 Thread Megh Dal
Hi all, previously I submitted this thread through Nabble which seems fail therefore sending it again suppose I have written following function :  fn = function(x) return(x+x^2)  fn  function(x) return(x+x^2)  Here you see, if I type only the function name all inside information of this