[Rd] create a R package

Wolfgang Huber huber at ebi.ac.uk
Tue Mar 8 23:37:32 CET 2005

xt_wang at 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.


why did you send this message to R-devel?

Please have a look at the manual "Writing R extensions" available e.g. from

Best regards

Wolfgang Huber
European Bioinformatics Institute
European Molecular Biology Laboratory
Cambridge CB10 1SD
Phone: +44 1223 494642
Fax:   +44 1223 494486
Http:  www.ebi.ac.uk/huber

More information about the R-devel mailing list