Hi all, I need some assistance regarding the use of C project (set of programming files) as R functions in Windows OS. By now I really would like to avoid package-building. What are the steps to undergo or where can I check to perform that successfully? Thanks in advance, My best regards, Diogo Alagador <http://www.cibioue.uevora.pt/9-uncategorised/185-dr-diogo-alagador> http://www.cibioue.uevora.pt/9-uncategorised/185-dr-diogo-alagador CIBIO/UE - Research Center in Biodiversity and Genetic Resources, University of ?vora, Portugal
C project within R function
3 messages · Diogo André Alagador, Duncan Murdoch, Mark Sharp
On 21/11/2014, 3:02 PM, Diogo Andr? Alagador wrote:
Hi all, I need some assistance regarding the use of C project (set of programming files) as R functions in Windows OS. By now I really would like to avoid package-building. What are the steps to undergo or where can I check to perform that successfully?
Sorry, but your constraint (no package building) is irrational. By *far* the easiest way to do this is to write a package. Duncan Murdoch
Thanks in advance, My best regards, Diogo Alagador <http://www.cibioue.uevora.pt/9-uncategorised/185-dr-diogo-alagador> http://www.cibioue.uevora.pt/9-uncategorised/185-dr-diogo-alagador CIBIO/UE - Research Center in Biodiversity and Genetic Resources, University of ?vora, Portugal [[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Diogo, For a gentle introduction to package creation see Hadley Wickham's book in progress on the subject at http://r-pkgs.had.co.nz. This site is particularly accessible if you use RStudio, but is not dependent on its use. I use very simple packages that are not designed to be used by others to organize my work because it is the easiest way to structure projects that use many functions. As Duncan has stated, it is the only reasonable way to use C, FORTRAN, or C++ subroutines and functions. Mark
On Nov 21, 2014, at 6:52 PM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote: On 21/11/2014, 3:02 PM, Diogo Andr? Alagador wrote:
Hi all, I need some assistance regarding the use of C project (set of programming files) as R functions in Windows OS. By now I really would like to avoid package-building. What are the steps to undergo or where can I check to perform that successfully?
Sorry, but your constraint (no package building) is irrational. By *far* the easiest way to do this is to write a package. Duncan Murdoch
Thanks in advance, My best regards, Diogo Alagador <http://www.cibioue.uevora.pt/9-uncategorised/185-dr-diogo-alagador> http://www.cibioue.uevora.pt/9-uncategorised/185-dr-diogo-alagador CIBIO/UE - Research Center in Biodiversity and Genetic Resources, University of ?vora, Portugal [[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
R. Mark Sharp, Ph.D. msharp at TxBiomed.org NOTICE: This E-Mail (including attachments) is confidential and may be legally privileged. It is covered by the Electronic Communications Privacy Act, 18 U.S.C.2510-2521. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution or copying of this communication is strictly prohibited. Please reply to the sender that you have received this message in error, then delete it.