Skip to content

Instantly share code, notes, and snippets.

@sckott
Last active January 31, 2017 20:36
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sckott/18e17f12de56cc411105 to your computer and use it in GitHub Desktop.
Save sckott/18e17f12de56cc411105 to your computer and use it in GitHub Desktop.

A friend is trying to get Rtools installed correctly on her windows machine. It seems to install fine, but then at the end, she gets an error. The error below shows up in the Rtools installation wizard, and it suggest a permissions problem.

This is the error when trying to isntall Rtools on her machine

C:\Users\Chris\Documents\R\Rtools\gcc-4.6.3

Error creating registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment

RegCreateKeyEx failed; code 5
Access is denied.

Click Retry to try again, Ignore to proceed anyway, or Abort to cancel
installation.

Any ideas? Do you think this is the solution: http://support.microsoft.com/kb/327507

Copy link

ghost commented Feb 16, 2015

Hi Sckott,

I also receive this error message when trying to install Rtools on my work machine. Did your friend manage to find a solution?

Thanks,
Tom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment