Narendra Modi
2016-Oct-14 14:00 UTC
[R] Share R.net dll without having to share R script code?
Hello Gurus, I have built a code snippet using R.net wherein I call couple of R scripts to run optimization packages and use the output in C# code. The way I call the R scripts is just by providing its location in the C# code. So, if I have to share the .dll of the complete program, I will also have to share the R scripts; actual code. Is there anyway to avoid it; not having to share the r script code with users/testers. I am considerably new to R. Any suggestion in this direction is appreciated! Regards, NM
Duncan Murdoch
2016-Oct-14 14:18 UTC
[R] Share R.net dll without having to share R script code?
On 14/10/2016 10:00 AM, Narendra Modi wrote:> Hello Gurus, > > I have built a code snippet using R.net wherein I call couple of R > scripts to run optimization packages and use the output in C# code. > The way I call the R scripts is just by providing its location in the > C# code. > > So, if I have to share the .dll of the complete program, I will also > have to share the R scripts; actual code. Is there anyway to avoid it; > not having to share the r script code with users/testers. > I am considerably new to R. Any suggestion in this direction is appreciated! >I don't know what the R.net .dll is, but if it includes R, you need to share the complete source code of anything you distribute that includes it. The R scripts will be only a small part of that. Sharing less than that is a copyright violation, since you are only licensed to distribute R under the GPL license, and it requires that you share code of the original and your modifications. Duncan Murdoch
Narendra Modi
2016-Oct-14 14:43 UTC
[R] Share R.net dll without having to share R script code?
Thanks Duncan. That's useful to know. On Fri, Oct 14, 2016 at 9:18 AM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote:> On 14/10/2016 10:00 AM, Narendra Modi wrote: >> >> Hello Gurus, >> >> I have built a code snippet using R.net wherein I call couple of R >> scripts to run optimization packages and use the output in C# code. >> The way I call the R scripts is just by providing its location in the >> C# code. >> >> So, if I have to share the .dll of the complete program, I will also >> have to share the R scripts; actual code. Is there anyway to avoid it; >> not having to share the r script code with users/testers. >> I am considerably new to R. Any suggestion in this direction is >> appreciated! >> > > I don't know what the R.net .dll is, but if it includes R, you need to share > the complete source code of anything you distribute that includes it. The R > scripts will be only a small part of that. > > Sharing less than that is a copyright violation, since you are only licensed > to distribute R under the GPL license, and it requires that you share code > of the original and your modifications. > > Duncan Murdoch >