You can use the
dump and
source functions to transfer data objects between
TERR
and open-source R.
About this task
You can perform this
task from either the open-source R system or the
TERR
system. The advantage of using this technique of transferring data objects
between
TERR
and open-source R is that
dump() creates an ASCII file that can be viewed and
edited outside of both systems.
Before you begin
You have access to
the consoles for both open-source R and
TERR
and their base packages. Review the help files for further information about
these functions prior to using them.
Procedure
-
From the system to transfer from, call the
dump() function.
Provide the appopriate arguments, including a character vector
giving the name(s) of the data object(s) and a file name to accept the output.
You can dump multiple objects into a single dump file.
An ASCII file containing the output is created.
-
From the system to transfer to, call the
source() function.
Provide the name of the ASCII file created from calling
dump().