r - RStudio crashes when invoke file.choose() -
errors occur randomly when trying execute:
myfile <- file.choose() mydata <- read.csv(myfile, header=false, sep=",")
however
mydata <- read.csv(file.choose(), header=false, sep=",")
works stable. what's wrong first implementation?
sessioninfo():
r version 3.2.0 (2015-04-16) platform: x86_64-w64-mingw32/x64 (64-bit) running under: windows 8 x64 (build 9200) locale: [1] lc_collate=english_new zealand.1252 lc_ctype=english_new zealand.1252 [3] lc_monetary=english_new zealand.1252 lc_numeric=c [5] lc_time=english_new zealand.1252 attached base packages: [1] stats graphics grdevices utils datasets methods base loaded via namespace (and not attached): [1] tools_3.2.0
Comments
Post a Comment