2.12 Installing Rattle on Windows Troubleshooting

Nothing Shows in the ROLES Page

On the first startup, after loading a Dataset, check the Console tab and wait until it shows the dataset summary. Rattle may find the need to install the requisite R packages if not already installed and this could take 5 minutes, depending on your Internet connection and CPU speed. You can view the installation progress in the Console tab.

MSVCP140.dll was not found

If the code execution cannot proceed because MSVCP140.dll was not found (and a few others) then install this Microsoft Visual C++ library from https://aka.ms/vs/16/release/vc_redist.x64.exe. Rattle should then start up next time you start it.

This will typically happen on a fresh install of Windows 11 where you may need to install the Microsoft Visual C++ libraries for running the flutter app. See answers.microsoft.com. From there you can download and install one of vc_redist.x64.exe or vc_redist.x86.exe.

Process Exited With Exit Code

This will occur if R can not be found in the PATH. Be sure your PATH environment variable is properly set as described earlier.

Checking R Packages Available

With the install of the R packages, Rattle should find the appropriate packages. Test in the Console tab by typing the following command:

library(rattle)

If the package is not found then be sure to check that you installed the packages with R.

R Packages Not Found

The R process within the Rattle app might not be finding the locally installed R packages. When that is the case Rattle will attempt to install them for you. But if the paths to the location of the instaleld pacakges is wrong then Rattle will not find the pacakges. You may be able to see this if you compare the output of .libPaths() in the Rattle Console tab to the output when you run R in your Command Prompt. The Rattle version may not have your local path (e.g. C:/Users/fred/AppData/Local/R/win-library/4.4) and it may only have the system path (e.g., C:/Program Files/R/R-4.4.1/library). A workaround is to ensure your packages are installed by the Admin user.



Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0