Polygon is a such handy function in R for drawing beautiful charts where we can select regions (polygons) of the surface. It’s quite useful for indicating confidence regions of parameters, predictions for time-series, or areas under distributions:

Why call C/C++ from R? I really like programming in R. The fact that it is open source immediately wins my favour over Matlab. It can, however, be quite slow especially if you “speak” R with a strong C/C++ accent. This sluggishness, especially when writing unavoidable for loops, has led me to consider other programming The post Calling...

I have been meaning for some time to get stuck into the rCharts package which provides an interface to many Javascript graphic libraries. These offer rich charting capabilities with interactivity and a great deal of customization. As regular readers will know, I am also interested in improved publicity for CRAN packages, although the Shiny app

Have data – now what? Building your own interactive data explorer need not be a chore with the R shiny library… Here’s a quick walkthrough… In Datagrabbing Commonly Formatted Sheets from a Google Spreadsheet – Guardian 2014 University Guide Data, I showed how to grab some data from several dozen commonly formatted sheets in a

The Sydney Users of R Forum (SURF) will be hosting me for a talk on July 10. The focus will be Rcpp for R and C++ integration, and the intent is to have this be really applied with lots of motivating examples. Organizers Louise and Eugene were able...

I wrote a couple days about about importing Excel files into R. There are lots of ways to do this, but all the ways that use only R have drawbacks (as I outlined in my last post), and all the other ways require installation of programs other than R. I’m not opposed to using programs

The next LondonR meeting takes place on the 16 July and registrations have already exceeded 200. Presentations at the meeting will be made by Rich Pugh of Mango Solutions, Andrie de Vries of Revolution Analytics and Hadley Wickham of RStudio. All places for a pre-meeting workshop with Hadley Wickham were snapped up within 2 days of announcing the details. More information...

A short tutorial for spatial overlays using R-GIS..library(sp)library(dismo)# spatial dataalt gadm # viewplot(alt)plot(gadm, add=T)# some addressespts # make it spatialcoords spdf_pts # assign CRS/projectionproj4string(spdf_pts) # check datastr(spdf_pts)# plot it on topplot(spdf_pts, cex = 2, col = 2, add = T)# do an intersection (points in polygon)# yielding the polygon's attribute dataover(spdf_pts, gadm)

Before you begin, be aware that there is others excellent posts about the issue, as: 1. Compiling 64-bit R 2.10.1 with MKL in Linux 2. Speeding up R with Intel’s Math Kernel Library (MKL) 3. Performance benefits of linking R to multithreaded math libraries 4. Using MKL-Linked R in Eclipse But, as recently i faced some problems to The post Compiling...