[Rcpp-devel] Rcpp package building

Dirk Eddelbuettel edd at debian.org
Thu Nov 19 16:26:28 CET 2015


On 19 November 2015 at 14:31, Hmamouche Youssef wrote:
| I have builded a package on my machine, and when i like to install it on other machines, i have to install all the require tools (C++ compiler, …), which means that i have to compile it each time.

Yes.

Open Source works from source. This is pretty common.  CRAN is comprised of
_source_ packages.  But also binary packages so: What OS? On

  -- Windows you have win-builder at http://win-builder.r-project.org
     to have a binary built for you, see its documentation

  -- OS X you may be able to do it too

  -- Linux it depends on distribution but

     -- for Debian / Ubuntu we have

        -- several hundred packages in the distro
        -- several dozen at eg the CRAN Ubuntu directories
        -- thousand plus at Michael's PPAs
        -- the possibility to build your own (which I just did last eve
           as I wanted a new prebuilt r-cran-* for Travis)

     -- other distros see their volunteers 
     
| Can’I do It a single time ? and built it in such a way that can be used without compilation, just like we do for CRAN packages.

Please explain that statement.  When I install Rcpp from CRAN on my computers
it is essentially always from source, and yes, my computers have compilers.
 
| Thanks in advance,
| 
| Youssef
| 
| Phd Student at Aix-Marseille University, France

Small world. I once went to what was then called Aix-Marseille II (and then
went to GREQAM/EHESS at the Veille Charite).

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org


More information about the Rcpp-devel mailing list