533 search results for "knitr"

htmlwidgets: JavaScript data visualization for R

December 18, 2014
By
htmlwidgets: JavaScript data visualization for R

Today we’re excited to announce htmlwidgets, a new framework that brings the best of JavaScript data visualization libraries to R. There are already several packages that take advantage of the framework (leaflet, dygraphs, networkD3, DataTables, and rthreejs) with hopefully many more to come. An htmlwidget works just like an R plot except it produces an interactive web

Read more »

Interactive 2D & 3D Plots with Plotly and ggplot2

December 16, 2014
By
Interactive 2D & 3D Plots with Plotly and ggplot2

by Matt Sundquist co-founder of Plotly R, Plotly, and ggplot2 let you make, share, and collaborate on beautiful, interactive plots online. Let's see what we can do with the topographic data from Auckland's Maunga Whau Volcano that comes with R. Copy and paste this R code to make your first plot. The basic idea is: use ggplot2 code, add...

Read more »

Producing student/teacher versions from a single Sweave file

December 16, 2014
By
Producing student/teacher versions from a single Sweave file

This tutorial describes how to integrate computable R code (and outputs) in a LaTeX documents in a such a way that a single file can generate two (or more) PDF files. This trick is particularly useful for creating worksheets for R courses. A very small introduction to integrating R code in LaTeX files R code

Read more »

Don’t teach built-in plotting to beginners (teach ggplot2)

December 15, 2014
By
Don’t teach built-in plotting to beginners (teach ggplot2)

I have some experience teaching R programming (see, for instance, my online course). One of the atypical choices I make is to start by teaching Hadley Wickham’s ggplot2 package, rather than the built-in R plotting (see these videos). Many times that I mention this choice to others involved in statistics education, they treat it like a mistake...

Read more »

Use hidden advanced arguments for user-friendly functions

December 10, 2014
By
Use hidden advanced arguments for user-friendly functions

As a user Imagine that you are starting to learn how to use a specific R package, lets call it foo. You will look at the vignette (if there is one), use help(package = foo), or look at the reference manual (for example, devtools' ref man). Eventually, you will open the help page for the function(s) you are interested...

Read more »

Blog with RStudio, R, RMarkdown, Jekyll and Github.

December 9, 2014
By
Blog with RStudio, R, RMarkdown, Jekyll and Github.

In the first post of this new blog I’ll outline how I’ve set the blog up. writing posts in Rmarkdown converting posts to markdown from R push to Github where Jekyll renders the markdown organising all as an RStudio project What I wanted I wanted to be able to write about R related things without having to...

Read more »

Recordings of RStudio Webinar Series on Essential Tools for Data Science with R

December 9, 2014
By
Recordings of RStudio Webinar Series on Essential Tools for Data Science with R

by Yanchang Zhao, RDataMining.com RStudio recently ran a series of live webinars on Essential Tools for Data Science with R, but it is inconvenient for people from other time zones to attend. Fortunately, the recordings have been made available online, … Continue reading →

Read more »

dplyr – some more reflections

December 4, 2014
By

Yesterday, I published a post here on DataScience.LA with a simple/basic benchmark for dplyr. It...

Read more »

Bio7 2.0 for Windows Released!

December 1, 2014
By
Bio7 2.0 for Windows Released!

01.12.2014 A new Windows version of Bio7 is available. Many new features have been added to Bio7 2.0 which is now based on Eclipse 4.4. Highlights are the improved R editor, the R debugging Graphical User Interface (using the standard R debugger), the integrated Java Development Tools (JDT) to create Java simulation models with a

Read more »

rmarkdown: Alter Action Depending on Document

November 18, 2014
By
rmarkdown: Alter Action Depending on Document

Can I see a show of hands for those who love rmarkdown? Yeah me too. One nifty feature is the ability to specify various document prettifications in the YAML of a .Rmd document and then use: The Problem Have you … Continue reading →

Read more »