Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I give a dataframe to params? #94

Open
qqwxp opened this issue Dec 16, 2022 · 0 comments
Open

How can I give a dataframe to params? #94

qqwxp opened this issue Dec 16, 2022 · 0 comments

Comments

@qqwxp
Copy link

qqwxp commented Dec 16, 2022

It seems that only string, numeric, and logical value can be passed to params in rmarkdown file.

However, sometimes I want to pass a dataframe or .rdata, which is preprocessed in the previously. I know one practice is to export the object to a file, then give the file path to the rmarkdown params. But when the object is large (i.e. omics data), and exploratory analyses performed for many times with many processed objects, this practice results in much disk space occupied.

Is there any trick to give the processed object (i.e. dataframe, .rdata, rds) to the rmarkdown?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant