Thanks for your prompt response. Apparently my problem is with my R or Windows setup. When I followed the advice in your return email, here's the result. I've been an R user for a number of years and have installed/uninstalled several versions, plus I've installed MinGW, RTools, gcc/gfortran, and a number of R-related packages. I must have messed something up. Is there a pointer to the proper configuration? Today I reinstalled RInside and Rcpp before trying the make below. Thanks, and I'll be sure to post properly in the future. I didn't start at RInside, I started with 'how can I call R from a c program.
Regards David Stevens C:\Program Files\R\R-2.10.0\library\RInside\examples\standard>make -f makefile.win process_begin: CreateProcess(NULL, /bin/R CMD config --cppflags, ...) failed. process_begin: CreateProcess(NULL, /bin/R CMD config --ldflags, ...) failed. process_begin: CreateProcess(NULL, /bin/R CMD config BLAS_LIBS, ...) failed. process_begin: CreateProcess(NULL, /bin/R CMD config LAPACK_LIBS, ...) failed. /bin/R: not found /bin/R: not found /bin/R: not found /bin/R: not found process_begin: CreateProcess(NULL, /bin/R CMD config CXX, ...) failed. process_begin: CreateProcess(NULL, /bin/R CMD config CPPFLAGS, ...) failed. process_begin: CreateProcess(NULL, /bin/R CMD config CXXFLAGS, ...) failed. process_begin: CreateProcess(NULL, /bin/R CMD config CXX, ...) failed. Wall -s rinside_sample0.cpp -o rinside_sample0 process_begin: CreateProcess(NULL, Wall -s rinside_sample0.cpp -o rinside_sample0, ...) failed. make (e=2): The system cannot find the file specified. make: [rinside_sample0] Error 2 (ignored) Wall -s rinside_sample1.cpp -o rinside_sample1 process_begin: CreateProcess(NULL, Wall -s rinside_sample1.cpp -o rinside_sample1, ...) failed. make (e=2): The system cannot find the file specified. make: [rinside_sample1] Error 2 (ignored) Wall -s rinside_sample2.cpp -o rinside_sample2 process_begin: CreateProcess(NULL, Wall -s rinside_sample2.cpp -o rinside_sample2, ...) failed. make (e=2): The system cannot find the file specified. make: [rinside_sample2] Error 2 (ignored) Wall -s rinside_sample3.cpp -o rinside_sample3 process_begin: CreateProcess(NULL, Wall -s rinside_sample3.cpp -o rinside_sample3, ...) failed. make (e=2): The system cannot find the file specified. make: [rinside_sample3] Error 2 (ignored) Wall -s rinside_sample4.cpp -o rinside_sample4 process_begin: CreateProcess(NULL, Wall -s rinside_sample4.cpp -o rinside_sample4, ...) failed. make (e=2): The system cannot find the file specified. make: [rinside_sample4] Error 2 (ignored) Wall -s rinside_sample5.cpp -o rinside_sample5 process_begin: CreateProcess(NULL, Wall -s rinside_sample5.cpp -o rinside_sample5, ...) failed. make (e=2): The system cannot find the file specified. make: [rinside_sample5] Error 2 (ignored) Wall -s rinside_sample6.cpp -o rinside_sample6 process_begin: CreateProcess(NULL, Wall -s rinside_sample6.cpp -o rinside_sample6, ...) failed. make (e=2): The system cannot find the file specified. make: [rinside_sample6] Error 2 (ignored) Wall -s rinside_sample7.cpp -o rinside_sample7 process_begin: CreateProcess(NULL, Wall -s rinside_sample7.cpp -o rinside_sample7, ...) failed. make (e=2): The system cannot find the file specified. make: [rinside_sample7] Error 2 (ignored) Wall -s rinside_sample8.cpp -o rinside_sample8 process_begin: CreateProcess(NULL, Wall -s rinside_sample8.cpp -o rinside_sample8, ...) failed. make (e=2): The system cannot find the file specified. make: [rinside_sample8] Error 2 (ignored) Wall -s rinside_test0.cpp -o rinside_test0 process_begin: CreateProcess(NULL, Wall -s rinside_test0.cpp -o rinside_test0, ...) failed. make (e=2): The system cannot find the file specified. make: [rinside_test0] Error 2 (ignored) Wall -s rinside_test1.cpp -o rinside_test1 process_begin: CreateProcess(NULL, Wall -s rinside_test1.cpp -o rinside_test1, ...) failed. make (e=2): The system cannot find the file specified. make: [rinside_test1] Error 2 (ignored) Dirk Eddelbuettel [via R] wrote: > > On 27 March 2010 at 09:02, dkStevens wrote: > | This may simply expose my ignorance in this type of coding, but, > | unfortunately it's not that simple because I did using the RInside.h > and > | received several screens of error messages from gcc telling me that it > | couldn't find the include file and the scores of additional include > files > | that rinside.h referred to. After much editing to point to these files > | those error messages went away but more screens of error messages > followed. > | This using the four-line 'hello world' example that is provided by the > | RInside authors. So I'm faced with hours of chasing these down or > finding a > | simpler example. I'd rather the latter, hence my post. > > Try to look inside the installed package RInside and to fine the > directory > examples/ -- it contains a directory standard/ with nine example files > rinside_sample[0-8] plus two further tests (and another directory mpi/ > which > we ignore for now) > > On a correctly setup computer, building the examples programs in the > directory examples/standard is as easy as saying > > make -f Makefile.win # you need to point make to the Windows > makefile > > which builds all executables (on my windows box at work). No editing > required. > > This is getting off-topic for r-help as you are asked by the posting > guide to > contact package authors (ie Romain or me). We usually suggest to take > these > RInside discussions to the rcpp-devel list --- see the R-Forge pages > for Rcpp. > > Dirk > > -- > Registration is open for the 2nd International conference R / > Finance 2010 > See http://www.RinFinance.com for details, and see you in Chicago in > April! > > ______________________________________________ > [hidden email] > <http://n4.nabble.com/user/SendEmail.jtp?type=node&node=1693584&i=0> > mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > > > ------------------------------------------------------------------------ > View message @ > http://n4.nabble.com/Calling-R-from-c-in-Windows-XP-tp1693440p1693584.html > > To unsubscribe from Re: Calling R from c in Windows XP, click here > < (link removed) =>. > > -- David K Stevens, P.E., Ph.D., Professor Civil and Environmental Engineering Utah Water Research Laboratory 8200 Old Main Hill Logan, UT 84322-8200 435 797 3229 - voice 435 797 1363 - fax david.stev...@usu.edu -- View this message in context: http://n4.nabble.com/Calling-R-from-c-in-Windows-XP-tp1693440p1693605.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.