Replies: 1 comment 2 replies
-
Few clarifications:
Far as I know, there is nothing forbidding you to setup Footnotes
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
TLDR: I want to create a blog where I will be using
R
ANDPython
and for some posts, I would want to use specific virtual environments combined withfreeze
orcache
.renv
addresses some needs,conda
addresses others, but I can't address them all.Detailed context
I want to create a blog where I will be using
R
ANDPython
and I want to use virtual environment(s) for dependencies as well as freezing to reduce rendering times. I know I can use different virtual environments, such asrenv
orconda
. I have used them in the past with quarto, but in projects where I either usedR
ORPython
respectively.I have several specific issues I'd like to address:
In relation to 1:
I know conda can also install some r packages (amongst binaries, for example, quarto!), but I'm afraid that to my knowledge, not every R package is available on conda and sometimes not every version is there, too.
I recently discovered that I can use
renv
for python packages too (details here: https://rstudio.github.io/renv/articles/python.html and https://rstudio.github.io/renv/articles/python.html), which would be a solution for that, and probably a better fit than conda. Regretfully, it doesn't address items 2 and 3 (see below).In relation to 2 and 3:
I was considering using virtual environments within the blog post (like suggested here https://stackoverflow.com/questions/74451630/multiple-python-venv-in-a-single-quarto-website) and enable
freeze
.The (quite manual -and therefore, perfectible) workflow would be:
_freeze/
folderAs far as I know, this would not work with
renv
, because there can only be onerenv
per project. That means that it would only work if I useconda
environments, but as seen before, may not be good for some packages.So, my question is: is there any way/workflow to address the 3 outlined issues above?
Beta Was this translation helpful? Give feedback.
All reactions