当Crosstable函数运行时,R Studio崩溃

时间:2013-02-05 20:42:45

标签: r rstudio

当我运行Crosstable函数时,我遇到了R Studio崩溃的问题。首先,我正在安装以下软件包:

install.packages ("gmodels"); install.packages("MASS")
library (gmodels); library (MASS)

然后,我在我的数据框上运行以下代码:

CrossTable(dat$PopSize, dat$PCIncChange, fisher = TRUE, chisq = TRUE)
expected = TRUE, sresid = TRUE, format="SPSS")

R生成表,但是不允许我在控制台中执行任何其他代码。它也不允许我保存我的文件或退出程序(我每次都必须使用控制alt删除。)

- 编辑:从评论中添加会话信息 -

sessionInfo(): 
R version 2.15.2 (2012-10-26) 
Platform: x86_64-w64-mingw32/x64 (64-bit) 
locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 [3] LC_MONETARY=English_United States.1252; LC_NUMERIC=C [5] LC_TIME=English_United States.1252
attached base packages: [1] splines stats graphics grDevices utils datasets methods base –
other attached packages: [1] MASS_7.3-23 gmodels_2.15.3 Hmisc_3.10-1 survival_2.36-14 stringr_0.6.2 
loaded via a namespace (and not attached): [1] cluster_1.14.3 gdata_2.12.0 grid_2.15.2 gtools_2.7.0 lattice_0.20-10 tools_2.15.2

有什么想法吗?

0 个答案:

没有答案