Posts Tagged ‘ linux ’

R midterms

November 9, 2012
By
R midterms

Here are my R midterm exams, version A and version B in English (as students are sitting next to one another in the computer rooms), on simulation methods for my undergrad exploratory statistics course. Nothing particularly exciting or innovative! Dedicated ‘Og‘s readers may spot a few Le Monde puzzles in the lot… Two rather entertaining

Read more »

ISBA towards higher computing goals [yet another new section!!!]

September 19, 2012
By
ISBA towards higher computing goals [yet another new section!!!]

Surrounding the great and exciting gathering of Bayesian statisticians in Kyoto last June, several ISBA sections have appeared in the past weeks, as already mentioned on the ‘Og. Along with Anto Mira and Nicolas Chopin (who did most of the organisational work while I was wandering down under!), we discussed about a Bayesian computation section

Read more »

My no loops in R hair shirt

July 27, 2012
By

Being professional involved with analyzing source code I get to work with a much larger number of programming languages than most people. There is a huge difference between knowing the intricate details of the semantics of a language and being able to fluently program in a language like a native developer. There are languages whose

Read more »

Computational Journalism Server – The Way Forward

May 2, 2012
By

As I’ve noted here, the Computational Journalism Server “wants to be a Platform-as-a-Service (PaaS) when it grows up.” In plotting the way forward to that goal, I’ve looked at three options: Remain on openSUSE / SUSE Studio and ...

Read more »

Speeding up R with Intel’s Math Kernel Library (MKL)

May 2, 2012
By
Speeding up R with Intel’s Math Kernel Library (MKL)

I did some comparisons of the generic BLAS with Intel's MKL (both sequential and parallel) on a Dell PowerEdge 610 server with dual hyperthreading 6-core 3.06GHz Xeon X5675 processors.  Here are the results from an R benchmarking script (Normal R ...

Read more »

Installing R’s maps package on Ubuntu

April 16, 2012
By
Installing R’s maps package on Ubuntu

I recently ran into trouble trying to install the R maps package on Ubuntu 10.04.  Here's the error I was getting: ** arch - gcc -std=gnu99 -O3 -pipe  -g    Gmake.c   -o GmakeGmake.c: In function ‘get_lh’:Gmake.c:...

Read more »

Slow R graphics via SSH

March 30, 2012
By
Slow R graphics via SSH

I do most of my R work on a server via SSH.  Viewing graphics (i.e. plot()) can be excruciatingly slow through the SSH pipe, but it's easy to make it fast.  Simply run:        X11.options(type="Xlib")once in the R session....

Read more »

Long running R commands: unix screen, nohup and R

January 4, 2012
By

I wanted to write a quick post about a useful linux tool for using R. I sometimes have long running R sessions for model training. One solution that I have alluded to is to call your script with Rscript. The nohup command in linux with push this to the...

Read more »

SVN Version Control, R, and some rambling thought on AWS,Rscripts

December 16, 2011
By

I do a alot of my modelling on Rstudio hosted on EC2 instances. If you don’t use, I would highly recommend. A brilliant tool. Kudos to the Rstudio team. I have made a personal and professional pledge to obsessively use version control. I hope to show...

Read more »

Dennis Ritchie 1941-2011

October 28, 2011
By
Dennis Ritchie 1941-2011

I just got the “news” that Dennis Ritchie died, although this happened on October 12… The announcement was surprisingly missing from my information channels and certainly got little media coverage, compared with Steve Jobs‘ demise. (I did miss the obituaries in the New York Times and in the Guardian. The Economist has the most appropriate

Read more »