Here you will find daily news and tutorials about R, contributed by over 300 bloggers.
You can subscribe for e-mail updates:
And get updates to your Facebook:
If you are an R blogger yourself you are invited to add your own R content feed to this site (Non-English R bloggers should add themselves- here)
This is how to use the Pixmap library to read in an image as a matrix.> library(pixmap)# the next command may only work on Linux> system("convert foo.tiff foo.ppm")> img str(img)Although included in the previous output, the size of the image can be ex...
anglefun <- function(xx,yy,bearing=TRUE,as.deg=FALSE){ ## calculates the compass bearing of the line between two points ## xx and yy are the differences in x and y coordinates between two points ## Options: ## bearing = FALSE returns +/- pi inst...