Q. Which of the following R statement will save the output to the file for following R code?
> a <- data.frame(x = rnorm(100), y = runif(100))
> b <- c(3, 4.4, 1 / 3)

  • (A) save(a, b, file = "mydata.rda")
  • (B) save_image(a, b, file = "mydata.rda")
  • (C) keep(a, b, file = "mydata.rda")
  • (D) keep_image(a, b, file = "mydata.rda")
πŸ’¬ Discuss
βœ… Correct Answer: (A) save(a, b, file = "mydata.rda")

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
157
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
94%
Success Rate