I am using the R package "GeoDE". When I use the function "chdirAnalysis", a figure will be plotted automatically, since there is a command "plot" in the source code of "chdirAnalysis". But I don't want that. How can I stop this?
A similar problem is to hide the in-function printed messages, and I've found the solution which is to use invisible
capture.output(value <- function_name(input))
That can help hide the output from "function_name", but this solution doesn't work on the plot.