Description Usage Arguments Value Note
This is used to write an Apple Script that will type some text into RStudio. It's primary purpose is for use in recording videos when I want to show live "typing" without any typos or delays while live typing.
1 2 | ghostwriter(file, lines = NULL, speed = 0.1,
script = "ghostwrite.scpt", application = "RStudio")
|
file |
A file with the desired text to write |
lines |
A numeric vector specifying which lines to type. If unspecified, the entire file will be typed out. |
speed |
A number parameterizing the speed at which the script will type. |
script |
A path to the location where the script will be written. If NULL then no output file will be created. |
application |
The application where the keyboard input should go. |
Returns the script invisibly.
This currently only allows hard returns as special characters. Any other characters will be entered exactly as they appear in the file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.