Rstudio Cloud: System dependencies for package functionality

I am using Rstudio Cloud in my classes. I would like to show the students the interface of R with Python using the reticulate package. The problem is that the Python package scipy requires a version of library libstdc++ that is not available.
Is it possible update/install such dependencies?

> import("scipy")
Error in py_module_import(module, convert = convert) : 
  ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /home/rstudio-user/.local/share/r-miniconda/envs/r-reticulate/lib/python3.6/site-packages/scipy/fft/_pocketfft/pypocketfft.cpython-36m-x86_64-linux-gnu.so)

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.