在read.table()中传递参数列表 filepath

在read.table()中传递参数列表 filepath,r,read.table,R,Read.table,尝试do.call。它允许您提供参数列表。将filepath添加到参数变量: filepath <- paste0("path") input <- read.table(filepath,header=T,row.names=1,sep="\t",check.names=F,stringsAsFactors=F) 没有看到你的评论,快抽 filepath <- paste0("path") input <- read.table(filepath,header=T,r

尝试
do.call
。它允许您提供参数列表。将
filepath
添加到参数变量:

filepath <- paste0("path")
input <- read.table(filepath,header=T,row.names=1,sep="\t",check.names=F,stringsAsFactors=F)

没有看到你的评论,快抽
filepath <- paste0("path")
input <- read.table(filepath,header=T,row.names=1,sep="\t",check.names=F,stringsAsFactors=F)
do.call(read.table, c(filepath, parameters))