如何用Big删除数据框?
how to delete a dataframe wirth BigR?
我有一个这样创建的数据框(来自 BigR 教程):
airfile <- system.file("extdata", "airline.zip", package="bigr")
airfile <- unzip(airfile, exdir = tempdir())
airR <- read.csv(airfile, stringsAsFactors=F)
# Upload the data to the BigInsights server. This may take 15-20 seconds
air <- as.bigr.frame(airR)
air <- bigr.persist(air, dataSource="DEL",
dataPath="/user/bigr/examples/airline_demo.csv",
header=T, delimiter=",", useMapReduce=F)
是否可以使用 bigr 库删除数据框?如果可以,怎么做?
啊,我没找对地方。我正在寻找对数据集的操作,但需要文件系统操作:
bigr.rmfs("/user/bigr/examples/airline_demo.csv", force = F, recursive = T)
我有一个这样创建的数据框(来自 BigR 教程):
airfile <- system.file("extdata", "airline.zip", package="bigr")
airfile <- unzip(airfile, exdir = tempdir())
airR <- read.csv(airfile, stringsAsFactors=F)
# Upload the data to the BigInsights server. This may take 15-20 seconds
air <- as.bigr.frame(airR)
air <- bigr.persist(air, dataSource="DEL",
dataPath="/user/bigr/examples/airline_demo.csv",
header=T, delimiter=",", useMapReduce=F)
是否可以使用 bigr 库删除数据框?如果可以,怎么做?
啊,我没找对地方。我正在寻找对数据集的操作,但需要文件系统操作:
bigr.rmfs("/user/bigr/examples/airline_demo.csv", force = F, recursive = T)