[R] Share R.net dll without having to share R script code?
David Winsemius
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?
>
To Narendra;
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.
--
David.
>
>
> 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
>>>>> 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
>>>>
>>>
>>> ______________________________________________
>>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>> 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
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
David Winsemius
Alameda, CA, USA
More information about the R-help
mailing list