• getwd_clip: get directory path in clipboard, same as getwd function

  • setwd_clip: set directory path in clipboard, same as setwd function

getwd_clip()

setwd_clip()

Note

Only works in windows

References

  1. https://stackoverflow.com/questions/10959521/how-to-write-to-clipboard-on-ubuntu-linux-in-r

Examples

if (FALSE) { # \dontrun{
getwd_clip()
setwd_clip()
dir.show()
} # }