[英]dplyrXdf tempfile issue
It appears that there is some issue creating the temporary file that backs dplyrXdf
, any thoughts? 似乎在创建支持dplyrXdf
的临时文件时存在一些问题,有什么想法吗?
xdf='/mnt/saswork/testout.xdf'
xdf %>% group_by(factor_pair)
Error in UseMethod("group_by_") : UseMethod(“ group_by_”)中的错误:
no applicable method for 'group_by_' applied to an object of class "character" 没有适用于“ group_by_”的适用方法,适用于“字符”类的对象
xdf %>% dplyrXdf::tblSource() %>% group_by(factor_pair) grouped_tbl_xdf Source "/tmp/Rtmp0oFfIY/file5c6964534b5c.xdf" fileSystem: fileSystemType: native xdf %>% dplyrXdf::tblSource() %>% group_by(factor_pair) %>% summarise(blah=sum(pair_dist)) xdf%>%dplyrXdf :: tblSource()%>%group_by(factor_pair)grouped_tbl_xdf来源“ /tmp/Rtmp0oFfIY/file5c6964534b5c.xdf” fileSystem:fileSystemType:本机xdf%>%dplyrXdf(by_% )%>%摘要(blah = sum(pair_dist))
Error in rxLocateFileInternal(file, pathsToSearch, fileSystem, isOutFile = isOutFile, : /tmp/Rtmp0oFfIY/file5c6955f5cf2a.xdf not found in paths .; rxLocateFileInternal(file,pathToSearch,fileSystem,isOutFile = isOutFile,:/tmp/Rtmp0oFfIY/file5c6955f5cf2a.xdf在路径中找不到错误;;
Working dir is: /home/aak87
. 工作目录是: /home/aak87
。
list.files(tempdir())
[1] "file5c6934f5920f"
[2] "libloc_188_f198c64896a74076.rds"
[3] "libloc_203_fe207b7ffd125d09.rds"
[4] "repos_http%3A%2F%2Fmran.revolutionanalytics.com%2Fsnapshot%2F2015-11-30%2Fsrc%2Fcontrib.rds"
[5] "tmp_dropbox"
Could you try first making an RxXdfData
object? 您可以先尝试制作一个RxXdfData
对象吗?
xdf <- RxXdfData('/mnt/saswork/testout.xdf')
xdf %>% group_by(factor_pair) %>% tally()
dplyrXdf
will work best when called against RxXdfData
objects since it'll find the right methods to use with that class. dplyrXdf
将最好的工作时,对所谓RxXdfData
对象,因为它会发现与该类使用正确的方法。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.