5038 search results for "git"

Googling errors

February 14, 2014
By
Googling errors

@roguelynn tweeted the other day: If attendees of this weekend’s intro to python workshop leave with one thing, it’ll be to Google your error messages first and foremost. I had just talked about the technique in my Tools for Reproducible Research course, and I had a few recent examples. Gtk-WARNING **: cannot open display: I

Read more »

ggplot Fit Line and Lattice Fit Line in R

February 13, 2014
By
ggplot Fit Line and Lattice Fit Line in R

Let's add a fit line to a scatterplot!Fit Line in Base GraphicsHere's how to do it in base graphics:ols <- lm(Temp ~ Solar.R, data = airquality)summary(ols)plot(Temp ~ Solar.R, data = airquality)abline(ols)Fit line in base graphics in RFit Line in...

Read more »

R: Animating 2D and 3D plots

February 13, 2014
By
R: Animating 2D and 3D plots

One great package in R is the animation made by Yihui Xie. And just for fun, we are going to explore that. Our aim is to create simple animated 2D and 3D plots. Here is the first one, 2D of courseThe code,It's a piece of cake right? The function we use...

Read more »

Install and load missing specified/needed packages on the fly

February 13, 2014
By

This is a short script to help installing packages on the fly.It is most useful if you are distributing a set of script files to people who may not be aware that the needed packages are not installed on their systems. It is also useful if you use ...

Read more »

Registration for the 2014 ‘R in Insurance’ conference has opened

February 13, 2014
By
Registration for the 2014 ‘R in Insurance’ conference has opened

The registration for the second conference on R in Insurance on Monday 14 July 2014 at Cass Business School in London has opened. This one-day conference will focus again on applications in insurance and actuarial science that use R, the lingua franca for statistical computation. Topics covered may include actuarial statistics, capital modelling, pricing, reserving,...

Read more »

A Significantly Improved Significance Test. Not!

February 12, 2014
By
A Significantly Improved Significance Test. Not!

It is my great pleasure to share with you a breakthrough in statistical computing. There are many statistical tests: the t-test, the chi-squared test, the ANOVA, etc. I here present a new test, a test that answers the question researchers are most anxious to figure out, a test of significance, the significance test. While a test like the two...

Read more »

One More (Yet-another?) Olympic Medal Live-tracking Shiny App

February 12, 2014
By

I’m posting this mostly to show how to: use the Google spreadsheet data-munging “hack” from the previous post in a Shiny context include it seamlessly into a web page, and run it locally without a great deal of wrangling The code for the app is in this gist. It is unsurprisingly just like some spiffy

Read more »

Share and access R code, data, apps on ocpu.io

February 12, 2014
By
Share and access R code, data, apps on ocpu.io

ocpu.io is a new domain for publishing code, data and apps based on the OpenCPU system. Any R package on Github is directly available via yourname.ocpu.io. Thereby the package can be used remotely via the OpenCPU API to access data, perform remote function calls, reproduce results, publish webapps, and much more....

Read more »

Finding Named Entities using R

February 11, 2014
By

Occasionally, I'll need to pick out names (first name, last name) from text. These days, the text I'm working with is usually tweets. Any how, I didn't see any solution out there (that worked for me) when I developed this, so hopefully it can be a star...

Read more »

Turn your Mac into a server for sharing photos

February 11, 2014
By
Turn your Mac into a server for sharing photos

A month ago, I attended a friend’s wedding as a photographer (I am not good at shooting, just have a not so bad camera). I took more than 1000 pictures in high quality format. Later, I relized to share them with the guests attended wedding is a challenge: I need to go through every picture to identify if it...

Read more »