Skip to content

Bug in RScript.exe for 3.5.0

3 messages · Simone Giannerini, Henrik Bengtsson, Tomas Kalibera

#

  
  
#
On Sun, Apr 29, 2018 at 1:12 PM, Simone Giannerini
<sgiannerini at gmail.com> wrote:
https://cran.r-project.org/bin/windows/base/rpatched.html has a link
to https://cran.r-project.org/bin/windows/base/NEWS.R-3.5.0patched.html
that mentions it:

* Allow file argument of Rscript to include space even when it is
first on the command line.

/Henrik
#
Hi Simone,
On 04/29/2018 10:12 PM, Simone Giannerini wrote:
as Henrik pointed out, the fix is mentioned in the NEWS file (now both 
R-devel and R-patched). The usual procedure is fix in R-devel, give some 
time for further testing/review also by others (depends on the severity 
of the bug and the risk of introducing new bugs by the fix), then update 
NEWS in R-devel, then eventually port both the fix and the NEWS entry to 
R-patched.
Indeed, the space could also originate from path name set up by the 
system administrator (such as first and last name of a user) or from a 
third party application. It may be also a third party application that 
is not robust against space in file name (e.g. Make, where it is by 
design and essentially cannot be fixed). I think ideally in we should in 
all roles (administrator, user, package developer, R internals 
developer) try to avoid space in file names, try to educate people to 
avoid space in file names, but also try to make systems work even with 
space in file name. When you find a bug in R itself that prevents 
something from working with space in filename, please file a bug report. 
Especially when a bug has been introduced between R versions, it is 
usually easy to fix it - of course there is no guarantee but you may 
easily be given a workaround within few hours. If you find such error in 
a package, please report to package author (and if repeatedly 
unresponsive, please report to repository maintainer - e.g. CRAN).

Best
Tomas