On Thu, 22 Nov 2018 12:41:05 +0100 meik michalke <[email protected]> wrote: > Am Donnerstag, 22. November 2018, 11:34:50 CET schrieb Thomas > Friedrichsmeier: > > However, the problem with saving the input files > > in /tmp is that .Rmd files may refer to other files by relative > > path, and so those won't be available, then. > > why do we have to copy the input file for preview at all? can't we > simply render the actual file and write all output to tempdir?
True, that would work for preview-as-you-save, but not for preview-as-you-type. I'll have to check the code to find out, how much trouble it would be to special-case the former. Regards Thomas
pgpPuhhCXSskg.pgp
Description: OpenPGP digital signature
