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

Comments

@hadley
Copy link
Member

commented Nov 20, 2017

No description provided.

@jennybc jennybc added the feature label Jan 16, 2018

@hadley

This comment has been minimized.

Copy link
Member Author

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 🖥 label Nov 24, 2018

This was referenced Nov 25, 2018
@hadley

This comment has been minimized.

Copy link
Member Author

commented Nov 26, 2018

use_rcpp() would create

#include <Rcpp.h>
using namespace Rcpp;

@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
2 participants
You can’t perform that action at this time.