读取文件 .csv
library(shiny)
library(readr)
data <- read_delim ()
read_delim()参数:
file:文件或者文件链接 。
delim : 以什么分隔。
quote: 用于引用字符串的单个字符。
url <- c('D:/storm/data/22-utf.csv')
data <- read_delim(url,col_names = F,delim = ',',na = c("bbb","NA"))
print(data)
data