But isn't pid defined in my first statement?  ie.

pid=.{. 2!:2 '/Library/....

Maybe I am misunderstanding.


On Sun, Apr 20, 2014 at 9:39 AM, Raul Miller <[email protected]> wrote:

> pid is a result from 2!:2 and I think you want its argument?
>
> Thanks,
>
> --
> Raul
>
>
> On Sat, Apr 19, 2014 at 7:31 PM, Piet de Jong <[email protected]>
> wrote:
> > I call R  from J  and use the following setup to initiate the R interface
> >
> >  load 'stats/r/rserve'
> >
> > pid=.{. 2!:2 '/Library/Frameworks/R.framework/Resources/bin/R
> >
> CMD/Library/Frameworks/R.framework/Versions/2.12/Resources/library/Rserve/libs/i386/Rserve-bin.so
> > --no-save'
> >
> >
> > Everything works fine.
> >
> >
> > However I want to "wait" for process with pid to finish and according to
> > the documentation I can  use
> >
> >
> > 2!:3 pid
> >
> >
> > However this results in an interface error.
> >
> >
> > What am I doing wrong?
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to