Skip to content

#Rscript error on Windows 7 operating system

4 messages · Morway, Eric, Gabor Grothendieck, Brian Ripley

#
Forum, 

I've been running some parameter estimation software (UCODE which is
maintained by the USGS) that has the capability of running models in
parallel on a local network.  Each additional processor I can incorporate
into the parent-child network helps cut the overall runtime, which is
currently on the order of days.  When a signal is sent to a child (or slave)
processor a series of commands take place, among which some R kriging
commands are called from a batch file.  

I recently gained access to a new quad-core machine that is running windows
7 and for some reason when the R batch commands are invoked (or called) by
the parent (or master) machine the following error message results:

c:\...\>#Rscript KrigCommandsWithAnisotropy_US_Layer1.bat
Warning: This script has only been tested on Windows XP.
\R\R-2.11.0\library\JGR\jgr.exe was unexpected at this time.

Running the batch file on Windows XP or Windows Server 08 operating systems
works OK.  However, I did have to change a security setting like so:

Settings... Control Panel... Administrative tools... Microsoft .NET
Framework Configuration... Right Click Runtime Security Policy... Choose
Adjust Security... Next... Local Intranet and adjust to "Full Trust"...
Next... 

I've been unable to find this security setting in Windows 7, but I'm not
sure it is related to the error message quoted above.

I apologize if this is the wrong forum for this kind of request.  If I need
to repost on R-Help I'll delete it here.

Thanks,
Eric
#
The message about XP you are referring to is a warning and not an
error.  Evidently,
you are running an old version of #Rscript.bat from the batchfiles distribution.
Try using the most recent version.  The batchfiles home page is at:
http://batchfiles.googlecode.com
That should at least eliminate the warning.

The message about jgr.exe is likely unrelated to the above.  I can't tell from
the information supplied what is wrong but you might try eliminating
jgr from your setup.

The security setting is likely related to your batch file and not to
#Rscript.bat .
On Wed, Jun 2, 2010 at 6:21 PM, emorway <emorway at engr.colostate.edu> wrote:
#
This is not really about R, is it?  Few of us will have any idea what 
'#Rscript' is (it is not part of R), and the mention of JGR suggests 
that the third-party Java interface is involved (and that has its own 
mailing lists).

Nor would R-help be appropriate: please ask the authors of #Rscript 
for help (and see the R posting guide, which asked you to do that 
first).
On Wed, 2 Jun 2010, emorway wrote:

            

  
    
#
Gabor,

I would like to thank you for referring me to the new #Rscript file. 
Apparently that is all it took to get my simulation running remotely on a
Windows 7 machine.  It seemed to have cured the jgr.exe hiccup as well.  

Respectfully,
Eric