[R] Share R.net dll without having to share R script code?
dwinsemius at comcast.net
Tue Oct 18 03:04:15 CEST 2016
> On Oct 17, 2016, at 3:22 PM, Narendra Modi <bjpmodi2016 at gmail.com> wrote:
> Hi Bob,
> Could you explain a bit more on this? How do I use/configure base64?
> Any document/example do you have?
I get the idea that this line of inquiry is designed to obfuscate R code and derivative works, which in turn I see as an effort to defeat the open source nature of the R movement. It at least violates the spirit of the various licenses under which R and the CRAN packaging policies are distributed.
I'm suggesting that those people who support an open source basis of R not continue to use Rhelp as a venue for an effort to undermine the openness of coding supported by R. If Bob disagrees with me, he is at liberty to correspond with you privately. I have no authority to enforce such advice, and anyone is free to opine on the ethics and legality of this proposed effort.
> On Fri, Oct 14, 2016 at 9:55 AM, Bob Rudis <bob at rud.is> wrote:
>> Ugly idea/option, but you could base64 encode the R script (solely to
>> avoid the need to do string quoting) and have that string in the
>> source of the R.net code, then pass it in to the eval portion or write
>> it out to a temp dir and pass that to the eval portion of the code.
>> That way the script is embedded with the DLL and not an extra asset
>> that needs to be managed.
>> On Fri, Oct 14, 2016 at 10:43 AM, Narendra Modi <bjpmodi2016 at gmail.com> wrote:
>>> 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
>>>> 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
>>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>>> and provide commented, minimal, self-contained, reproducible code.
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Alameda, CA, USA
More information about the R-help