Skip to content
Prev 22440 / 63421 Next

Problems building package under Windows (PR#9303)

(I have removed a CC to R-bugs)

It seems like you are using windows. If you take the time to read the  
R-admin manual, it tells you how to set up your system for building  
packages under Windows (R-extensions tells you how to make packages,  
R-admin tells you how to set up your system). This will answer all  
your questions about perl and so on. Essentially you need to check  
out http://www.murdoch-sutherland.com/Rtools/ (but read the manual  
anyway) and you might also want to read the R for WIndows FAQ.

1000's of people build packages for R under Windows, many of which  
includes C code (C++ can be a bit troublesome, at least in my  
personal experience, but it still mostly work). The are myriad  
examples of such packages on CRAN (as an aside, for C++ you might  
want to check out RcppTemplate). You might have paused a moment to  
consider this fact before you assumed that just because you cannot  
get it to work, it must be a bug.

In the R community it is frowned upon to submit non-bug bug reports,  
please read the guidelines for this. Essentially this boils down to  
the fact that now someone in R-core needs to spend valuable time  
cleaning up the bug report. It is furthermore considered polite to  
give your name in emails.

Kasper Daniel Hansen
On Oct 18, 2006, at 10:11 AM, agner at agner.org wrote: