使用R时在Mac上找不到`/ usr / local / clang6 / lib / libomp.dylib`

时间:2019-03-29 18:46:19

标签: r macos macos-mojave dyld

我下载了最新的R R-3.5.3.pkg,并安装在Mac(OS X 10.14.1)上。

然后我用DECLARE @ClientID varchar = 'ClientA' DELETE FROM Global.dto.ClientUsers SELECT ClientID, UserID FROM Global.dto.ClientUsers WHERE ClientID=@ClientID EXCEPT SELECT ClientID=@ClientID, UserID FROM ClientA_DB.dbo.Users 安装了Option Explicit Public Sub GetScores() Dim arr() As String, ws As Worksheet, ids(), id As Long Set ws = ThisWorkbook.Worksheets("Sheet1") ids = Array(1692803, 1401651) With CreateObject("MSXML2.XMLHTTP") For id = LBound(ids) To UBound(ids) .Open "GET", "http://www.nowgoal.com/Ajax.aspx?type=24&id=" & ids(id) & "&p=1553884659000", False .send If .Status = 200 Then arr = Split(.responseText, "-") ws.Cells(id + 1, "C") = arr(0): ws.Cells(id + 1, "D") = arr(1) End If Next End With End Sub

littler
install.packages('littler')

是否有解决问题的方法?谢谢。

1 个答案:

答案 0 :(得分:1)

您缺少clang6随附的OMP支持。 Simon Urbanek可以在CRAN网站https://cran.r-project.org/bin/macosx/tools/上使用该编译器。如果希望从源代码编译R软件包(或者如果您需要Mac OS不提供的附带工具),则应该同时安装clang6和gfortran 6.1。