R Profile Customization: Using the Mystery Science Theater 3000 R Package
Recently I came across this tweet:
Using these three peoples' output as inspiration, I set to work building a function that could extract and randomly generate quotes from the greatest TV show of all time, Mystery Science Theater 3000 (MST3K). MST3K, for those unaware, is essentially just riffing on terrible movies, so it's a veritable gold mine of comedy, both intentional and unintentional. Here is one real line from a real movie:
So, borrowing heavily from Katie Jolly's advice package in particular, I put together a function and subsequent R package: "mst3k" (with major thanks to Hillary Parker's blog post about creating an R package). I won't go into the function because it is of course freely available to look at on GitHub. However, here is the code to get it into your R profile:
Amazingly simple! And absolutely fascinating...
Obviously this can all be adapted to suit any quotes. If you are of a literary bent, you could have constantly, randomly generating Shakespeare quotes. Constant Leslie Knope quotes? That one might be a little tricky but I would applaud anyone who managed to get some Knope wisdom constantly greeting them.
Now, if you'll excuse me:
(None of this could be possible without all of the people who collected all of the stupid, hilarious quotes from the hundreds of stupid and hilarious films that the MST3K gang have watched. Thank you for your service, you brave souls.)
which inspired me to think about using this fun command but pairing it with a constantly evolving, random greeting every time I open R. I reached out to Anna about this over Twitter, and she added MaΓ«lle Salmon, Katie Jolly, and Jeff Hollister to our conversation. These three excellent people have, respectively: created randomly generating Galentine's Day cards, an advice-giving package, and a dad joke package. I urge everyone to check those out, because they are all awesome.Pretty pleased with my new .Rprofile customisation ✨— annakrystalli (@annakrystalli) April 16, 2018
π#rstats #superpowers #thelittlethings
Wanna customise yours too? π usethis::edit_r_profile() pic.twitter.com/wNslgCk1eR
Using these three peoples' output as inspiration, I set to work building a function that could extract and randomly generate quotes from the greatest TV show of all time, Mystery Science Theater 3000 (MST3K). MST3K, for those unaware, is essentially just riffing on terrible movies, so it's a veritable gold mine of comedy, both intentional and unintentional. Here is one real line from a real movie:
So, borrowing heavily from Katie Jolly's advice package in particular, I put together a function and subsequent R package: "mst3k" (with major thanks to Hillary Parker's blog post about creating an R package). I won't go into the function because it is of course freely available to look at on GitHub. However, here is the code to get it into your R profile:
Amazingly simple! And absolutely fascinating...
Obviously this can all be adapted to suit any quotes. If you are of a literary bent, you could have constantly, randomly generating Shakespeare quotes. Constant Leslie Knope quotes? That one might be a little tricky but I would applaud anyone who managed to get some Knope wisdom constantly greeting them.
Now, if you'll excuse me:
(None of this could be possible without all of the people who collected all of the stupid, hilarious quotes from the hundreds of stupid and hilarious films that the MST3K gang have watched. Thank you for your service, you brave souls.)
Comments
Post a Comment