A 'FRACTRAN' Interpreter and Some Helper Functions
Overview
'FRACTRAN' is an obscure yet tantalizing programming language invented by John Conway of 'Game of Life' fame. The code consists of a sequence of fractions. The rules are simple. First, select an integer to initialize the process. Second, multiply the integer by the first fraction. If an integer results, start again with the new integer. If not, try the next fraction. Finally, if no such multiplication yields an integer, terminate the program. For more information, see https://en.wikipedia.org/wiki/FRACTRAN .
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 5includes a package overview page
- Examples that run
- 75%3 run in a plain check · 1 hold no code
- Exported functions with examples
- 75%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 40%
Downloads
Dependencies
Installing Rfractran adds 1 package (1 with compiled code, 163 KB of source tarballs). Heaviest: gmp 163 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.0.1Latest
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 1.02020-06-25
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2020-06-25
- Total releases
- 2 / 6 yrs
- License
- LGPL-3 OSI
- Download size
- 11 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("Rfractran")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.