57.5k views
5 votes
___ reads single R objects in binary form while ___ writes single R objects..

A) ReadRDS, saveRDS.
B) Load, save.
C) ReadR, writeR.
D) Read_binary, write_binary.

User Kororo
by
8.9k points

1 Answer

5 votes

Final answer:

The ReadRDS function reads single R objects in binary form, while the saveRDS function writes single R objects.

Step-by-step explanation:

The correct answer is A) ReadRDS and saveRDS.

The ReadRDS function in R reads single R objects in binary form, while the saveRDS function writes single R objects.

For example, if you want to read an R object stored in binary form, you can use the ReadRDS function to load it into your R session. Similarly, if you want to save an R object in binary form for later use, you can use the saveRDS function.

User Oleg Isonen
by
8.1k points