0

当我尝试对数据进行分区时,我遇到了 Rstudio 不断崩溃的问题。我设法使用在 multidplyr 的小插图中使用的 nycflights13 数据重现了同样的问题。

这有效

library(multidplyr)
library(dplyr, warn.conflicts = FALSE)

cluster <- new_cluster(4)

library(nycflights13)

flight_dest <- flights %>% partition(cluster)

但是当我这样做时

cluster <- new_cluster(2) ## or other numbers for istance 6

flight_dest <- flights %>% partition(cluster)

它崩溃了,我收到以下消息

R 会话中止

R 遇到致命错误

会话已终止

我正在使用 Rstudio (1.2.5033) 和 R 版本 3.6.2

当我在 R 中运行时,它确实有效。

4

0 回答 0