[wpkg-users] Rscript hanging when run from WPKG

Jacob Jarick Jacob.Jarick at amdel.com
Wed Sep 23 09:23:32 CEST 2009


try

<install cmd='cmd /c "%PROGRAMFILES%\R\R-2.9.2\bin\Rscript.exe" 
%SOFTWARE%\_newinstall\base\r-libraries.r ' />

-----Original Message-----
From: wpkg-users-bounces at lists.wpkg.org
[mailto:wpkg-users-bounces at lists.wpkg.org] On Behalf Of James
Andrewartha
Sent: Wednesday, 23 September 2009 3:20 PM
To: wpkg
Subject: [wpkg-users] Rscript hanging when run from WPKG

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
------------------------------------------------------------------------
-
wpkg-users mailing list archives >>
http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users



More information about the wpkg-users mailing list