To estimate if a certain vector of numbers will fit into memory, you can quite easily predict the memory usage based on the size of the vector. An integer vector will use 4 bytes per number, and a numeric vector…

To estimate if a certain vector of numbers will fit into memory, you can quite easily predict the memory usage based on the size of the vector. An integer vector will use 4 bytes per number, and a numeric vector…

See more ›

To apply a data transformation on an axis in a ggplot, you can use coordinate transformations. For more detail see the ggplot2 documentation. A number of coordinate transformations is available, including log10 and sqrt. However, if you want to perform…

See more ›

A question on StackOverflow really sparked my attention. The aim was to clean up a dataset of inappropriately spaced words. For example:

1 |
> word5 <- "hotter the doghou se would be bec ause the co lor was diffe rent" |

My approach was to create what I call a wordpair object. The word pair object for the…

See more ›

This is a copy of a post by me on the R-statistics blog. Fortran and C programmers often say that interpreted languages like R are nice and all, but lack in terms of speed. How fast something works in R…

See more ›

- Announcements (3)
- Fortran (2)
- General (1)
- IDL (2)
- interesting (1)
- MacBook (2)
- Python (1)
- R stuff (30)

beamer
bubble-sort
cdo
coord_polar
course
ctags
DCVS
dplyr
foreach
fortran
ggplot2
Git
grads
grid map
hashtable
IDE
idl-quirk
IDL7.0
IDL programming
julia
knitr
latexdiff
mac-os-x
Mercurial
module
netcdf
parallelization
plyr
polygons
presentation
R
reading spatial data
regular-expression
R package
R programming
RStudio
scm-latexdiff
snow
software
spatial-interpolation
spatial plot
text-processing
text editor
training
troubleshooting