R_14 - File handling in R - how to read a file and write into a file in R

Опубликовано: 15 Февраль 2025
на канале: Dr. Vipin's Classroom
1,093
22

#lets_grow_together #vipins_e_classroom #file_handling #write.table #sink
File handling is a common task in any programming language.

The input may directly be read from a file instead of the terminal and likewise output may be written to a file as opposed to displaying on the terminal.

This is particularly useful when the input or output data is huge and also need to be kept as a permanent record.

In this lecture, I discuss four different ways of opening and reading a file and writing the results into a file.