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