r

Prolog files

r_call.pl  -- R plugin for SWISHShow source
<-/1Evaluate Expression, discarding the result.Source
<-/2Assign the result of evaluating the given R Expression to Var.Source
r/4Parse {|r(Arg,...||R-code|} into a the expression below.Source
r_call/2Construct and possibly call an R function.Source
r_console/2Hook console interaction.Source
r_display_images/1Hook to display images.Source
r_execute/3Execute the R command Command after binding the variables in Assignments and unify the result with Result.Source
r_init_session/1Multifile hook that is called after the Rserve server has handed us a new connection.Source
r_setup_graphics/2Setup graphics output using files.Source
r_open_hook/2Called for lazy creation to the Rserve server.Source
r_data.pl  -- R data frame handlingShow source
r_data_frame/3Create an R data.frame from the solutions of Goal.Source
r_data_frame_colnames/2ColNames are the column names for DataFrame as a list of atoms.Source
r_data_frame_from_dicts/2Assign the R variable DataFrame the content of Rows.Source
r_data_frame_from_rows/2Assign the R variable DataFrame the content of Rows.Source
r_data_frame_rownames/2RowNames are the row names for DataFrame as a list of atoms.Source
r_data_frame_to_dicts/2Translate a DataFrame into a list of dicts, where each dict represents a row.Source
r_data_frame_to_rows/3Translate a 2-dimensional R dataframe into a list of compound terms, each representing a row.Source
r_expand_dot.plShow source
r_grammar.pl  -- R parser primitivesShow source
r_identifier/1Recognise an R identifier.Source
r_identifier/1True if Atom is a valid R identifier name.Source
r_token/3Get an R token from the input.Source
r_tokens/3Get R tokens in a non-greedy fashion.Source
r_sandbox.pl  -- Declare the R API safeShow source
r_serve.pl  -- SWI-Prolog Rserve clientShow source
r_assign/3Assign a value to variable VarName in Rserve.Source
r_close/1Close an open connection to an R server.
r_detach/2Detach a session to be resumed later.Source
r_eval/2Evaluate R Command without waiting for a reply.
r_eval/3Send Command to Rserve and translate the resulting R expression into a Prolog representation.
r_eval_ex/3As r_eval/3, but captures R exceptions and translates these into Prolog exceptions.Source
r_login/3Login with the R server.
r_open/2Open a connection to an R server.
r_open_hook/2Hook that is used to translate Alias into an R connection.Source
r_read_file/3Read the content of a remote file into the string Content.
r_remove_file/2Remove FileName from the server.
r_resume/2Resume an R session from a key obtained using r_detach/2.Source
r_server_eval/2Evaluate Command in the main server.
r_server_shutdown/1Cause the main server to shutdown.
r_server_source/2Process FileName on the main server.
r_term.pl  -- Translate a Prolog term into an R expressionShow source
r_expression/4Grammar that creates an R command from a Prolog term.Source