Functions to test whether a number is prime and generate the prime numbers within a specified range. Based around an implementation of Wilson's theorem for testing for an integer's primality.
Author  Oliver Keyes 
Date of publication  20150622 19:53:27 
Maintainer  Oliver Keyes <ironholds@gmail.com> 
License  MIT + file LICENSE 
Version  0.1.0 
Package repository  View on CRAN 
Installation  Install the latest version of this package by entering the following in R:





All man pages Function index File listing
Man pages  

prime: Generate and Test for Prime Numbers  
primes: Functions for Identifying and Generating Prime Numbers 
Functions  

generate_primes  Man page Source code 
generate_primes_  Source code 
is_prime  Man page Source code 
is_prime_vector  Source code 
prime  Man page 
primes  Man page 
primespackage  Man page 
Files  

tests
 
tests/testthat.R  
tests/testthat
 
tests/testthat/test_primality.R  
src
 
src/primes.cpp
 
src/RcppExports.cpp
 
NAMESPACE
 
R
 
R/primes.R  
R/RcppExports.R  
README.md  
MD5
 
DESCRIPTION
 
man
 
man/prime.Rd  
man/primes.Rd  
LICENSE

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs in the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.