[Rd] Using a function from splines.c in our package

From: Gordon K Smyth <smyth_at_wehi.EDU.AU>
Date: Mon, 09 Jul 2012 18:03:57 +1000 (AUS Eastern Standard Time)


ink1">Dear all,

I'm writing to ask for advice as to best practice. A PhD student working with me is writing C++ code that we hope to make public as src code in our Bioconductor package edgeR. He wants to call the function fmm_spline, which is part of the source code for the stats package

http://svn.r-project.org/R/trunk/src/library/stats/src/splines.c,

from his C++ code. This function isn't one of the entry points for C code documented in Chapter 6 of the "Writing R extensions" manual.

We haven't figured out a way to call the fmm_spline function directly from our C++ code. Is there a way that we have missed?

Can we simply copy the fmm_spline function into our C++ code and declare where we got it from? Should we include the license declaration from the header of splines.c? Anything else we need to do satisfying copyright and be good citizens?

ink4">Thanks a lot
Gordon



Professor Gordon K Smyth,
Bioinformatics Division,
Walter and Eliza Hall Institute of Medical Research, 1G Royal Parade, Parkville, Vic 3052, Australia. Tel: (03) 9345 2326, Fax (03) 9347 0852, http://www.statsci.org/smyth

The information in this email is confidential and intend...{{dropped:4}}

R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon 09 Jul 2012 - 08:07:48 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 10 Jul 2012 - 05:40:32 GMT.

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

list of date sections of archive