append = TRUE ) Restart R

作者:admin | 分类:btc | 浏览:133 | 评论:

which should show the path to your Rtools installation. Sys.which ( make ) ## C:\\rtools40\\usr\\bin\\make.exe Now try to install an R package from source: install.packages ( jsonlite , type = source ) If this succeeds, etc) on the PATH. The easiest way to do so is by creating a text file .Renviron in your Documents folder which contains the following line: PATH=${RTOOLS40_HOME}\usr\bin;${PATH} You can do this with a text editor, make, or from R like so (note that in R code you need to escape backslashes): write ( PATH=${RTOOLS40_HOME} \\ usr \\ bin;${PATH} , append = TRUE ) Restart R, and verify that make can be found。

you’re good to go! See the links below to learn more about rtools4 and the Windows build infrastructure. , Putting Rtools on the PATH After installation is complete, file = ~/.Renviron , you need to perform one more step to be able to compile R packages: we put the location of the Rtools make utilities (bash,。

上一篇: or catch up with us on our blog. For beginners Choose your     下一篇: so I finished editing and exported the final video as an mp
网站分类