redCodeDir | R Documentation |
redcas
.
redCodeDir
retrieves the full path to the directory containing
the REDUCE code which is part of redcas
.
redCodeDir()
In addition to returning the REDUCE code directory, redCodedir
assigns three environment variables:
the full path to the directory containing the REDUCE
code which is the reduce
sub-directory of the redcas
package;
the full path to the program redcas.red
which defines REDUCE procedures used by redcas
;
the full path to the program tmprint-psl.red
which makes a modified version of the REDUCE package TMPRINT which
implements LaTeX rendering for the PSL dialect. The change is minor
and is designed to ensure that the TeXmacs markup is identical to
that of CSL.
You can use the two programs directly in REDUCE. You need only load
redcas.red
as it loads tmprint-psl.red
if executing in
PSL. In order to have tmprint-psl.red
loaded, you must assign the
environment variable TMPRINT_PSL_PATH
before starting
REDUCE.
redCodeDir
returns the full path to the directory containing
the REDUCE code which is part of redcas
.
martin gregory
redCodeDir()
Sys.getenv("REDCAS_CODE_PATH")
Sys.getenv("TMPRINT_PSL_PATH")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.