简体   繁体   中英

How to make plots appear in Rmarkdown file instead of viewer pane when working with keras in Rstudio?

I am new in R<\/code> and trying keras<\/code> in Rstudio<\/code> . All the accuracy<\/code> , loss<\/code> interactive plots by running fit() are appearing in Viewer<\/code> pane instead of Rmarkdown<\/code> file.

have you tried to plot in only one cell ?

plot(x = dataframe$x, y = dataframe$y,
   xlab = "X",
   ylab = "Y",
   xlim = c(0,1.5),
   ylim = c(0,1.5),
   main = "X and Y between 0 and 1",
   col = dataframe$color,
   pch = 16,
   cex = 1.5
)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM