thx phil the Rmd format is actually quite different than md so that conversion didnt go well
i ended up doing a 2 step conversion: in R (via the GUI or through R -e command line), first convert the Rmd files to md files: require(knitr) # required for knitting from rmd to md require(markdown) # required for md to html knit('test.rmd', 'test.md') # creates md file then use pandoc to convert the md files to org: pandoc -o test.org test.md this gives an almost 1:1 org file thx Z On Wed, Jul 20, 2016 at 1:08 PM, Philip Hudson <phil.hud...@iname.com> wrote: > pandoc -f markdown -t org myfile.rmd > > On 20 July 2016 at 05:28, Xebar Saram <zelt...@gmail.com> wrote: > > Hi all > > > > anyone know of a way to convert rmarkdown (rmd) files to orgmode? > > > > im preparing a R course and lots of cool examples in R are in rmd format > so > > it could be very useful to me > > > > best > > > > Z > > > > -- > Phil Hudson http://hudson-it.ddns.net > @UWascalWabbit PGP/GnuPG ID: 0x887DCA63 >