patvc
patvc

Reputation: 3

R inline compilation of C code fails on Windows

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

Answers (1)

Dirk is no longer here
Dirk is no longer here

Reputation: 368251

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

Upvotes: 2

Related Questions