Hello, everyone, I would like to create a package which includes C code. My input data comes from a text file and I will output my solution into a text file too. My question is that I put the input file in src directory or data directory or somewhere else? On the other hand, I want to call this C function from R. The R code is put in the R directory or I carry out this code in R environment directly. Maggie
xt_wang@cse.concordia.ca wrote:> Hello, everyone, > > I would like to create a package which includes C code. My input data comes from > a text file and I will output my solution into a text file too. My question is > that I put the input file in src directory or data directory or somewhere else? > > On the other hand, I want to call this C function from R. The R code is put in > the R directory or I carry out this code in R environment directly. >Maggie why did you send this message to R-devel? Please have a look at the manual "Writing R extensions" available e.g. from http://www.stats.bris.ac.uk/R/manuals.html Best regards Wolfgang ------------------------------------- Wolfgang Huber European Bioinformatics Institute European Molecular Biology Laboratory Cambridge CB10 1SD England Phone: +44 1223 494642 Fax: +44 1223 494486 Http: www.ebi.ac.uk/huber