| Top |
| int | foreign_start () |
| int | foreign_append () |
| int | foreign_execute () |
| void | foreign_destroy () |
| int | execute_R_buffer () |
| int | write_gretl_R_files () |
| void | delete_gretl_R_files () |
| int | write_gretl_ox_file () |
| int | write_gretl_python_file () |
| int | write_gretl_julia_file () |
| int | write_gretl_octave_file () |
| int | write_gretl_stata_file () |
| int | gretl_max_mpi_processes () |
| void | set_mpi_variant () |
| int | check_for_mpiexec () |
| int | get_R_function_by_name () |
| int | gretl_R_get_call () |
| int | gretl_R_function_add_scalar () |
| int | gretl_R_function_add_vector () |
| int | gretl_R_function_add_matrix () |
| int | gretl_R_function_exec () |
| void | gretl_R_reset_error () |
| void | gretl_R_cleanup () |
int foreign_start (int ci,const char *param,gretlopt opt,PRN *prn);
Starts a new "foreign" block if no such block is currently defined.
ci |
either FOREIGN or MPI. |
|
param |
string specifying language, for FOREIGN. |
|
opt |
may include |
|
prn |
struct for printing output. |
int foreign_append (const char *line,int context);
Appends line
to an internally stored block of "foreign"
or MPI commands, if such a block is currently defined.
int foreign_execute (const DATASET *dset,gretlopt opt,PRN *prn);
Executes a block of commands previously established via
calls to foreign_append_line().
dset |
dataset struct. |
|
opt |
may include |
|
prn |
struct for printing output. |
int execute_R_buffer (const char *buf,const DATASET *dset,gretlopt opt,PRN *prn);
This is used only for MS Windows, working around breakage in previously coded non-interactive calls to R executable(s).
buf |
buffer containing commands. |
|
dset |
dataset struct. |
|
opt |
may include |
|
prn |
struct for printing output. |
int write_gretl_R_files (const char *buf,const DATASET *dset,gretlopt opt);
int write_gretl_ox_file (const char *buf,gretlopt opt,const char **pfname);
Writes the content of buf
into a file in the gretl user's
"dotdir".
buf |
text buffer containing Ox code. |
|
opt |
should contain |
|
pfname |
location to receive name of file written, or |
int write_gretl_python_file (const char *buf,gretlopt opt,const char **pfname);
Writes the content of buf
into a file in the gretl user's
"dotdir".
buf |
text buffer containing Python code. |
|
opt |
should contain |
|
pfname |
location to receive name of file written, or |
int write_gretl_julia_file (const char *buf,gretlopt opt,const char **pfname);
Writes the content of buf
into a file in the gretl user's
"dotdir".
buf |
text buffer containing Julia code. |
|
opt |
should contain |
|
pfname |
location to receive name of file written, or |
int write_gretl_octave_file (const char *buf,gretlopt opt,const DATASET *dset,const char **pfname);
int write_gretl_stata_file (const char *buf,gretlopt opt,const DATASET *dset,const char **pfname);