Many of the current questions are with previous versions of the RC or CTP. This is using the latest docs and build for RC3.
I am running their sample code to verify everything is working:
exec sp_execute_external_script @language =N'R',
@script=N'OutputDataSet<-InputDataSet',
@input_data_1 =N'select 1 as hello'
with result sets (([hello] int not null));
go
Here is the error:
Msg 39021, Level 16, State 1, Line 1
Unable to launch runtime for 'R' script. Please check the configuration of the 'R' runtime.
Msg 39019, Level 16, State 1, Line 1
An external script error occurred:
Unable to launch the runtime. ErrorCode 0x80004005: .
Msg 11536, Level 16, State 1, Line 1
EXECUTE statement failed because its WITH RESULT SETS clause specified 1 result set(s), but the statement only sent 0 result set(s) at run time.
I had previously uninstalled RC0 on this box, otherwise there is nothing else going on with sql 2016. It is a named instance (SQL2016) because there is a 2014 install on the box.
The logs for RServer indicate that everything was found and installed correctly. The 'execute external scripts' setting is enabled. I'm not sure what else to do. Any ideas would be helpful. I just want to see this in action in our own environment.