We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 001db74 commit 186f8caCopy full SHA for 186f8ca
R/Attributes.R
@@ -196,7 +196,7 @@ sourceCpp <- function(file = "",
196
if (embeddedR && (length(context$embeddedR) > 0)) {
197
srcConn <- textConnection(context$embeddedR)
198
setwd(rWorkingDir) # will be reset by previous on.exit handler
199
- source(file=srcConn, echo=TRUE)
+ source(file = srcConn, local = env, echo = TRUE)
200
}
201
202
# cleanup the cache dir if requested
0 commit comments