I'm working on a
R markdown file which is almost working completely fine. Most of the outputs including images are shwing up fine when rendering the
HTML file with
Ctrl+Shift+K. But I'm having issues just with one image, specifically, the image plotted from a
For example, on my file:
README.Rmd I have:
set.seed(222) nn <- neuralnet(score ~ ., data = ds_trn_noc, hidden = 2, err.fct = "sse") plot(nn)
If I copy the commands above directly on the console, I get the image as expected, which is:
Also, If I'm inside the
README.Rmd file and hit:
Ctrl+Enter on top of that chunk of code, the image above gets generated as well.
But if render the
HTML then that images doesn't show up. The rest of the images show up on the rendered
HTML, for example:
ggplot(dataset, aes(x = age, y = score)) + geom_count(alpha = 0.4)
Image here (I'm a new user and cannot post more than one image on the same post):
It looks like the advanced plottings are showing up properly on the rendered
HTML but the simple plottings aren't.
Any idea on how can I make this work?