script rendering without explicit preamble #9037
aronatkins
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
It would be useful to support script rendering without requiring an explicit preamble. This would let folks take their existing scripts and use Quarto to run them.
For example, we have heard from many folks that they have existing R and/or Python scripts that are run by
cron
or some other scheduling system. Historically, they have found it inconvenient to restructure these scripts to run as R Markdown documents or Jupyter notebooks.If Quarto were to support rendering without code updates, many of these existing scripts could be published (to systems like Posit Connect).
This is a standalone script, outside the context of a project. When deployed, it but may receive a
_quarto.yml
in order to control the rendering output directory -- making it appear like a project.Proposal:
quarto render script.R
renders the script as-is.quarto render
(project) renders specific*.R
and*.py
files enumerated in the project YAML.quarto render
(project) renders any*.R
and*.py
when those scripts have a preamble (subject to otherrender
restrictions).Beta Was this translation helpful? Give feedback.
All reactions