You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the clipboard is structurally unavailable, e.g., on RStudio
Server or RStudio Cloud, reprex() consults the current selection
instead of the clipboard
However, when I select my code in the script on RStudio Cloud and type reprex::reprex() in the console I get the following message:
No user-supplied code found … so we’ve made some up. You’re welcome!
``` r
sprintf("Happy %s!", weekdays(Sys.Date()))
#> [1] "Happy Thursday!"
```
<sup>Created on 2021-03-18 by the [reprex package](https://reprex.tidyverse.org) (v1.0.0)</sup>
I get following error in the console if I copy the code into the clipboard and/or select it the script:
> reprex::reprex()
! No input provided and clipboard is not available.
I would like to use reprex on RStudio Cloud
The
reprex
manual says:However, when I select my code in the script on RStudio Cloud and type
reprex::reprex()
in the console I get the following message:I get following error in the console if I copy the code into the clipboard and/or select it the script:
`reprex({rnorm(10)])`
worksI originally posted this question here
Thank you for your help!
The text was updated successfully, but these errors were encountered: