-
DescriptionIssue Description: I would like to ask how to pass the file path as a parameter to achieve batch processing of large amounts of data. This is my current code:
The code seems to run successfully without any errors, but it appears that the parameter is not being passed correctly.
Here is the relevant portion of my Quarto file and the reproducible demo file:
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 16 replies
-
I have referred to |
Beta Was this translation helpful? Give feedback.
-
Is this completely impossible? It seems that this post mentioned that jupter does not support parameter passing? But I may prefer to use jupter at present. |
Beta Was this translation helpful? Give feedback.
-
Please make sure your code is properly formatted and is correct. Also be sure to read the documentation: https://quarto.org/docs/computations/parameters.html#jupyter The options
You can share a self-contained "working" (reproducible) Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four If you have multiple files (and if it is absolutely required to have multiple files), please share as a Git repository.
Additionally and if not already given, please share the output of |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
I also find a bug:
the result is
but if the code is
it will report:
|
Beta Was this translation helpful? Give feedback.
-
Another small problem that I encountered before is that it seems that the init cell will be automatically repeated once, and there cannot be a label name. If there is one, an error will be reported.
|
Beta Was this translation helpful? Give feedback.
You are still not following the documentation.
#| tags: [parameters]
is the code cell where you initialise the parameters, not use them.Look at my example or the documentation as a screenshot below: