On 11/26/2007 11:03 AM, Dimitri Liakhovitski wrote: > Hello! > I posted earlier - about my problems with R 2.6 crashing (i.e., > telling me it needs to shut down) every time I tried to open an R > script. First, it looked like it was unhappy with my working outside > of R folder (under Program Files). But not it looks like it was not > really the problem. > Now, it opens and works when I open scripts whose names are not very > long (e.g., "Selecting cases I need.R"). But it does crash (gives me a > message that R needs to shut down) when the script I am trying to open > has a slightly longer file name (e.g, in my case: > "randforestImportanceExample with MR.r" and longer). > > Is anyone aware of the limits the latest version of R imposes on > script name length? I never experienced such a problem with R 2.5.0.
The latest version of R is 2.6.1 (released today), but I doubt if you're using that yet. It has the same limit as Windows on filename length. 2.6.0 had a bug which meant long filenames could cause a crash. This was repaired a couple of weeks ago: http://developer.r-project.org/blosxom.cgi/R-2-6-branch/2007/11/10#c2007-11-10 Duncan Murdoch ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.