Re: [R] Rprintf will not build in my C++ compiler

2008-07-30 Thread nmarti
Who cares that "An Introduction to the .C Interface to R" is not an "Official" manual. Does it matter? I was just trying to site where I got the code from and not claim it as my own. Would you prefer if I plagiarized stuff Professor? Sorry for not posting in devel, I thought this was a basic que

Re: [R] Rprintf will not build in my C++ compiler

2008-07-30 Thread Prof Brian Ripley
That is a linker (not compiler) message, and you apparently forgot to link against R.dll. See README.packages in the R distribution for how to use VC++ with R under Windows (which is neither recommended nor supported). Three other comments. 1) See the posting guide. R-devel is the list for n

[R] Rprintf will not build in my C++ compiler

2008-07-30 Thread nmarti
I have searched through the threads and "Rprintf" causing a build error dosen't seem to be a problem for anyone else. And I've read through "R Extensions" and "An Introduction to the .C Interface to R" and there doesn't seem to be any troubleshooting for my problem. My code is straight from "An