[問題] 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