3

也许是一个简单的问题,但我想知道是否有一个函数可以将.md文件重新转换回.Rmd最初创建它的文件,因为我似乎丢失了原始.Rmd文件,而不仅仅是复制和粘贴代码部分。该.md文件最初是使用knitRStudio 中的 to html 函数创建的。

4

1 回答 1

0

I am not aware of a tool that does this out of the box. However, you could probably use a combination of the linux command line tools grep and sed to get the desired effect. I think this could be quite a lot of work to get working in a general sense, so copy/pasting in your case would be the fastest way.

于 2012-09-05T10:51:51.293 回答