[问题] Rstudio console 画面完全卡住

楼主: ruokcnn (Dean)   2017-10-20 20:04:08
[问题类型]:
效能咨询(我想让R 跑更快)
[软件熟悉度]:
使用者(已经有用R 做过不少作品)
[问题叙述]:
从今天开始时不时code打到一半console会冻住
可以下command,但不会回传值或是error/warning讯息
到下班时够狠,不管我重开session重开Rstudio都会卡住
我装了三个版本的R: 3.3.3/3.2.4/3.4.1
重灌Rstudio无数次
一直死在某行read.csv上
后来发现同样一行code开新的script就可以继续跑不会冻住console
这是什么巫术?
求救!!!!
[程式范例]:
大盘 <- read.csv("D:/R/Project/Data/大盘价量.csv")
#有时死在这行
大盘 <- 大盘[,-1]
#有时到这行才死这行
[环境叙述]:
R version 3.4.1 (2017-06-30)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1
Matrix products: default
locale:
[1] LC_COLLATE=Chinese (Traditional)_Taiwan.950 LC_CTYPE=Chinese (Traditional)_Taiwan.950
[3] LC_MONETARY=Chinese (Traditional)_Taiwan.950 LC_NUMERIC=C
[5] LC_TIME=Chinese (Traditional)_Taiwan.950
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.4.1 tools_3.4.1 yaml_2.1.14
[关键字]:
选择性,也许未来有用
作者: celestialgod (天)   2017-10-21 22:11:00
你电脑有visual studio吗 有的话可以开侦错看看没有的话,这个可能有点难抓XD

Links booklink

Contact Us: admin [ a t ] ucptt.com