/usr/lib/R/site-library/Rmpi/Rslaves64.cmd is in r-cran-rmpi 0.6-3-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | @echo off
set Rscript=%1%
set R_HOME=%2%
set WDrive=%3%
set WDir=%4%
set Master=%5%
set MapDrive=%6%
set RemotePath=%7%
if %MapDrive%==FALSE goto last
net use %WDrive%: %RemotePath%
if not errorlevel 0 goto last
cd /D %WDir%
%R_HOME%\bin\x64\Rscript.exe --vanilla %Rscript%
goto :EOF
:last
if %Master% == %COMPUTERNAME% (
cd /D %WDir%
if not errorlevel 0 cd /D e:\
%R_HOME%\bin\x64\Rscript.exe --vanilla %Rscript%
goto:eof
)
:home
cd /D e:\
%R_HOME%\bin\x64\Rscript.exe --vanilla %Rscript%
|