> test.log") under R...">

Why & >> in the system () call has different behavior between 3.3 and 3.4

Run the following R code

system("sleep 10 &>> test.log")

under R 3.3.3, he sleeps correctly 10 seconds, but under R 3.4.1 he immediately exits, looks like sleep 10 & >> test.log.

Is this a mistake since I did not find anything changed system()from R 3.3 to 3.4 on https://cran.r-project.org/doc/manuals/r-release/NEWS.html

Problem resolved in "& gt;>" "in sh behaves differently on Ubuntu 16.04.2 and Fedora 24

+4
source share
1 answer

Source: https://habr.com/ru/post/1682180/


All Articles