Re: [R] calling a c function from R

2010-07-14 Thread Fahim Md
Thanks a lot Matt, Just if someone like to see how I called a C function from R with files as argumets. For simplicity, this example is copying the content of input file into output file - My main program is : source("parse.R") parseGBest('gbest40.se

Re: [R] calling a c function from R

2010-07-14 Thread Matt Shotwell
Fahim, Please see the Writing R Extensions manual http://cran.r-project.org/doc/manuals/R-exts.pdf There are simple instructions in this document under the heading "System and foreign language interfaces." -Matt On Wed, 2010-07-14 at 01:21 -0400, Fahim Md wrote: > Hi, > I am trying to call a