Having problems saving a neural net plot using neuralnet package - R
问题 I'm using the neuralnet package in R, however am having problems saving the plot to disk. data(iris) attach(iris) library(neuralnet) nn <- neuralnet(as.numeric(Species) ~ Sepal.Length + Sepal.Width + Petal.Length + Petal.Width, data = iris) png("test.png") plot(nn) dev.off() Have attempted to refere to the manual, in the section plot.nn() it says: file a character string naming the plot to write to. If not stated, the plot will not be saved. However doing the following yields no valid plot