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

Profile ad-hoc functions #8

Open
krlmlr opened this issue Feb 8, 2017 · 3 comments
Open

Profile ad-hoc functions #8

krlmlr opened this issue Feb 8, 2017 · 3 comments
Milestone

Comments

@krlmlr
Copy link
Member

krlmlr commented Feb 8, 2017

created by Rcpp::cppFunction().

krlmlr pushed a commit that referenced this issue Dec 8, 2017
Remove unnecessary named parameter, NFC
@krlmlr
Copy link
Member Author

krlmlr commented Jan 3, 2018

Currently requires turning off JIT and patching the created function:

print(Rcpp::cppFunction("int x() { return 1; }"))
#> function () 
#> .Primitive(".Call")(<pointer: 0x7fd9fb532060>)

Created on 2018-01-03 by the reprex package (v0.1.1.9000).

@atheriel
Copy link
Contributor

The issue with .Call has been resolved in Rcpp. However, the vignette still disables the JIT. What is the underlying reason this is still required?

@krlmlr
Copy link
Member Author

krlmlr commented Oct 21, 2019

I don't remember. If it works now with the JIT enabled, I see no reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants