GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing quarto.org — Managing Execution – Quarto OverviewRendering a list of input files has the potential to be quite time consuming depending on the computations required. There are a number of techniques you can use to minimize the time required to rebuild a site that has expensive computations. Incremental RenderWhen working on a project you are typically iterating on a single document at a time. You can render a single file (or single directory or list of files) incrementally by specifying it on the command-line: Even though you are rendering only part of the project, any associated project-handling code is still executed. So for example in a book project the entire book is still produced (using previously rendered versions of the other chapters). FreezeYou can use the Note that Terminal Using FreezeFreeze is generally used when you have either a large number of collaborators or many computational documents created over a longer period of time. In both cases it can be challenging to fully re-execute every document when you render the site. This could be because some documents have esoteric or environment-specific requirements (e.g. require access/authentication to a data source) or due to general fragility of dependencies over time. Using freeze ensures that you can always reproducibly render your site. The computational results of documents executed with Note that you’ll still want to take care to fully re-render your project when things outside of source code change (e.g. input data). You can remove previously frozen output by deleting the Virtual EnvironmentsYou can also combine To learn how to create and use a virtual environment, see the full documentation on Virtual Environments Here’s an example workflow of using virtual environments with freeze:
This sub-directory render won’t use the cached CacheYou can use the Note that cache invalidation is triggered by changes in chunk source code (or other cache attributes you’ve defined). You may however need to manually refresh the cache if you know that some other input (or even time) has changed sufficiently to warrant an update. To do this, render either individual files or an entire project using the NotebooksNote that when rendering an You can also specify this behavior within the notebook’s YAML front matter: Working DirBy default, the working directory for rendering files within a project is the directory of the file itself. If you prefer to use the main project directory instead, you can add the Note that from within your code you can always determine the location of the currently executing Quarto project using the |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |