Skip to content
Discussion options

You must be logged in to vote

quarto render and quarto preview happen locally on your machine.

I tried to include code blocks in a .qmd file but it is resulting in all kinds of errors. Not sure how things are getting executed.

That code is likely running on your machine. There's a difference in how we process .ipynb files compared to .qmd files. By default, we do not execute ipynb files, and instead we use the results that will be included in them (since in Jupyter notebooks, you can save the result of an execution in the notebook itself).

For a .qmd file, on the other hand, we have to execute all code cells (since we certainly won't have access to previous results).

To answer your question about what is a better op…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by samarzayan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants