![]() md source produced by knitr works pretty well, though the image links will be broken. With Markdown, I think the images are created in a directory that is dynamically linked to, but for the HTML there is maybe some way that images are embedded (it appears the embedding isn’t compatible with copying and pasting the HTML source produced by knitr - I guess the images will have to be uploaded manually).Ĭopying and pasting the. The big question is what will happen with generated images, etc. Upload (or copy/paste) the md or HTML source into WordPress. Use knitr with my local version of R to process the Rmd into either a proper md ( Markdown) or an HTML that I can just upload (NOTE: the HTML option doesn’t really seem to work … will maybe need to look into this some more). And advantage to this is that I can use whatever editor I want for doing the composing (like Aquamacs), and that everything is contained in a single source document. What I’d like to be able to do is use knitr on an R markdown (i.e.Rmd) document so include text, code, code output, and images to make a nice looking WordPress post that I can compose and edit locally.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |