An Intro to R Markdown

preview_player
Показать описание

Install both R and pandoc-citeproc. Go into R and install "rmarkdown" and for Python, "reticulate".

---
Рекомендации по теме
Комментарии
Автор

>linguistics degree
>knows Latin
>can't say “asterisks”
>doesn't know what <`> is called
big kek

freezejr
Автор

Thanks very much Luke. You really inspired me to move from Word to LaTeX and not looking back. Now R markdown and eventually I'll be ditching Windows/Office for Linux/Open Source. Keep doing the great work you're doing. I really enjoy your videos.

fms
Автор

If you are using the latest LARBS, the compilation shortcut is <leader>c. In default LARBS, the leader is a single space (" "). To open the output file, the shortcut is <leader>p.

KyleSwirl
Автор

You will also need to install the package "tk" to install R packages.

felex
Автор

I needed these 2 lines in vimrc. First line is for treating rmd/Rmd as markdown.

autocmd BufNewFile, BufFilePre, BufRead *.rmd, *.Rmd set filetype=markdown
autocmd Filetype markdown map <F5> :!Rscript -e "rmarkdown::render('%', 'pdf_document')"<CR

SY-merk
Автор

Pandoc and RMarkdown are truely amazing tools.

TheFakeVIP
Автор

Append in your .vimrc command to have your pdf refresh automatically.

sksbest
Автор

I also hate that R folder in my home directory. So I download the source for R, change a line in the config file, and then I custom compile it.

channelnumber
Автор

But do the journals you submit to accept this format?
And the images just follow standard markdown?

gz
Автор

Considering you use LaTeX and R, have you tried Rnoweb (.Rnw) format?

blackrastafarian
Автор

How can I modify your F5 line to do this>> pandoc --pdf-engine=xelatex -V CJKmainfont="Source Han Serif CN"

NocturnidadInterna
Автор

so is for generating plot, graphs and the like?

kelvinpina
Автор

I realize this video is a couple years old now but I just found your channel and subscribed, cause I am enjoying your Vim usage videos and just generally love Vim. So I would like to start using R markdown now, but the link in your video description for your .vimrc gives me a 404 error. I searched around your github stuff but was unable to find it. Please help. Thanks!

finster
Автор

Thank you so much for the informative video. I have a data analysis and clustering assignment due and I have been dreading using LaTeX because of how arcane and outdated the commands and repositories are. Cheers!

husseinal-odwan
Автор

Could you explain more in detail how you use rmarkdown in vim (LaTeX intégration, quotations of books, etc) ? Very usefull for students !

bepolymathe
Автор

I copied your vimrc file but F5 doesn't compile. Do I need to install anything else?

jaredturner
Автор

Could you do a quick tutorial on how to setup/use Alpine?

Sun-pozv
Автор

Sadly, I'm getting errors when my RMD has non-ASCII characters, e.g. Introdução

cfufswu
Автор

`sudo pacman -S R` returns `error: target not found: R` nowadays. You need a lower case letter `r`.

cprn.
Автор

I will create a G(roff) markdown probably.
The main problem of (r)markdown is not the fact that it converts to multiple formats, but that it uses latex which is extremely bloated.
Also, the debug isn't clear. We could implement a very simple debug script that tells which line in the markdown is wrong.

lucapham-trong