[kepler-dev] Problems with pipes, R actors

Dan Higgins higgins at nceas.ucsb.edu
Thu Feb 22 11:06:56 PST 2007


Hi Latronico,
    The message you show is usually related to either R not being 
installed or not being on the path. The test is to open a command window 
and type the command 'R'. You should then see some information about R 
if it is installed and can be found by the OS.
    What OS are you running? R is included in the windows installer but 
not with Mac or Linux versions.

Dan Higgins
NCEAS

---

Latronico Elizabeth (RTC1) wrote:
>
> Hello Kepler developers,
>
> I am new to Kepler and I am getting strange errors about pipe problems 
> when trying to run the demos with R actors in them.  For example, in 
> /demos/00-StatisticalSummary.xml I get the following error.  I 
> downloaded both the binary and also source code for version 
> kepler-1.0.0beta3 and I have the same problem with both.  I get 
> similar error messages for the other demos with R actors.
>
> Has anyone seen a similar problem?  I checked the newsgroup archives 
> but didn't find any related information.
>
> Thanks for your help!
> Beth
>
> ptolemy.kernel.util.IllegalActionException: Problem writing input '
>   in .00-StatiticalSummary.SummaryStatistics
> Because:
> The pipe is being closed
>         at 
> org.ecoinformatics.seek.R.RExpression.fire(RExpression.java:478)
>         at ptolemy.actor.AtomicActor.iterate(AtomicActor.java:337)
>         at 
> ptolemy.actor.sched.StaticSchedulingDirector.fire(StaticSchedulingDirector.java:170) 
>
>         at ptolemy.actor.CompositeActor.fire(CompositeActor.java:331)
>         at ptolemy.actor.Manager.iterate(Manager.java:668)
>         at ptolemy.actor.Manager.execute(Manager.java:327)
>         at ptolemy.actor.Manager.run(Manager.java:1044)
>         at ptolemy.actor.Manager$3.run(Manager.java:1085)
> Caused by: java.io.IOException: The pipe is being closed
>         at java.io.FileOutputStream.writeBytes(Native Method)
>         at java.io.FileOutputStream.write(Unknown Source)
>         at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
>         at java.io.BufferedOutputStream.flush(Unknown Source)
>         at sun.nio.cs.StreamEncoder$CharsetSE.implFlush(Unknown Source)
>         at sun.nio.cs.StreamEncoder.flush(Unknown Source)
>         at java.io.OutputStreamWriter.flush(Unknown Source)
>         at java.io.BufferedWriter.flush(Unknown Source)
>         at 
> org.ecoinformatics.seek.R.RExpression.fire(RExpression.java:475)
>         ... 7 more
> Caused by: java.io.IOException: The pipe is being closed
>         at java.io.FileOutputStream.writeBytes(Native Method)
>         at java.io.FileOutputStream.write(Unknown Source)
>         at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
>         at java.io.BufferedOutputStream.flush(Unknown Source)
>         at sun.nio.cs.StreamEncoder$CharsetSE.implFlush(Unknown Source)
>         at sun.nio.cs.StreamEncoder.flush(Unknown Source)
>         at java.io.OutputStreamWriter.flush(Unknown Source)
>         at java.io.BufferedWriter.flush(Unknown Source)
>         at 
> org.ecoinformatics.seek.R.RExpression.fire(RExpression.java:475)
>         at ptolemy.actor.AtomicActor.iterate(AtomicActor.java:337)
>         at 
> ptolemy.actor.sched.StaticSchedulingDirector.fire(StaticSchedulingDirector.java:170) 
>
>         at ptolemy.actor.CompositeActor.fire(CompositeActor.java:331)
>         at ptolemy.actor.Manager.iterate(Manager.java:668)
>         at ptolemy.actor.Manager.execute(Manager.java:327)
>         at ptolemy.actor.Manager.run(Manager.java:1044)
>         at ptolemy.actor.Manager$3.run(Manager.java:1085)
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at ecoinformatics.org
> http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev
>   


-- 
*******************************************************************
Dan Higgins                                  higgins at nceas.ucsb.edu
http://www.nceas.ucsb.edu/    Ph: 805-893-5127
National Center for Ecological Analysis and Synthesis (NCEAS) Marine Science Building - Room 3405
Santa Barbara, CA 93195
*******************************************************************



More information about the Kepler-dev mailing list