R Snippet: Sourcing external Rscripts

Hi everyone,

I was wondering if its possible to source  ( source("myscript.R") ) external Rscripts using R Snippet.  And if so, which path I have to use as the absolut path to my script did not work for me.

Thanks a lot !

You can either call the script directly using the full path, such as source("C:\\mypath\\myscript.R") or you call setwd("D:\\mypath") before running source("myscript.R").

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.