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 <- 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")
Answer: Option A

Join The Discussion