[wpkg-users] Rscript hanging when run from WPKG

James Andrewartha jamesa at daa.com.au
Wed Sep 23 09:20:23 CEST 2009


Hi,

I've successfully installed R with the packages.xml at http://wpkg.org/R. 
Now I'm trying to automate installation of some R libaries by adding the 
following:
<install cmd='"%PROGRAMFILES%\R\R-2.9.2\bin\Rscript.exe" 
%SOFTWARE%\_newinstall\base\r-libraries.r ' />
where r-libraries.r is http://daa.com.au/~jamesa/r-libraries.r

When I run this from cmd.exe, it works fine, but when I run WPKG, it still 
installs, but Rscript.exe never exits. If I run \\install\wpkg\wpkg.js 
/synchronize, I can see the download dialogs, and an Rscript cmd window 
appears but it has no output (even if I add print commands to r-libraries.r) 
and stays open once the script has finished. Even adding a q('n') command to 
force it to quit has no effect. So I think there's something about the way 
WPKG is calling Rscript.exe that's preventing it from exiting.

The WPKG version is 1.1.1, WPKG client 1.3.9, the file server is Samba 
3.0.28a and the client Windows XP SP3.

Do you have any idea what's causing this, or how I can debug it further?

Thanks,

-- 
James Andrewartha | Sysadmin
Data Analysis Australia Pty Ltd | STRATEGIC INFORMATION CONSULTANTS
97 Broadway, Nedlands, Western Australia, 6009
PO Box 3258, Broadway Nedlands, WA, 6009
T: +61 8 9386 3304 | F: +61 8 9386 3202 | I: http://www.daa.com.au



More information about the wpkg-users mailing list