I am evaluating SQL Server 2016 integration with R in Windows 10. I have completed the steps set for all components and scripts. Now I have the following questions:
Where is sp_execute_external_script located? I can not find him. When I run the script, for example:
execute sp_execute_external_script @language = N'R' , @script = N' OutputDataSet <- InputDataSet;' , @input_data_1 = N' SELECT TOP 100 [BusinessEntityID] FROM [AdventureWorks2014].[Person].[Person];';
I got an error:
"Msg 39021, level 16, state 1, line 1 Unable to run runtime for 'R' script. Check the configuration of the R runtime environment. Msg 39019, Level 16, state 1, line 1 An external script error occurred: the runtime failed to start ErrorCode 0x80070490: 1168 (Element not found.).
Based on the above suggestion, I will restart the script, but this does not solve the problem.
Any suggestions are welcome.
Frank source share