Problem with libicu while trying to knit a rmarkdown report

Highlighted
fclavert
Level 1
Problem with libicu while trying to knit a rmarkdown report
Jump to solution

Dear all, I am trying to use the rmarkdown report functionality. I have DSS CE on Ubuntu 18.04 (a laptop installation). When trying to build a rmarkdown report, I have this error:




> rmarkdown::render('/home/inactinique/dataiku-data/tmp/code-reports-build/report-3791993627165130643/yyqCEeX.Rmd', output_file = '/home/inactinique/dataiku-data/tmp/code-reports-build/report-3791993627165130643/built-report.nb.html', intermediates_dir = '/home/inactinique/dataiku-data/tmp/code-reports-build/report-3791993627165130643', output_format = 'html_notebook')Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/home/inactinique/dataiku-data/R.lib/stringi/libs/stringi.so': libicui18n.so.55: cannot open shared object file: No such file or directoryCalls: :: ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>Execution halted


I would love to avoid to compile a previous version of libicu (libicu is not found by dss because by default, ubuntu is installed with the version 60 and not the version 55 that dss looks for)

Any idea on how to solve this error?

Best,
Frédéric
0 Kudos
1 Solution

Accepted Solutions
Alex_Combessie Dataiker
Dataiker
Re: Problem with libicu while trying to knit a rmarkdown report
Jump to solution
Hi Frédéric,

It is likely this behaviour is linked to a particular setup of the built-in R environment of your Dataiku installation. To overcome this, I would advise to:

1. [If not latest] Upgrade Dataiku DSS to the latest version (5.0.4 as of today): https://doc.dataiku.com/dss/latest/installation/upgrade_instance.html

2. Remove the current R built-in environment: `rm -rf DATADIR/R.lib` in your shell console. (see https://www.dataiku.com/learn/guide/getting-started/dss-concepts/the-dss-datadir.html to know what is the DATADIR)

3. Stop Dataiku DSS and replay the R-integration script as documented here: https://doc.dataiku.com/dss/latest/installation/r.html

4. Start Dataiku DSS and test the rmarkdown feature again.

Hope it helps,

Alex

View solution in original post

0 Kudos
2 Replies
Alex_Combessie Dataiker
Dataiker
Re: Problem with libicu while trying to knit a rmarkdown report
Jump to solution
Hi Frédéric,

It is likely this behaviour is linked to a particular setup of the built-in R environment of your Dataiku installation. To overcome this, I would advise to:

1. [If not latest] Upgrade Dataiku DSS to the latest version (5.0.4 as of today): https://doc.dataiku.com/dss/latest/installation/upgrade_instance.html

2. Remove the current R built-in environment: `rm -rf DATADIR/R.lib` in your shell console. (see https://www.dataiku.com/learn/guide/getting-started/dss-concepts/the-dss-datadir.html to know what is the DATADIR)

3. Stop Dataiku DSS and replay the R-integration script as documented here: https://doc.dataiku.com/dss/latest/installation/r.html

4. Start Dataiku DSS and test the rmarkdown feature again.

Hope it helps,

Alex

View solution in original post

0 Kudos
fclavert
Level 1
Re: Problem with libicu while trying to knit a rmarkdown report
Jump to solution
Dear Alex,
It is now wonderfully working.
Thanks a lot.
Best,
Frédéric
0 Kudos
Labels (1)