-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Labels
Description
Previously we have implemented support to RMD file as DSC executable modules. Thinking about it a bit more, I think we can make some efforts to bridge between interactive analyses and running in DSC if we invent some conventions for RMD indented to be used in DSC. Since I'm not very sure how RMD is typically used I hope you could suggest me what to do.
Basically, one possibility could be something like this, eg, in DSC:
normal: normal.Rmd
n: 1000
...And the Rmd file might look like:
Now let's prototype this method. First set parameters:
` ` `{r}
n = 1000
` ` `
Then run this method
` ` `{r chunck_name}
x = rnorm(n)
` ` `
where (explain what everything is)
Now let's make a diagnostic plot:
` ` `{r}
plot(x)
` ` `
You see DSC will only need the 2nd code chunk. Does it seem to be useful to have something along the lines of:
normal: normal.Rmd:name
n:1000Or even eg,
trunk_normal: normal.Rmd:simulate + normal.Rmd:truncate
n: 1000This way will in some way tie DSC with exploratory analysis. If this propose looks useful in practice, could we decide on a syntax for it?