Skip to content
Prev 18665 / 21307 Next

[Bioc-devel] EXTERNAL: LazyData: false and accessing data in the YAML section of an Rmd document

I guess I failed to explain:

In the yaml section of the rmarkdown I can only use a single R expression;
i.e., I can not write:
```
configuration:  !r data('somedata', package="xyz"); somedata$uvw
```
because these are two expressions.

I could write:
xyz::somedata$uvw

So to rephrase my question. What would be your recommendation to convert 
these two expressions:

data('somedata', package="xyz"); somedata$uvw

into one?

Hope this clarifies my question.

Best regards
Witek
On 18/11/2021 16:44, Marcel Ramos wrote: