[R] Question about license for redistribution of R package

Duncan Murdoch murdoch.duncan at gmail.com
Tue Jun 14 04:15:30 CEST 2011


On 11-06-13 1:22 PM, Iyer wrote:
>> Hello,
>>
>> I would like to distribute an R package along with an application. The
>> package is written exclusively in R.
>>
>> Since the package does not make sense outside of the application it does
>> not make sense to submit it to CRAN.
>>
>> I have a question regarding licensing if I manage the distribution myself.
>> I have read the manual on writing R extensions and I could not find
>> any explicit statement on *if* there are license implications for the R code
>> I have written and would like to distribute along with my application?
>>
>> Can you provide direction on this?

If you wrote all of it and are distributing only what you wrote, you can 
license it any way you like.

If you are distributing a copy of R with it then you need to follow R's 
license:  see COPYING.

If you license everything under a license compatiable with R's GPL 
license, then you are probably fine.  If you want to distribute some 
parts under an incompatible license, you should check with a lawyer.

Duncan Murdoch



More information about the R-help mailing list