[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-devel
Subject:    Re: [Rd] R crash using Sys.which on Windows
From:       Tobias Verbeke <tobias.verbeke () openanalytics ! eu>
Date:       2014-05-12 11:47:17
Message-ID: 705176494.54888.1399895237320.JavaMail.zimbra () openanalytics ! eu
[Download RAW message or body]

Dear Prof. Ripley, 

Many thanks for the change in R 3.1.1 to be as well as for the description of the \
workaround for R 3.1.0.

Best regards,
Tobias Verbeke

----- Original Message -----
> From: "Prof Brian Ripley" <ripley@stats.ox.ac.uk>
> To: r-devel@r-project.org
> Sent: Monday, May 12, 2014 12:40:17 PM
> Subject: Re: [Rd] R crash using Sys.which on Windows
> 
> This is a change in behaviour of the Windows API function since the code
> was written (years ago).  It will be changed in R 3.1.1: meanwhile you
> can always use the shortPathName to abbreviate the name.
> 
> 
> On 06/05/2014 19:28, Tobias Verbeke wrote:
> > Dear list,
> > 
> > When installing the latest version of Rtools (3.1.0.1942) into a path that
> > contains more than 96 characters on Windows 7 64-bit,
> > e.g. into
> > 
> > C:\TheLatestRtoolsInAPathWithMoreThanNinetySixCharactersWillCrashTheRSessionUponCallingTheSysWhichFunctionInRToGetTheGccPath
> >  
> > and assuming that the Rtools bin paths have been appropriately added to the
> > PATH environment variable as in
> > 
> > c:\TheLatestRtoolsInAPathWithMoreThanNinetySixCharactersWillCrashTheRSessionUponCa \
> > llingTheSysWhichFunctionInRToGetTheGccPath\bin;c:\TheLatestRtoolsInAPathWithMoreTh \
> > anNinetySixCharactersWillCrashTheRSessionUponCallingTheSysWhichFunctionInRToGetTheGccPath\gcc-4.6.3\bin
> >  
> > the following call from RGui 64-bit (version 3.1.0) reproducibly causes R
> > to crash:
> > 
> > Sys.which("ls")
> > 
> > Sys.which seems to use an internal function on Windows. Is this a known
> > issue?
> > 
> > Please let me know if I can provide any more relevant information.
> > 
> > Best,
> > Tobias
> > 
> > ______________________________________________
> > R-devel@r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-devel
> > 
> 
> 
> --
> Brian D. Ripley,                  ripley@stats.ox.ac.uk
> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> University of Oxford,             Tel:  +44 1865 272861 (self)
> 1 South Parks Road,                     +44 1865 272866 (PA)
> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
> 
> ______________________________________________
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
> 

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic