R inline compilation of C code fails on Windows

雨燕双飞 提交于 2019-12-10 12:27:53

问题


Within the Windows XP Pro RGui, can't compile inline C code. Get error: 'sh' is not recognized as an internal or external command

Clearly there is a configuration error, but can't find a way to resolve it either in R documentation or via googling. Must be a simple solution!

The same R code works fine on linux: the inline C compiles and runs correctly.


回答1:


You need the RTools collection as described in detail in Appendix D of the R Installation and Administration manual.



来源:https://stackoverflow.com/questions/3442305/r-inline-compilation-of-c-code-fails-on-windows

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!