Thanks for trying, Danut. I'll try to lay out the necessary steps for you here:
- Copy the content of the first code block from the code I posted, and paste in RStudio:
- Select all the code:
- Click the 'Addins' button:
- Select Addins > Reprex selection:
- Step 4 will place the output invisibly in your clipboard, so — without doing anything else first — reply here and immediately type CTRL-V to paste the output.
Let us know if you have any questions.