Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- crosswalk = function(){
- selection = rstudioapi::getSourceEditorContext()$selection[[1]]$range
- doc_id = rstudioapi::getSourceEditorContext()$id
- rstudioapi::insertText(location = selection, 'foo_bar_fizz_bang', id = doc_id)
- }
- crosswalk()
- summary(mtcars)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement