Prime Number in R Language (CloudStat)
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...
![](https://fbcdn-sphotos-a.akamaihd.net/hphotos-ak-snc7/s720x720/387794_253927251327772_112852692101896_663460_830038783_n.jpg)