RLink install problems

Dear all,

when I try to install R the following error occurs:

In[1]:= Needs["RLink`"]

In[2]:= InstallR[]

During evaluation of In[2]:= InstallR::fail: Failed to install R. The following error was encountered: Unable to load dynamic libraries

Out[2]= $Failed

In[3]:= $Version

Out[3]= "11.2.0 for Linux x86 (64-bit) (September 11, 2017)"

Possibly helpful:

https://mathematica.stackexchange.com/questions/173070/rlink-no-longer-works-with-r-3-5-on-macos
https://mathematica.stackexchange.com/questions/15398/installing-rlink-on-linux/154331#154331

This fixed it for me:

https://mathematica.stackexchange.com/a/173096/4999

Needs@"JLink`"

UninstallJava[]

Then install R.