Set microsoft excel for mac to not clear clipboard

broken image
broken image

Produces the error message Error in writeClipboard(str, format) :Īrgument must be a character vector or a raw vector

broken image

For example the code > x writeClipboard(x)Ĭopies the string “hello world” to the clipboard as expected. However, the argument to writeClipboard may need to be cast to a character type. R has a function writeClipboard that does what the name implies. These notes explain how to move data between R and Excel and other Windows applications via the clipboard.