I previously had some raw data in the R language using the mediation package analysis and then wanted to use Mathematica for subsequent analysis. This process is not very smooth. Please help.
InstallR["RHomeLocation" -> "C:\\Program Files\\R\\R-3.5.1"]
An error message appears:
InstallR::fail: Failed to install R. The following error was encountered: Unable to load dynamic libraries