R 语言文件读写

1. working directory:工作目录

> getwd()
> setwd("C:/data") 
        # 设定当前工作目录

2. 读取格式化的 table


这里写图片描述

> rt <- read.table("**.txt", header=TRUE)             # 一般都有表头
原文地址:https://www.cnblogs.com/mtcnn/p/9422095.html