Dirk, Thanks for your help. I will get a closer look at rhiredis package.
Amine GASSEM For the mail I agree it is better to have my fisrt/last name. The problem I am using my professional mail. I will see if I can create an alias to this one with a proper identifiable name. On Tue, Mar 18, 2014 at 6:14 PM, Dirk Eddelbuettel <e...@debian.org> wrote: > > Amine, > > On 18 March 2014 at 17:56, contact AG STUDY wrote: > | I would like to use to create an R client for couchbase. ( let me know > if there > | is already an existing package) > | My idea is to create a new R package based on the c > library libcouchbase. > | This is what is already done for other wrappers in python,ruby,.. > | What is the best method to call the C code from Rcpp? > | Can Iuse dyn.load('../../libcouchebase.so.2"), or should I copy all the > c code? > | If I should copy , what part of code in the original code I need , src > folder > | and the makfile for example? > | Is there any R/Rcpp package doing similar tasks ( a wrapper to a c > library) , > | that I can follow to start ? > > Among the 186 existing CRAN packages using Rcpp, many do in fact use either > an external library as you plan here, or in simpler cases embed the code > (eg > my RcppCNPy just adds one or two C files). > > I'll probably also rename lib rhiredis package on Github into RcppRedis to > make this more plain; it too uses an external library, here the C library > hiredis. > > Dirk > > PS List etiquette I'd really like to establish / confirm is to sign an > email > with a proper, identifiable name. I tell you who I am, don't readers > deserve > to know about you if you ask them to help you? > > -- > Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com >
_______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel