R Integration Fail (Ubuntu 16.04) IRkernel non-zero exit status

Options
SallmanGhanem
SallmanGhanem Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS ML Practitioner, Dataiku DSS Core Concepts, Registered Posts: 5 ✭✭✭✭

Error Log:

***************************************************************

/home/dataiku/dataiku-dss-8.0.2/scripts/_startup.inc.sh: line 190: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8): No such file or directory

[+] Saving installation log to /home/dataiku/dss/run/install.log

/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

[+] Checking dependencies

/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

+ Detected OS distribution : ubuntu 16.04

+ Checking required packages...

[+] Installing required R packages into /home/dataiku/dss/R.lib

/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

During startup - Warning messages:

1: Setting LC_CTYPE failed, using "C"

2: Setting LC_COLLATE failed, using "C"

3: Setting LC_TIME failed, using "C"

4: Setting LC_MESSAGES failed, using "C"

5: Setting LC_MONETARY failed, using "C"

6: Setting LC_PAPER failed, using "C"

7: Setting LC_MEASUREMENT failed, using "C"

Checking installed packages ...

Package not installed: IRkernel

Installing packages: IRkernel

Warning: dependency 'pbdZMQ' is not available

trying URL 'https://cloud.r-project.org/src/contrib/IRkernel_1.1.1.tar.gz'

Content type 'application/x-gzip' length 57656 bytes (56 KB)

==================================================

downloaded 56 KB


/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

During startup - Warning messages:

1: Setting LC_CTYPE failed, using "C"

2: Setting LC_COLLATE failed, using "C"

3: Setting LC_TIME failed, using "C"

4: Setting LC_MESSAGES failed, using "C"

5: Setting LC_MONETARY failed, using "C"

6: Setting LC_PAPER failed, using "C"

7: Setting LC_MEASUREMENT failed, using "C"

ERROR: dependency 'pbdZMQ' is not available for package 'IRkernel'

* removing '/home/dataiku/dss/R.lib/IRkernel'


The downloaded source packages are in

'/tmp/Rtmp0dj0yn/downloaded_packages'

Checking installed packages ...

Package not installed: IRkernel

Error: at least one package failed to install required version

In addition: Warning message:

In install.packages(toInstall, "/home/dataiku/dss/R.lib", repos = "https://cloud.r-project.org") :

installation of package 'IRkernel' had non-zero exit status

Execution halted

Also I have installed the following packages on the OS system:

RUN echo "deb http://cran.rstudio.com/bin/linux/ubuntu xenial/" | tee -a /etc/apt/sources.list \
   &&  gpg --keyserver keyserver.ubuntu.com --recv-key E298A3A825C0D65DFD57CBB651716619E084DAB9 \
   &&  gpg -a --export E298A3A825C0D65DFD57CBB651716619E084DAB9 | apt-key add - \
   &&  apt-get update \
   &&  apt-get install -y r-base r-base-dev

# Needed packages
RUN apt-get install -y \
  yum \
  file \
  acl \
  libexpat1 \
  git \
  nginx \
  unzip \
  zip \
  default-jre-headless \
  python3 \
  libfreetype6 \
  libgfortran3 \
  libgomp1 \
  libicu-dev \
  curl \
  openssl \
  libxml2-dev \
  python-dev \
  python3-dev \
  dos2unix \
  libcurl4-openssl-dev \
  libssl-dev \
  && apt-get clean all

I hope someone can help out with this IRkernel I am thinking maybe the problem is with the packages on the Ubuntu... but I have no clue.

Edit 1: So looking at the documentation it seems dataiku supports R 3.4 to 3.6 I changed the source from

"deb http://cran.rstudio.com/bin/linux/ubuntu xenial/"

to

"deb http://cloud.r-project.org/bin/linux/ubuntu xenial-cran35/"

checking to see if that works.

Best Answer

Answers

Setup Info
    Tags
      Help me…