Skip to content

Instantly share code, notes, and snippets.

@dmontaner
dmontaner / notas.org
Created February 25, 2020 15:37
org_mode_notes

nota

@dmontaner
dmontaner / test.md
Last active December 21, 2019 23:39
  • @mentions, #refs, links, formatting, and tags supported
  • list syntax required (any unordered or ordered list supported)
  • this is a complete item
  • this is an incomplete item If you include a task list in the first comment of an Issue, you will get a handy progress indicator in your issue list. It also works in Pull Requests!

Tables

You can create tables by assembling a list of words and dividing them with hyphens - (for the first row), and then separating each column with a pipe |:

@dmontaner
dmontaner / about.md
Last active August 29, 2015 13:58
split & relist

A comparison of the functions split and relist. I study how they can be used to translate the elements in a list of vectors.

Both functions are more than ten times faster than lapply.

relist seems to be a bit faster than split.


A function to "translate" lists of vectors is next provided in the file translate_list_function.r

@dmontaner
dmontaner / about_nemo_actions.md
Last active September 16, 2020 15:46
How to set up a Nemo (file manager) Actions to execute an R script in BATCH mode. Knitr spin based versions included.

This files and scripts are used to set up some actions for the Nemo file manager. Those actions will let you execute an R script in BATCH mode but using the Nemo graphical interface.

The first action uses the Linux shell command R CMD BATCH and will produce an .Rout file (besides the script results).

The two last action use [knitr::spin][spin] and Pandoc to create HTML or PDF log/report files.