RMarkdown integration

meik michalke meik.michalke at uni-duesseldorf.de
Wed Apr 18 23:35:49 UTC 2018

Am Mittwoch, 18. April 2018, 17:05:31 CEST schrieb meik michalke:
> (a general "switch view" option for RMarkdown files would be neat and
> shouldn't be too much work)

what i mean by that is something similar to the "run all" button we have for R 
code. it would dynamically change from "HTML" when you see the Rmd code to 
"RMarkdown" when the HTML is shown, and using it would toggle the appearance 
of the current tab. that is, you write some Rmd script (for RKWard to know 
that even without saving a new "create" option could be helpful) and get an 
"HTML" button in the menu. clicking it would immediately render the current 
state of the script -- saved or not -- to HTML and replace both the tab with 
the read-only output and the button with "RMarkdown" to get back to the actual 
script. the R code to execute for this is just the two or three calls 
mentioned earlier.

when you think about it, this could potentially replace the additional preview 
window section we've added to some dialogs, because you could then just toggle 
the appearance of the code preview section.

viele grüße :: m.eik

  dipl. psych. meik michalke
  institut f"ur experimentelle psychologie
  abt. f"ur diagnostik und differentielle psychologie
  heinrich-heine-universit"at d-40204 d"usseldorf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20180419/8ba0fdcf/attachment.sig>

More information about the rkward-devel mailing list