Reputation: 3
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.
Upvotes: 0
Views: 670
Reputation: 368251
You need the RTools collection as described in detail in Appendix D of the R Installation and Administration manual.
Upvotes: 2