227 search results for "knitr"

Getting a simple tree via NCBI

February 14, 2013
By
Getting a simple tree via NCBI

I was just at the Phylotastic hackathon in Tucson, AZ at the iPlant facilities at the UofA.

A problem that needs to be solved is getting the incrasingly vast phylogenetic information to folks not comfortable building their own phylogenies. Phylomatic has made this super easy for people that want plant phylogenies (at least 250 or so papers...

Read more »

R package building automation

February 11, 2013
By

Title: R package building automation

Inspired by the post at http://giventhedata.blogspot.tw/2013/02/my-r-package-development-cheat-sheet.html. I have decided to publish my cheat script for package development as well.

Building package used to be a nightmare, filling in all those Rdfiles manually can cause some serious brain...

Read more »

Publishing from R+knitr to WordPress

February 10, 2013
By
Publishing from R+knitr to WordPress

Tal Galili asked a question on StackOverflow on publishing blog posts to WordPress from R + knitr. William K. Morris has written a solution long time ago, and I tweaked it a little bit and created a function knit2wp() in the development version of knit...

Read more »

Tables from R into Word

February 5, 2013
By
Tables from R into Word

A good looking table matters! A good looking table matters! This tutorial is on how to create a neat table in Word by combining knitr and R Markdown. I'll be using my own function, htmlTable, from the Gmisc package. Background: Because most journals that I submit to want...

Read more »

Data Visualization for Education

February 3, 2013
By

Recently I was invited to give a talk to two cohorts of Strategic Data Project fellows. I was asked to speak about using data visualization to help inform decision-making of policy makers. At the same time, the group had a lot of variation in their int...

Read more »

repmis: misc. tools for reproducible research in R

January 30, 2013
By

I've started to put together an R package called repmis. It has miscellaneous tools for reproducible research with R. The idea behind the package is to collate commands that simplify some of the common R code used within knitr-type reproducible research papers.

It's still very much in the early stages of development and has two commands:

Waiting for an API request to complete

January 26, 2013
By

Dealing with API tokens in R

In my previous post I showed an example of calling the Phylotastic taxonomic name resolution API Taxosaurus here. When you query their API they give you a token which you use later to retrieve the result (see examples on their page above). However, you don't know when the query will be...

Read more »

Resolving species names when you have a lot of them

January 25, 2013
By

taxize use case: Resolving species names when you have a lot of them

Species names can be a pain in the ass, especially if you are an ecologist. We ecologists aren't trained in taxonomy, yet we often end up with huge species lists. Of course we want to correct any spelling errors in the names, and get the newest...

Read more »

Create HTML page containing all package examples using knitr and markdown

January 23, 2013
By

Create HTML page containing all package examples using knitr and markdown body, td { font-family: sans-serif; background-color: white; font-size: 12px; margin: 8px; } tt, code, pre { font-family: 'DejaVu Sans Mono', 'Droid San...

Read more »

A beginner’s guide to sharing and collaboration with R

January 22, 2013
By

In today's social world, it's important to be able to collaborate with others online when working with data, and to be able to easily share your outputs online. Fortunately, the R language and the broad R community provides a number of facilities for collaboration and sharing, which are summarized in Noam Ross's guide to tools for collaboration with R....

Read more »