Travis-CI Build Status AppVeyor Build Status Coverage status

Overview

View the wisdom of Marcus Aurelius through his quotes from his book Meditations.

Installation

You can install meditations from github with:

# install.packages("devtools")
devtools::install_github("jacobkap/meditations")

Example

This is how to use this simple package. meditations() will print a random quote from the book.

meditations::meditations()
## [1] "Be thou erect, or be made erect.  Just as it is with the members in those bodies which are united in one, so it is with rational beings which exist separate, for they have been constituted for one co-operation. And the perception of this will be more apparent to thee, if thou often sayest to thyself that I am a member (melos) of the system of rational beings. But if (using the letter r) thou sayest that thou art a part (meros) thou dost not yet love men from thy heart; beneficence does not yet delight thee for its own sake; thou still doest it barely as a thing of propriety, and not yet as doing good to thyself."

Choose a number between 1 and 507 (there are only 507 quotes) and it will print that specific quote(s).

meditations::meditations(5)
## [1] "From my governor, to be neither of the green nor of the blue party at the games in the Circus, nor a partizan either of the Parmularius or the Scutarius at the gladiators' fights; from him too I learned endurance of labour, and to want little, and to work with my own hands, and not to meddle with other people's affairs, and not to be ready to listen to slander."

You can get the vector of all 507 quotes by

data("meditations_quotes")