This is VERY simple R function that when ran turns your R session into a websocket server. For this example it returns the standard deviation…Continue ReadingUse an R Session as a Websocket Server

This is VERY simple R function that when ran turns your R session into a websocket server. For this example it returns the standard deviation…Continue ReadingUse an R Session as a Websocket Server

This little function returns the vector of each word found before the end of a sentence. I ended up writing this for a pet project…Continue ReadingReturn a Vector of Each Word Found Before the End of a Sentence

Plotly has a new R API and ggplot2 library for making beautiful graphs. The API lets you produce interactive D3.js graphs with R. This post has five examples. Head to our docs to get a key and you can start making, embedding, and sharing plots. The code below produces our first plot. library(plotly) set.seed(100) d

Web tools like D3.js and WebGL let you make beautiful, interactive 2D and 3D graphs. You can now publish graphs and dashboards with these technologies using Python, R, MATLAB, & Excel. Publishing and sharing is one extra line of code. This post puts you on your way, no downloads or installations required. We’ll start with ggplot2; scroll to see Python and MATLAB plots in 2D and 3D. See our

Andy Kriebel recently pointed out that Tableau dashboards let you export their underlying data. Using data frames in R or Python we can read data from Tableau. Then we can plot with Plotly’s Python and R APIs. The use case: collaborate and share data across languages and teams. Let’s try it out. The R code for this post is in an R Notebook; the Python code is in this IPython Notebook. One

e-mails with the latest R posts.

(You will not see this message again.)