I want to write a small program in the R language, connecting to DB (hence using packages), that I'd like to sell.
As it will connect to DB, on internal networks, that can't be hosted.
I tried to replace all GPL-alike packages to MIT ones... but R in itself is GPL.
Does that mean that I can't write a program, and sell it, at all in R?
UPDATE -- To be sure that the program won't be easily copied, or played with, I do want / need to keep the sources closed. For example, to hinder anyone from commenting the code about the need for a valid product key.
Bonus: Is there a template for "commercial use" licenses?