From huber at ebi.ac.uk  Tue Mar  8 23:37:32 2005
From: huber at ebi.ac.uk (Wolfgang Huber)
Date: Tue Mar  8 23:38:01 2005
Subject: [Rd] create a R package
In-Reply-To: <1110320506.422e257a9d506@mail.encs.concordia.ca>
References: <1110320506.422e257a9d506@mail.encs.concordia.ca>
Message-ID: <422E292C.6020204@ebi.ac.uk>

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


[Rd] create a R package
Wolfgang Huber