Johannes.Prix at wu-wien.ac.at
2006-Sep-06 14:53 UTC
[Rd] R 2.3.1 and R2.3.0 crash with system() and shell() commands (PR#9207)
Full_Name: Johannes Prix Version: 2.3.1/2.3.0 not 2.1.1 OS: Windows XP Service Pack 2 Build 2600.xpsp_sp2_gdr.0503011519 Submission from: (NULL) (137.208.41.103) In a vanilla R, version 2.3.1 or version 2.3.0 the following crashes: system("gzip.exe") where I did nothing, prior to this command, but change the directory to my other working directory where there's gzip.exe. Same happens for PUTTY's pscp.exe and other commands. Normally, I use a longer command line than the one above, but it also crashes with this short one. Makes no difference if I use Rgui.exe or Rterm.exe. Same result with "shell" instead of "system". With non-existing commands, I get> system("asdf")Warning message: asdf nicht gefunden>It works on an 2.1.1 installation though. The machine is otherwise "normal" but has lots of memory. Any clues on how to circumvent this would be wonderful. Otherwise I'll just stick to the R-2.1.1 where it's working. Please let me know if anything else in this bug report is missing. Thanks a lot and see ya, Johannes Prix.
Prof Brian Ripley
2006-Sep-06 15:22 UTC
[Rd] R 2.3.1 and R2.3.0 crash with system() and shell() commands (PR#9207)
Works correctly for me in the Rtools directory on 2.3.1. Any more clues as to how to reproduce this? On Wed, 6 Sep 2006, Johannes.Prix at wu-wien.ac.at wrote:> Full_Name: Johannes Prix > Version: 2.3.1/2.3.0 not 2.1.1 > OS: Windows XP Service Pack 2 Build 2600.xpsp_sp2_gdr.0503011519 > Submission from: (NULL) (137.208.41.103) > > > > In a vanilla R, version 2.3.1 or version 2.3.0 the following crashes: > > system("gzip.exe") > > where I did nothing, prior to this command, but change the directory to my other > working directory where there's gzip.exe. Same happens for PUTTY's pscp.exe and > other commands. Normally, I use a longer command line than the one above, but > it also crashes with this short one. Makes no difference if I use Rgui.exe or > Rterm.exe. Same result with "shell" instead of "system". > > With non-existing commands, I get > > > system("asdf") > Warning message: > asdf nicht gefunden > > > > It works on an 2.1.1 installation though. > > The machine is otherwise "normal" but has lots of memory. > > Any clues on how to circumvent this would be wonderful. Otherwise I'll just > stick to the R-2.1.1 where it's working. Please let me know if anything else in > this bug report is missing. > > Thanks a lot and see ya, > Johannes Prix. > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >-- Brian D. Ripley, ripley at 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