R CMD on Windows 7 Error - “R” is not recognized as an internal or external command,

前端 未结 7 1120
轻奢々
轻奢々 2020-11-29 07:56

I\'m exploring package building on Windows 7 but have been running into trouble after reaching the Command Prompt stage. The following thread appears to be on the same topic

7条回答
  •  心在旅途
    2020-11-29 08:55

    • Have you closed the command prompt and opened a new one after adjusting the PATH?
    • Enter the command PATH on the command line and ensure that you are properly updating your path
    • Try navigating to the directory where R.exe is saved and running it locally -- cd C:\Program...\bin\x64, R.exe.
    • Ensure that you're running on Windows' Command Prompt and not Cygwin's terminal
    • If you actually have a space after the semi-colon in your PATH, you'll need to remove that: /bin;C:/Program.... Try combining that with Joshua's solution.

提交回复
热议问题