mxnet
mxnet copied to clipboard
R-package installation error: undefined exports: mx.nd.fill.element.0index
When trying to update my R-package I can follow all the step to generate mxnet_0.5.tar.gz but when I install I get the following error: sudo R CMD INSTALL mxnet_0.5.tar.gz
- installing to library ‘/usr/local/lib/R/library’
- installing source package ‘mxnet’ ... ** libs g++ -I/usr/local/lib/R/include -DNDEBUG -I../inst/include -I/usr/local/include -I"/usr/local/lib/R/library/Rcpp/include" -fpic -g -O2 -c executor.cc -o executor.o g++ -I/usr/local/lib/R/include -DNDEBUG -I../inst/include -I/usr/local/include -I"/usr/local/lib/R/library/Rcpp/include" -fpic -g -O2 -c export.cc -o export.o g++ -I/usr/local/lib/R/include -DNDEBUG -I../inst/include -I/usr/local/include -I"/usr/local/lib/R/library/Rcpp/include" -fpic -g -O2 -c io.cc -o io.o g++ -I/usr/local/lib/R/include -DNDEBUG -I../inst/include -I/usr/local/include -I"/usr/local/lib/R/library/Rcpp/include" -fpic -g -O2 -c kvstore.cc -o kvstore.o g++ -I/usr/local/lib/R/include -DNDEBUG -I../inst/include -I/usr/local/include -I"/usr/local/lib/R/library/Rcpp/include" -fpic -g -O2 -c mxnet.cc -o mxnet.o g++ -I/usr/local/lib/R/include -DNDEBUG -I../inst/include -I/usr/local/include -I"/usr/local/lib/R/library/Rcpp/include" -fpic -g -O2 -c ndarray.cc -o ndarray.o g++ -I/usr/local/lib/R/include -DNDEBUG -I../inst/include -I/usr/local/include -I"/usr/local/lib/R/library/Rcpp/include" -fpic -g -O2 -c symbol.cc -o symbol.o g++ -shared -L/usr/local/lib -o mxnet.so executor.o export.o io.o kvstore.o mxnet.o ndarray.o symbol.o -L/usr/local/lib/R/lib -lRlapack -L/usr/local/lib/R/lib -lRblas installing to /usr/local/lib/R/library/mxnet/libs ** R ** demo ** inst ** preparing package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded Error in namespaceExport(ns, exports) : undefined exports: mx.nd.fill.element.0index Error: loading failed Ejecución interrumpida ERROR: loading failed
- removing ‘/usr/local/lib/R/library/mxnet’
- restoring previous ‘/usr/local/lib/R/library/mxnet’
recompiling mxnet library before updating the R-package solved the problem