r-lib / asciicast

Turn R scripts into terminal screencasts
https://asciicast.r-lib.org/
Other
226 stars 11 forks source link

Take code from the clipboard #34

Open gaborcsardi opened 2 years ago

gaborcsardi commented 2 years ago

Do we want built-in functionality for this? This seems to work:

cast <- record(textConnection(clipr::read_clip()))