Title: | Amazing Random Facts About the World's Greatest Hacker |
---|---|
Description: | Display a randomly selected quote about Richard M. Stallman based on the collection in the 'GNU Octave' function 'fact()' which was aggregated by Jordi Gutiérrez Hermoso based on the (now defunct) site stallmanfacts.com (which is accessible only via <http://archive.org>). |
Authors: | Dirk Eddelbuettel [aut, cre] , QuantLib Authors [aut] |
Maintainer: | Dirk Eddelbuettel <[email protected]> |
License: | GPL-3 |
Version: | 0.0.3 |
Built: | 2024-12-14 04:04:49 UTC |
Source: | https://github.com/eddelbuettel/rmsfact |
Function to display a randomly chosen fact about Richard M. Stallman
rmsfact(ind) ## S3 method for class 'rmsfact' print(x, width = NULL, ...)
rmsfact(ind) ## S3 method for class 'rmsfact' print(x, width = NULL, ...)
ind |
Optional index of a quote; if missing a random value is sampled |
x |
Default object for |
width |
Optional column width parameter |
... |
Other optional arguments |
This function displays a randomly chosen line from the included
data set of of random ‘facts’ about Richard M. Stallman.
The function is a port of the GNU Octave function fact
doing the same, and written by Jordi Gutiérrez Hermoso based on
the (now defunct) site stallmanfacts.com
.
A character vector containing one randomly selected line
from the included file. It is of class rmsfact
for
which an S3 print method will be invoked.
Dirk Eddelbuettel
set.seed(123) rmsfact()
set.seed(123) rmsfact()