Rmd temp file for preview

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Thu Nov 22 11:56:37 GMT 2018


On Thu, 22 Nov 2018 12:41:05 +0100
meik michalke <meik.michalke at uni-duesseldorf.de> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20181122/302286b1/attachment-0001.sig>


More information about the rkward-devel mailing list