Re: [Rd] R crashes when I open R files in R (PR#10402)

From: Jérôme Lemaître <jerome.lemaitre.1_at_ulaval.ca>
Date: Fri, 9 Nov 2007 10:31:11 -0500

Dear Duncan,

I thank you very much for your attention and I apologize for the few information. Here is some more... I have made some tests and I think that I have found the problem.
The thing is that R crashes when both of the followings happen:

  1. The name of the script (a file saved as R file, e.g. "test.R" through the command "File/Save as" in a R session) has more than 5 characters. Capitalization, numbers of letters do not seem to matter.
  2. The location of the script is in a subfolder of third order as compared to the R session.

For example, my R session is in:
C:\Documents and Settings\Administrateur\Mes documents\Analyses\AnalysesGUD\

So I'm able to open any R file, whatever the number of character in its name, if it is located in
C:\Documents and Settings\Administrateur\Mes documents\Analyses\AnalysesGUD\

Or in
C:\Documents and Settings\Administrateur\Mes documents\Analyses\AnalysesGUD\PourArticle\

Or in
C:\Documents and Settings\Administrateur\Mes documents\Analyses\AnalysesGUD\PourArticle\Analyses\

However, it crashes if the name of the R file has more than 5 characters and is located in
C:\Documents and Settings\Administrateur\Mes documents\Analyses\AnalysesGUD\PourArticle\Analyses\ModeleDensiT\

And other subfolders.

I hope this is enough and that you'll be able to find a way to solve that. Thank you very much for your help.

Jérôme



Jérôme Lemaître
Chaire de recherche industrielle CRSNG - Université Laval en sylviculture et faune
Département de biologie,
Pavillon Alexandre-Vachon, Local 2044
Université Laval
Québec, QC G1K 7P4
Canada
(418) 656-2131 #2917

-----Message d'origine-----
De : Duncan Murdoch [mailto:murdoch_at_stats.uwo.ca] Envoyé : 8 novembre 2007 06:10
À : jerome.lemaitre.1_at_ulaval.ca
Cc : r-devel_at_stat.math.ethz.ch; R-bugs_at_biostat.ku.dk Objet : Re: [Rd] R crashes when I open R files in R (PR#10402)

On 06/11/2007 9:05 AM, jerome.lemaitre.1_at_ulaval.ca wrote:
> Full_Name: Jerome Lemaitre
> Version: 2.6.0
> OS: Windows XP
> Submission from: (NULL) (132.203.202.117)
>
>
> Hello,
>
> I have recently downloaded the 2.6.0 version of R and I experience
troubles that
> never happened to me with previous versions.
>
> I open an R session with an R shortcut in "My documents/Analyses".
However, when
> I want to open R files such script using "File/open script" R crashes. I
have
> made some tests and it appears that the software is more prone to crash
when the
> script in not located in the same folder as the R shortcut. For example,
my
> script may be in a subfolder: "My documents/Analyses/GLM".
>
> I hope you will find an easy way to fix this.

We need to reproduce it first. I tried to follow your instructions, and didn't see a problem. Could you please give complete details of a reproducible way to cause the crash, starting from an R session with an empty workspace? Please be specific about the directory name, the file names, and the contents of the file you are trying to open.

Duncan Murdoch



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri 09 Nov 2007 - 16:37:11 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 09 Nov 2007 - 19:31:00 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.