so i thought this was super simple. I am using
![MissleadingPieChart]
(https://technaverbascripta.files.wordpress.com/2014/04/y-axis3.png)
It gives me this error and I have no idea what is wrong.
Error: unexpected '[' in "!["
so i thought this was super simple. I am using
![MissleadingPieChart]
(https://technaverbascripta.files.wordpress.com/2014/04/y-axis3.png)
It gives me this error and I have no idea what is wrong.
Error: unexpected '[' in ". On top, it gives you some options to control the output to your liking working with a classical code chunk (e.g. out.width).
```{r figurename, echo=FALSE, fig.cap="my caption", out.width = '90%'}
knitr::include_graphics("figurename.png")
```
I had this problem too. I was hitting ctrl+enter and running it in console instead of pressing ctrl+shift+K to knit it to a html file.