Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

徵狀

負責 您執行的 R 腳本使用 RxLocalParallel 計算內容或 DoParallel R 封裝。 當您使用sp_execute_external_script來執行在 R 中撰寫的腳本時,您會注意到查詢可能會掛起 執行並行函數時。

狀態

Microsoft 已確認<適用於>一節所列的 Microsoft 產品確實有上述問題。

解決方案

此問題已在下列 SQL Server 累積更新中修正:

關於 SQL Server 的累積更新:

每個新的 SQL Server 累計更新都包含所有的修正程式,以及前一個累積更新中所包含的所有安全性修正程式。 查看 SQL Server 的最新累計更新:

因應措施

若要工作 在未更新的問題周圍,您可以在以下網址加入一些其他的 R 程式碼 在sp_execute_external_script的腳本頂端。 " 程式碼如下所示:

parallel < getNamespace ("parallel")

unlockBinding("makePSOCKcluster", 平行

internalMakePSOCKcluster <- parallel:: makePSOCKcluster

wrapperMakePSOCKcluster = 函數(...){

 args < 清單(...)

 if (!("在% 中的 outfile "% 名稱(args)) | |is. null (args [["outfile"])))

 {

   args [["outfile"]] <- tempfile()

 }

 請撥打電話(internalMakePSOCKcluster,args)

}

parallel $ makePSOCKcluster <- wrapperMakePSOCKcluster

lockBinding("makePSOCKcluster", 平行

參考

瞭解Microsoft 用於描述軟體更新的  詞彙 。

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×