Not able to get an image into word/pdf from URL in RMarkdown

Hi @bharath222! This is a really good example of why it’s important to properly format code you post here (How? See: FAQ: How to format your code).

Your code was invisible because this forum also uses Markdown to format posts, so the forum software was actually trying to run your code! I edited the original post to properly format the code, so now it shows up.

If you’re still getting an error when you try to knit to word_document, it might help to include more of the output from the R Markdown console (formatted as code, please!)

3 Likes