I wish to add git to my PATH in Windows 7, through the \"shell\" command in R.
shell(\'set PATH=%PATH%;\"C:\\\\Program%20Files%20(x86)\\\\Git\\\\bin\"\', intern
Regarding
” what is the issue?
You're just changing the PATH environment variable in the new command interpreter process.
You can use the setx command to change the PATH defaults, but that does not affect your current process.
setx
What to do depends a bit on what you're trying to achieve.