Prints the characters of the input text string one by one,
with a specified delay between each character. If the random parameter
is set to TRUE, the delay will be a random value between 0.0001 and 0.3 seconds.
Otherwise, the delay will be the value specified by the delay parameter.
Usage
slow_print(text, random = FALSE, delay = 0.125)
Value
Invisible NULL. The function prints the text to the console.
Arguments
text
A string representing the text to be printed. Must be a non-NA string.
random
A logical value indicating whether the delay between characters should be random.
Default is FALSE.
delay
A numeric value representing the fixed delay between characters in seconds.
Default is 0.125. Must be a non-negative number.
Author
Satoshi Kume
Details
Slowly Print Text
This function prints the characters of a given text string one by one,
with a specified delay between each character. The delay can be either fixed or random.