Skip to content

Instantly share code, notes, and snippets.

@earino
Created January 6, 2014 00:44
Show Gist options
  • Save earino/8276274 to your computer and use it in GitHub Desktop.
Save earino/8276274 to your computer and use it in GitHub Desktop.
Calling C++ from R
sourceCpp('../src/string_slicer.cpp')
sliced_string <- string_slicer(s, cutpoints$start, cutpoints$end)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment