[R] Compile C codes for R use.

From: Tong Wang <wangtong_at_usc.edu>
Date: Mon 02 Apr 2007 - 00:02:41 GMT


Hi, all

    I was learning to compile C code for use in R, but I got stuck on the first step. I am using the R in windows ( 2.4.1 binary) , I opened the command prompt (Run) in windows and issued :     

R CMD SHLIB C:\cygwin\home\Owner\R\test.c

but no object file was created , could someone tell me what is wrong ? And is there a more convenient way to isssue the the above command, it is really troublesome to have to open the windows command prompt all the time.

Thanks a lot for your help\

tong



R-help@stat.math.ethz.ch 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. Received on Mon Apr 02 10:07:43 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Mon 02 Apr 2007 - 00:30:45 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.