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

前端 未结 7 1124
轻奢々
轻奢々 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:54

    I attach my whole solution here:

    1. Install Rtools which is compatible with my R version
    2. Add PATH: C:\Program Files\R\R-2.15.1\bin\x64;C:\Rtools\bin;C:\Rtools\gcc-4.6.3\bin
    3. In cmd, enter: R CMD INSTALL packagename

    Click "enter", done.

提交回复
热议问题