[Rprotobuf-yada] Compiling on RHEL 64 bit Linux

Dirk Eddelbuettel edd at debian.org
Thu Dec 24 20:58:29 CET 2009


On 24 December 2009 at 14:08, Saptarshi Guha wrote:
| Hello,
| I just checked out Rcpp(0.7.0.1)(from svn), built, installed and then
| checked our rprotobuf(revision 253).
| I still get
| ** preparing package for lazy loading
| Loading required package: Rcpp
| Error in rematchDefinition(definition, fdef, mnames, fnames, signature) :
|   methods can add arguments to the generic only if '...' is an
| argument to the generic
| Error: unable to load R code in package 'RProtoBuf'
| 
| But loading Rcpp( library(Rcpp) ) in R works. Can I provide something else?

Didn't one yout mails say R 2.8.* ?  I suspect that it is one of those S4
aspects. 

Dirk, who sticks to S3 most of the time

| Regards
| 
| 
| On Thu, Dec 24, 2009 at 1:13 PM, Dirk Eddelbuettel <edd at debian.org> wrote:
| >
| > On 24 December 2009 at 12:54, Saptarshi Guha wrote:
| > | Yes, it all compiled now(thanks), but ...
| > |
| > | ** preparing package for lazy loading
| > | Loading required package: Rcpp
| > | Error in rematchDefinition(definition, fdef, mnames, fnames, signature) :
| > |   methods can add arguments to the generic only if '...' is an
| > | argument to the generic
| > | Error: unable to load R code in package 'RProtoBuf'
| >
| > Works for me on amd64 with current Rcpp. I just committed the fix to the
| > issue you found and cleaned three or four other 'g++ -Wall' issues -- then
| > after 'cd pkg; ./cleanup; cd ..' a fresh R CMD INSTALL as all is well here:
| >
| >> library(RProtoBuf)
| > Loading required package: Rcpp
| > R>
| >
| > and e.g. 'demo(io)' runs fine.
| >
| > Dirk
| >
| > --
| > Three out of two people have difficulties with fractions.
| >

-- 
Three out of two people have difficulties with fractions.


More information about the Rprotobuf-yada mailing list