Search code examples
rdllwindows-8rstudio

System Error after installing R package


I am running R 3.2.2 on Windows 8. After installing R packages, rattle and rpart.plot in RStudio an error message propped up in a separate panel.

Rterm.exe - System Error. 
  The program can't start because libatk-1.0-0.dll is missing from your computer. 
  Try reinstalling the program to fix this problem. 

Does anybody have any clue as to what this means and how to fix this?


Solution

  • Thank you all for your inputs. I managed to figure it out.

    The problem arose as a result of missing GTK+ file. I'm not exactly sure what GTK+ really is, but I know that GTK+ is a preliminary file needed to install the Rattle Package. Here's the step I took to download the GTK+ file.

    1. First, remove all the tabs opened in RStudio.
    2. Use install.packages to download Rattle package. A window should pop up asking to see if you want to download GTK+. Click Yes.
    3. Restart RStudio.