如何删除数据帧wirth BigR?

时间:2016-04-29 10:16:49

标签: biginsights 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库删除数据框?如果是这样,怎么样?

1 个答案:

答案 0 :(得分:0)

啊,我没有找对地方。我在寻找数据集上的操作,但需要进行文件系统操作:

bigr.rmfs("/user/bigr/examples/airline_demo.csv", force = F, recursive = T)