Skip to content

Recommended equivalent to rstudioapi, especially the rstudioapi::getSourceEditorContext() function? #6316

Answered by jennybc
davidkane9 asked this question in Q&A
Discussion options

You must be logged in to vote

Large parts of rstudioapi are already working in Positron and your example already works for me:

> rstudioapi::getSourceEditorContext()$path
[1] "/Users/jenny/rrr/readxl/src/utils.h"

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@davidkane9
Comment options

Answer selected by davidkane9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants