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
Labels
code 🖥️ R/, tests/ feature a feature request or enhancement

Comments

@hadley
Copy link
Member

hadley commented Nov 20, 2017

No description provided.

@jennybc jennybc added the feature a feature request or enhancement label Jan 16, 2018
@hadley
Copy link
Member Author

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>

@hadley hadley added the code 🖥️ R/, tests/ label Nov 24, 2018
This was referenced Nov 25, 2018
@hadley
Copy link
Member Author

hadley commented Nov 26, 2018

use_rcpp() would create

#include <Rcpp.h>
using namespace Rcpp;

@hadley hadley closed this as completed in 9467aca Nov 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code 🖥️ R/, tests/ feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants