Skip to content

Instantly share code, notes, and snippets.

Francisco Rodriguez-Sanchez Pakillo

Block or report user

Report or block Pakillo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Pakillo /
Created Apr 22, 2016
Fetch climate data in R with package RFc

New R package to fetch climate data from FetchClimate webservice

Francisco Rodriguez-Sanchez
22 April 2016

Trying new RFc package to get climate data into R from FetchClimate service.

See all the available climate variables here.

Pakillo / rootdir.R
Created Mar 11, 2016
Get root directory of a Rstudio project
View rootdir.R
root <- find_rstudio_root_file()
Pakillo / Rpres_fontsize.Rpres
Created Mar 11, 2016
Controlling font size in Rpres
View Rpres_fontsize.Rpres
Example slide
<font size = "5px">
```{r echo = FALSE}
cleandata <- read.csv(file.path(root, "inst/extdata/coordsdata.csv"))
studies <- count(cleandata, ref, species, variable)
Pakillo /
Created Jan 11, 2016 — forked from jesperronn/
Convert a Word Document into MD

Converting a Word Document to Markdown in One Move

The Problem

A lot of important government documents are created and saved in Microsoft Word (*.docx). But Microsoft Word is a proprietary format, and it's not really useful for presenting documents on the web. So, I wanted to find a way to convert a .docx file into markdown.

Installing Pandoc

On a mac you can use homebrew by running the command brew install pandoc.

The Solution

Pakillo / tables.Rmd
Created Sep 30, 2015 — forked from benmarwick/tables.Rmd
Methods for tables with rmarkdown
View tables.Rmd
title: "A few methods for making tables in rmarkdown"
output: html_document
Packages that have appeared since my original look into this, and seem great:
Pakillo / calculate-cover.R
Created Jul 8, 2015
Calculate plant and bare ground cover in vegetation transects
View calculate-cover.R
#' Calculate total cover per species in vegetation transects
#' Calculate total cover per species in each transect, layer within transect, etc.
#' Optionally, the function can also calculate length of bare ground (as ground not covered
#' by any plant species).
#' @export
#' @author F Rodriguez-Sanchez
#' @importFrom plyr ddply
#' @importFrom gtools odd even
View base_r_plotting_tutorial_koontz_d-rug.r
### Title: Back to basics: High quality plots using base R graphics
### An interactive tutorial for the Davis R Users Group meeting on April 24, 2015
### Date created: 20150418
### Last updated: 20150423
### Author: Michael Koontz
### Email:
### Twitter: @michaeljkoontz
You can’t perform that action at this time.