Skip to content
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

use_c() and use_cpp() #117

Closed
hadley opened this issue Nov 20, 2017 · 2 comments
Closed

use_c() and use_cpp() #117

hadley opened this issue Nov 20, 2017 · 2 comments

Comments

@hadley
Copy link
Member

@hadley hadley commented Nov 20, 2017

No description provided.

@hadley
Copy link
Member Author

@hadley hadley commented Aug 15, 2018

Use C would create src/ directory, and include these lines:

#define R_NO_REMAP
#include <R.h>
#include <Rinternals.h>

Loading

@hadley
Copy link
Member Author

@hadley hadley commented Nov 26, 2018

use_rcpp() would create

#include <Rcpp.h>
using namespace Rcpp;

Loading

@hadley hadley closed this in 9467aca Nov 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants