Microsoft announced that SQL Server 2016 will support R analytics processing within the database as part of the new release. Leveraging its acquisition of Revolution Analytics, a commercial distribution of the R language, SQL 2016 will allow you to run R scripts within TSQL.
To start using the new feature, you’ll need CTP3 for SQL Server 2016, Revolution R Enterprise 7.5.0 and Revolution R Open 3.2.2 for Revolution R Enterprise 7.5.0.