Need to install screenshot.exe on Win by install_screenshot().
Arguments
- bin_dir
A string for directory name of screenshot.exe on Win.
- file
A string for file name of screenshot.
Examples
if(interactive()){
sc <- screenshot()
if(sc != ""){
sc_image <- imager::load.image(sc)
plot(sc_image)
}
}