Here you will find daily news and tutorials about R, contributed by over 573 bloggers.
There are many ways to follow us - By e-mail:On 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)

A prime number (or a prime) is a natural number greater than 1 that has no positive divisors other than 1 and itself.
R Language Code
The Prime Function
prime = function(n){ n = as.integer(n) if(n > 1e8) stop(“n too large”) primes = re...

This week, the puzzle from the weekend edition of Le Monde was easy to state: in the sequence (8+17n), is there a 6th power? a 7th? an 8th? If so, give the first occurrence. So I first wrote an R code for a function testing whether an integer is any power: (The function returns the