Re: R.pl hangs in debian linux
Nicos Angelopoulos (Univ of York) <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <20131107105501.68c37079@ampelos> |
Dear Bob, On Wed, 06 Nov 2013 22:14:53 -0600 "Bob Ly" <[email protected]> wrote: > So I've been trying the R package from Swipl Git, but the example > given in the package just hangs. > it looks like R.pl hangs on waiting input from the R executable, as R.pl has n't changed in a long while (not by me at any rate), it is likely that recent R versions spew out things differently to how older versions did. the mode of operation of R.pl is that it starts an R process as a slave reading/writing from/to it via the io streams. I think R.pl should come with a warning that there is a more modern package available. are you aware of pack(real) ? you can install with ?- pack_install( real ). ?- pack_rebuild( real ). test with ?- [pack(real/examples/for_real)]. ?- edit( pack(real/examples/for_real) ). ?- for_real. See http://www.swi-prolog.org/pack/list?p=real & http://stoics.org.uk/~nicos/sware/real/ Hope it helps, Nicos Angelopoulos --- http://stoics.org.uk/~nicos