cis-ds / Discussion

Public discussion
10 stars 15 forks source link

Uploading image to R markdown #199

Open terryyuan1 opened 2 years ago

terryyuan1 commented 2 years ago

Hello, I am working from the R workbench and I want to upload a local image to R markdown for the first HW. What should I put for the directory? Or how do I do this in general?

bensoltoff commented 2 years ago

If you look in the files tab in RStudio there should be a button to upload a file from your local computer. Do this and store the image in the repository. Then you can refer to it in the markdown file. Just make sure to stage and commit the image file so it is pushed to GitHub.