Rmarkdown, a life changing package for reproducible research and elegant reports. Always enjoy learn something new from you! Thank you very much.
@Riffomonas
2 жыл бұрын
Agreed! Thanks for watching 🤓
@mikhaeldito
3 жыл бұрын
I just discovered your channel and it's such a treasure trove! Thanks for sharing all your knowledge :)
@Riffomonas
3 жыл бұрын
Glad you enjoy it!
@DG-xg8vg
3 жыл бұрын
I am writing my Literature Review and current progress report for my PhD 9 month review, your videos are exactly what I need, thanks for all the help!
@Riffomonas
3 жыл бұрын
That's awesome to hear - good going!
@AliMovasati-yc9gg
Жыл бұрын
What is the make file/rule you talked about towards the end of video? Do you already have a separate video showing how we can incorporate into our data analysis pipeline?
@PhilippusCesena
2 жыл бұрын
One thing is not clear to me: Animals, for example, asked me to send the document using their template (latex or word). So I can't use the default rmarkdown style? What is usually done in these cases?
@Riffomonas
2 жыл бұрын
I'm sure there's a way to use the latex template, but that's past my latex skills! I'd probably get the docx and copy and paste into the template
@haraldurkarlsson1147
2 жыл бұрын
Pat, Very interesting how you write your RMarkdown file in a simple text file and then format it. I recognize a bunch of pure LaTeX commands in your code. The one difference I do see is that RMarkdown is a bit more tolerant than LaTeX. In LaTeX all instructions about the overall look of the manuscript are in the Preamble of the document (sort of like the YAML header). I am coming from LaTeX to RMarkdown so the latter seems quite easy to me. But I think that if you are familiar with RMarkdown (or just plain Markdown) that the transition to LaTeX woul not be all that hard. LaTeX has gotten a lot of more user-friendly these last years due to some of IDEs that have been built for it (sort of like what RStudio did for R). As a Mac user I use TeXShop which I think is terrific (all kinds of fill-down menus and built-in macros and templates). Windows users also have a lot of good choices. Beginners like TeXMaker which also works on Macs. Most journals will have a LaTeX template so all we have to do is just plug in our text. Similarly most top universities (I am sure Michigan has one) have thesis and dissertation templates on hand taking the pain out of the formatting (I recall turning in my dissertation to an inspector who used a ruler on margins etc - I wrote mine in an early version of MS Word).
@Riffomonas
2 жыл бұрын
Thanks! I keep wanting to learn more latex. Admittedly a lot of it is google - copy - paste at this point
@rajeshkalakoti2434
Жыл бұрын
It's an excellent video! I personally find R Markdown to be more preferable than Sweave. I would highly appreciate it if you could create a tutorial video demonstrating how to insert LaTeX algorithms into R Markdown using knitr, without relying on Sweave. Thank you.
@musicspinner
2 жыл бұрын
Yes, but getting your co-workers or supervisor to even consider switching from Word or using Git is too often a fool's errand which will take you several steps down the path to ostracization and ridicule. Manually verify every single number for every single draft only to have Word crash before saving because you scrolled over the figures section too fast(???)? Some just don't want to wake up from that nightmare.
@Riffomonas
2 жыл бұрын
This is why I love being the boss. I make people rewrite it if it’s in word. 😂 you can always render to word give everyone a docx file and then reinsert the corrections yourself
@musicspinner
2 жыл бұрын
@@Riffomonas you're one of the good ones. 👨🎓👌
@haraldurkarlsson1147
2 жыл бұрын
RMarkdown reminds of LaTeX...
@Riffomonas
2 жыл бұрын
Definitely. I think if you know latex you can really get a lot out of r markdown
@haraldurkarlsson1147
2 жыл бұрын
I use both and in some instances prefer LaTeX. Lately I have use a LaTeX package called tcolorbox to imbed copied R code directly into LaTeX. It looks pretty nice actually. I have also used TikZ/PGFPLOTS to plot natively inside LaTeX but it can be pretty slow especially if you have large data files but it looks great if you can do. The figure just blends right into the LaTeX document (the fonts are consistent etc). I like RMarkdown but find it cumbersome when the documents get long. The knitting seems to hang up too often at that point at least for me.
Пікірлер: 20