-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add missing quotes in requireNamespace call #5
Conversation
Ooops. Good catch. Thanks. And it probbaly want Package probably needs a refresher anyway. [ But everybody should use Rcpp Attributes these days... ] |
Add missing quotes in requireNamespace call
Thanks! I only used the package because I needed to link Boost's iostreams for an inline benchmark and couldn't figure out how to do it with |
Does iostream require a library for linking? Some of these can be used with and without linking, eg Boost Date_time can be used without parsers and formatters, in which case headers-only is good enough. And then you can get by with a plugin .... but that is maybe a discussion to be had on rcpp-devel. |
Yes, it looks like IOStreams is not header-only. I need it for parsing gzipped files without giving up on the convenience of using |
Nice. You may be able to cheat as we get the compression library from R. See what I do in RcppCNpy to open compressed files. You could then go over the file pointer with |
Thanks, I didn't know that zlib is bundled with R. I was looking at RcppCNpy and was wondering how you manage that dependency, so now I have my answer. I found a small library called Gzstream that provides an |
Yes, for some smaller packages where I didn't care that I might loose some users on really old systems I just turned C++11 on -- it even kinda sorta somewhat works on Windows with g++ 4.6.3, and gets rid of some issues (ie the stupid |
The following happens if the
Rcpp
argument isTRUE
incfunction
: