Hi,
I’m using Mac and RStudio and I’m absolute beginner in this field.
How should I install mxnet package in RStudio, because I’he tried many commands
like this:
I see the name of the package among others in downloaded packages (as I understand),
BUT when I try to command
library(mxnet) or require(mxnet) I get the following error
Ошибка: .onLoad не удалось в loadNamespace() для ‘mxnet’, подробности:
вызов: dyn.load(file, DLLpath = DLLpath, …)
ошибка: не могу загрузить разделяемый объект ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/mxnet/libs/libmxnet.so’:
dlopen(/Library/Frameworks/R.framework/Versions/3.5/Resources/library/mxnet/libs/libmxnet.so, 10): Library not loaded: /usr/local/opt/openblas/lib/libopenblasp-r0.3.1.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/3.5/Resources/library/mxnet/libs/libmxnet.so
Reason: image not found
What to deal with this???
I don’t know R much and don’t understand what to do?
Could anyone explain step by step what should I do???, commands I should use and other
stuff.
I read topics and forums on this issue (something about CPU, GPU), but I really don’t understand.
copy paste the line:
ln -sf /usr/local/opt/openblas/lib/libopenblasp-r0.3.5 /usr/local/opt/openblas/lib/libopenblasp-r0.3.5.dylib
(I replaced * and 1 with 5 as the latest version of openblas is 0.3.5)
then I installed latest R ( R 3.5.2) according to the link in the instructions and
[1] “Loading local: inst/libs/libmxnet.so”
Error: package or namespace load failed for ‘mxnet’:
.onLoad failed in loadNamespace() for ‘mxnet’, details:
call: dyn.load(“R-package/inst/libs/libmxnet.so”, local = FALSE)
error: unable to load shared object ‘/Users/Stefanos/R-package/inst/libs/libmxnet.so’:
dlopen(/Users/Stefanos/R-package/inst/libs/libmxnet.so, 10): image not found
sessionInfo()
R version 3.5.2 (2018-12-20)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS 10.15.4