SQL查询中包含的R脚本文件未使用PHP执行

Store Procedure(AAA_Meeting_XG_boost) sample code

EXEC sp_execute_external_script
     @language = N'R'
    ,@script = N'source("C:/user/New Product/R code scoring.R");'
    ,@input_data_1 = N''  
    ,@output_data_1_name = N'results' ;

Its working fine when it's executing in MS SQL directly but when I hit this query by PHP it's giving the following error:

Warning: sqlsrv_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp64\www\demo\index.php online

PHP code is:

$Sp2Qquery = "EXEC AAA_Meeting_XG_boost";  
$Sp2Result = sqlsrv_query($conn, $Sp2Qquery);
$Row2 = sqlsrv_fetch_array($Sp2Result, SQLSRV_FETCH_ASSOC);
print_r($Row2);die;

Please help me to fix this.