MXNet for R on Windows installation fails due to latest update in DiagremmeR #4527

Closed
sandeep-krishnamurthy opened this Issue Jan 4, 2017 · 7 comments

Projects

None yet

5 participants

@sandeep-krishnamurthy
Contributor

More details here on stackoverflow - http://stackoverflow.com/questions/41469083/install-error-on-mxnet

Temp fix

  • Update installation instruction to reflect this issue. This alteast helps new users to know the cause of issue and downgrade their DiagremmeR package.

Further

@thirdwing
Member

The update of DiagremmeR broke several pkgs including xgboost.

@thirdwing thirdwing added a commit to thirdwing/mxnet that referenced this issue Jan 5, 2017
@thirdwing thirdwing close #4527 8ddd317
@thirdwing thirdwing added a commit to thirdwing/mxnet that referenced this issue Jan 5, 2017
@thirdwing thirdwing close #4527 df606cb
@thirdwing thirdwing added a commit to thirdwing/mxnet that referenced this issue Jan 5, 2017
@thirdwing thirdwing close #4527 d387fcf
@thirdwing thirdwing added a commit to thirdwing/mxnet that referenced this issue Jan 5, 2017
@thirdwing thirdwing close #4527 7af6b56
@thirdwing thirdwing added a commit to thirdwing/mxnet that referenced this issue Jan 5, 2017
@thirdwing thirdwing close #4527 c40b6b9
@thirdwing thirdwing closed this in #4549 Jan 5, 2017
@thirdwing thirdwing added a commit that referenced this issue Jan 5, 2017
@thirdwing thirdwing close #4527 (#4549) ec78752
@Roshrini
Contributor
Roshrini commented Jan 9, 2017

@thirdwing
Today I tried to run r-installation script on ubuntu.
https://github.com/dmlc/mxnet/blob/master/setup-utils/install-mxnet-ubuntu-r.sh

Received the same error and installation failed.
Error : object ‘combine_edges’ is not exported by 'namespace:DiagrammeR'
ERROR: lazy loading failed for package ‘mxnet’

To solve it, I had to installed older version of DiagrammeR and then, it worked completely fine.

wget http://cran.us.r-project.org/src/contrib/Archive/DiagrammeR/DiagrammeR_0.8.1.tar.gz
sudo R CMD INSTALL DiagrammeR_0.8.1.tar.gz

So, seems like this issue is not yet resolved completely.

@thirdwing
Member

Please update your repo. All usage of combine_edges has been removed.

@studentdave

error still seems to be there:
install.packages("drat", repos="https://cran.rstudio.com")
drat:::addRepo("dmlc")
install.packages("mxnet")

install.packages("drat", repos="https://cran.rstudio.com")
trying URL 'https://cran.rstudio.com/bin/macosx/mavericks/contrib/3.3/drat_0.1.2.tgz'
Content type 'unknown' length 51508 bytes (50 KB)
==================================================
downloaded 50 KB

The downloaded binary packages are in
/var/folders/2x/31fvjwkx7kg2j666w74phrlw0000gn/T//RtmpcIWKqD/downloaded_packages

library(drat)
drat:::addRepo("dmlc")

install.packages("mxnet")
trying URL 'https://dmlc.github.io/drat/bin/macosx/mavericks/contrib/3.3/mxnet_0.7.tgz'
Content type 'unknown' length 2966210 bytes (2.8 MB)
==================================================
downloaded 2.8 MB

The downloaded binary packages are in
/var/folders/2x/31fvjwkx7kg2j666w74phrlw0000gn/T//RtmpcIWKqD/downloaded_packages

library(mxnet)
Error : object ‘combine_edges’ is not exported by 'namespace:DiagrammeR'
Error: package or namespace load failed for ‘mxnet’

@thirdwing
Member

@starimpact

The error is due to the update in DiagrammeR. It breaks many packages including mxnet and xgboost.

I have updated the related code. However, I don't have access to any Windows machine now, so the Windows pkg hasn't been updated. Please try to install the old version of DiagrammeR.

require(devtools)
install_version("DiagrammeR", version = "0.8.1", repos = "http://cran.us.r-project.org")
@studentdave

ah, yes that seemed to fix the, library(mxnet) loading error! thx u!

@rravu3 rravu3 pushed a commit to rravu3/mxnet that referenced this issue Jan 21, 2017
@thirdwing thirdwing + Rahul Ravu close #4527 (#4549) 2f78174
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment