Questions tagged [reprex]

An R package to generate render small snippets of code to target formats that include both code and output that can be shared on code-oriented websites.

34 questions
0
votes
1 answer

reprex showing correct output but rstudio console is showing error

library(tidyverse) #> Warning: package 'tidyverse' was built under R version 3.6.3 #> Warning: package 'ggplot2' was built under R version 3.6.3 #> Warning: package 'tidyr' was built under R version 3.6.3 #> Warning: package 'purrr' was built under…
Ramakrishna S
  • 395
  • 1
  • 10
0
votes
0 answers

How do i turn this into a reprex

Struggling turning this into a reprex due to the local csv file it uses. It says the file is not found in the directory. Any help is great…
RyanUsesR
  • 3
  • 2
0
votes
0 answers

Reprex can't open connection, wrong file path?

We just got new computers at work, it's been a blessing and a curse. I tried creating a reprex and I'm getting an error I haven't seen before: reprex::reprex(cat("hello")) # Error in file(con, "w") : cannot open the connection # In addition: Warning…
Oliver
  • 1,098
  • 1
  • 11
  • 16
0
votes
0 answers

How do I paste reprex to Stack Overflow without manually needing to line space each line of code 4 spaces?

I'm newer to posting my questions using reprex. I've watched videos and read articles and have the workflow down to come up with the reprex. How do I paste the content to Stack Overflow without manually having to space each line by 4 spaces in…
Jazzmatazz
  • 615
  • 7
  • 18
1 2
3