data science tutorials and snippets prepared by tomis9
Before you begin, check out a very nice cheatsheet available at https://www.rstudio.com/wp-content/uploads/2016/03/rmarkdown-cheatsheet-2.0.pdf
Vim key mappings are rather intuitive, pretty similar to basic r filetype mappings:
In general, Rmarkdown is just markdown with a possibility to add R chunks of code and execute them. Which is pretty nice, actually. Some more informationon http://rmarkdown.rstudio.com/authoring_basics.html
By the way, it would be great if you could have separate keys for rendering and showing the results, like
And if there was a snippet https://github.com/honza/vim-snippets for rmarkdown so you didn’t have to make up your own description block every single time you create a new file. Yeah, you’d love it.
I am sorry but I am too lazy to add these features right now :) Good luck, anyways.
x <- 10
print(x)
## [1] 10
just the same function to create a title as in basic markdown
and some plot
You can also execute bash and probably some other languages as well. That’s pretty impressive.
ls
echo "some random text"
## CinR.md
## RMariaDB.Rmd
## RMariaDB.html
## Rcpp.Rmd
## Rcpp.html
## airflow.md
## airflow.txt
## aws.md
## beautiful_soup.md
## caffee.md
## cassandra.md
## classesS4.Rmd
## classesS4.html
## cookbook.md
## data.table.Rmd
## data.table.html
## debugging.Rmd
## debugging.html
## decision_trees.Rmd
## decision_trees.html
## decision_trees_files
## decorators.Rmd
## decorators.html
## dimensionality.Rmd
## dimensionality.html
## django.md
## docker.md
## feature_metrics.md
## featuretools.md
## file.Rmd
## file.html
## file_files
## flask.md
## ggplot2.Rmd
## ggplot2.html
## git.md
## gitlab_ci.md
## hadoop
## hadoop.md
## heroku.md
## hugo.md
## javascript.md
## kafka.md
## keras.md
## learning_tensorflow.Rmd
## logging.md
## lubridate.Rmd
## lubridate.html
## machine_learning_problems.md
## marathon.md
## matplotlib.Rmd
## mesos.md
## ml.Rmd
## ml.html
## mtcars.csv
## nlp.md
## nls.Rmd
## nls.html
## packages.md
## pandas.Rmd
## passing_arguments.md
## pyenv.md
## pytorch.Rmd
## rTags.md
## redis.md
## regex.md
## reshape2.Rmd
## reshape2.html
## rocker.md
## rstanarm.md
## sample_data.csv
## shiny.md
## spark.md
## sqlalchemy.md
## sqldf.Rmd
## sqldf.html
## stringr.Rmd
## stringr.html
## tensorflow.md
## tensorflow_serving.md
## testing.md
## theano.md
## tidyverse.Rmd
## tidyverse.html
## useful_processing.Rmd
## useful_processing.html
## vagrant.md
## validation.Rmd
## validation.html
## vim_as_ide.md
## vim_vs_emacs.Rmd
## vim_vs_emacs.html
## some random text