On Sat, Jul 9, 2022 at 4:55 PM Sven Schreiber <svetosch(a)gmx.net> wrote:
Am 09.07.2022 um 16:52 schrieb Cottrell, Allin:
[...]
> Jack and I tried searching the R documentation for a means of
> controlling text output via the library API but we didn't find
> anything yet. Some of the third-party libraries that gretl uses offer
> a way of supplying a replacement for the standard C function printf()
> -- e.g. libxml, libcurl -- but we can't find anything of that sort in
> the libR API.
Thanks again. The minimal-invasive thing to do would be to just mention
this fact in the R functions / R library section in the user guide.
Not sure right now about error messages from (lib)R, but I think they do
get through to gretl?
My understanding is that if a pre-defined R function is called
directly from gretl, error messages from libR will go to stderr as
things stand, and will therefore be invisible in the gretl GUI. But in
standard foreign-block mode you should see error messages from R OK.
Allin