Forum Discussion
davor
8 years agoRegular Visitor
Published R reports with sourced scripts
Do I have an option to publish R scripts as well when publishing reports? I would like to do: source('path/to/script.r') A workable option is to import the script files with 'Get Data' -> 'Fold...
TomMartens
8 years agoSuper User
Hey,
what I mean is this:
You can source script files, if you are creating a custom visual, but you to do it for each visual that you want to use your source file.
Meaning for each custom visual you are creating, you have to source file individually.
Hopefully this clarifies my first post a bit.
Regards
Tom
what I mean is this:
You can source script files, if you are creating a custom visual, but you to do it for each visual that you want to use your source file.
Meaning for each custom visual you are creating, you have to source file individually.
Hopefully this clarifies my first post a bit.
Regards
Tom
davor
8 years agoRegular Visitor
Any way to adjust the current R-script-visual (i.e. make a new one based on the CORE R-script-visual)?
I am mainly thinking about removing `unique(dataset)`.
- Anonymous7 years agoNot applicable
Hi davor. I have the same issue. Did you find a solution?
- davor7 years agoRegular Visitor
No.
I have one large script that I copy-paste in all the visuals, and then at the end only call those functions that are needed for the visual.
Best I could think of...
- Anonymous7 years agoNot applicable
i found this solution on stack overflow