library(gmp) ?isprime
/Gustaf On Tue, Oct 13, 2009 at 9:59 AM, AJ83 <aljense...@gmail.com> wrote: > > I need to create a function to find all the prime numbers in an array. Can > anyone point me in the right direction? > Thank you. > AJ > -- > View this message in context: > http://www.nabble.com/Function-to-find-prime-numbers-tp25868633p25868633.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Gustaf Rydevik, M.Sci. tel: +46(0)703 051 451 address:Essingetorget 40,112 66 Stockholm, SE skype:gustaf_rydevik [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.