Problem with libicu while trying to knit a rmarkdown report
![fclavert](https://us.v-cdn.net/6038231/uploads/userpics/8J0Q3LP61E0I/nADM7RNWQUFVE.jpg)
fclavert
Registered Posts: 8 ✭✭✭✭
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:
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)
> 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
Any idea on how to solve this error?
Best,
Frédéric
Tagged:
Best Answer
-
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
Answers
-
Dear Alex,
It is now wonderfully working.
Thanks a lot.
Best,
Frédéric