My function is:
create_matrix <- function() {
cat("Write the numbers of vertices: ")
user_input <- readLines("stdin", n=1)
user_input <- as.numeric(user_input)
print(user_input)
}
With the version 3.5.0, after i entered the data the program doesn't continue the execution. I'm calling the script directly from the console.