无法在 Linux 上生成表示。当我尝试一个简单的例子时
(y <- 1:4)
mean(y)
我收到以下消息
No input provided and clipboard is not available.
Rendering reprex...
Clipboard on X11 requires 'xclip' (recommended) or 'xsel'.
Unable to put result on the clipboard. How to get it:
* Capture what `reprex()` returns.
* Consult the output file. Control via `outfile` argument.
Path to `outfile`:
* /tmp/RtmpRYA93G/reprex16f2e48b49ed7/reprex_reprex.md
Open the output file for manual copy?
1: yes
2: no
以及我的查看器中的以下输出
No user-supplied code found … so we’ve made some up. You’re welcome!
sprintf("Happy %s!", weekdays(Sys.Date()))
#> [1] "Happy Friday!"
Created on 2020-10-16 by the reprex package (v0.3.0.9001)
这是Linux上的剪贴板问题吗?感谢您的帮助。