[Rcpp-devel] FW: Rcpp attributes.cpp issue
Latchezar (Lucho) Dimitrov
ldimitro at wakehealth.edu
Sun Apr 19 04:02:21 CEST 2015
OK. Here it is.
Hi All,
Please see bellow my original e-mail to Mr. Eddelbuettel.
Help anyone? I do not need necessarily a Solaris user, rather someone who knows the actual types of 0U bellow or another way to resolve the ambiguity.
Thanks a lot,
Latchezar
"
Dear Mr. Eddelbuettel,
I have just built R-3.1.2 on solaris 11.2 with solaris stufio 12.4. Then starting it from the build I tried to install Rcpp. I failed due to the following compilation errors:
"attributes.cpp", line 1369: Error: Overloading ambiguity between "std::string::insert(char*, unsigned long, char)" and "std::string::insert(unsigned long, unsigned long, char)".
"attributes.cpp", line 1378: Error: Overloading ambiguity between "std::string::insert(char*, unsigned long, char)" and "std::string::insert(unsigned long, unsigned long, char)".
The lines in the code are:
typeText.insert(0U, 1U, *it);
and
name.insert(0U, 1U, ch);
Apparently I have to specify the type of 0U argument. Would you please help?
Thanks a lot,
Latchezar Dimitrov,
Analyst/Programmer, Wake Forest Univ. School of Medicine,
Winston-Salem, NC
U.S.A.
"
-----Original Message-----
From: Dirk Eddelbuettel [mailto:edd at debian.org]
Sent: Saturday, April 18, 2015 10:15 AM
To: Latchezar (Lucho) Dimitrov
Cc: edd at debian.org
Subject: Re: Rcpp attributes.cpp issue
I'd prefer the question on rcpp-devel. You may find a Solaris user there.
Dirk
Thank you for your email concerning Rcpp.
Due to the number of emails I receive about Rcpp, I can no longer respond to each incoming email individually. However, documentation is available via:
eight pdf "vignette" files which are included in the package, among them a
FAQ and an introduction to Rcpp
the introductory vignette is also published in the Journal of Statistical
Software (http://www.jstatsoft.org/v40/i08/)
my book at Springer (see http://www.rcpp.org/book) released in June 2013
about 80 examples published in the Rcpp Gallery (http://gallery.rcpp.org)
numerous answers on the rcpp-devel mailing list
(http://lists.r-forge.r-project.org/mailman/listinfo/rcpp-devel) and you are
invited to ask on the list (but need to subscribe first)
numerous posts on the StackOverflow site under the 'rcpp' tag
(http://stackoverflow.com/questions/tagged/rcpp) and you are invited to ask
there as well (though the rcpp-devel list may still get better answers)
posts on my blog (http://dirk.eddelbuettel.com/blog)
the code archive itself at GitHub https://github.com/RcppCore/Rcpp and the
package itself on CRAN (http://cran.r-project.org/web/packages/Rcpp/index.html),
in particular the unitTest examples can be instructive
the over 320 packages on CRAN (and 41 more on BioConductor) using Rcpp
Additionally, the introductory vignettes for RcppArmadillo and RcppEigen have now been published as well (http://dx.doi.org/10.1016/j.csda.2013.02.005;
http://www.jstatsoft.org/v52/i05/)
In particular, the rcpp-devel mailing list is the perfect place for questions (but please register in order to post, a measure required to keep spammers away).
Sincerely, Dirk Eddelbuettel
--
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
More information about the Rcpp-devel
mailing list