Q. Which of the following R code creates a connection to 'foo.txt'?

  • (A) con <- file("foo.txt")
  • (B) open(con, "r")
  • (C) opencon(con, "r")
  • (D) ocon(con, "r")
πŸ’¬ Discuss
βœ… Correct Answer: (A) con <- file("foo.txt")

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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