R is licensed under the terms of the GNU Public License (GPL).

That governs distribution, not use.