Skip to content

Rcpp-quickrefs issue #484

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
exixx opened this issue May 30, 2016 · 5 comments
Closed

Rcpp-quickrefs issue #484

exixx opened this issue May 30, 2016 · 5 comments

Comments

@exixx
Copy link

exixx commented May 30, 2016

In the Inline section of the quickrefs sheet, the single quotes in the body aren't single quotes. a copy/paste of the code into R (3.3.0) from the 0.12.5 vignette doesn't work without replacing the quotes.
Additionally, since this is a minor point, I'll add another. In the Important Notes section, it states that many of the examples imply
using namespace Rcpp;

If this is mentioned, shouldn't it also mention that they also imply
#include <Rcpp.h>
?

@eddelbuettel
Copy link
Member

Thanks. Could you try to take a stab at fixing the existing LaTeX markup and try to correct this?

@exixx
Copy link
Author

exixx commented May 30, 2016

Hmm. I haven't looked at LaTeX in like 30 years, but sure.

@coatless
Copy link
Contributor

Needs documentation flag

@coatless
Copy link
Contributor

@eddelbuettel :

Is it okay if I also:

  1. add a short code example using Rcpp Attributes?
  2. replace the cxxfunction with cppFunction?

@eddelbuettel
Copy link
Member

Yes, sure. This one may be the most half-baked one of all.

eddelbuettel added a commit that referenced this issue Jul 17, 2016
Rcpp-quickref Vignette Updates (Closes #484)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants