RUSTR_TEMP: Temporary folder for 'rust()' function

Description Usage Format Examples

Description

rust() function creates a temporary folder for Rust code generation. Users can get the path to this folder with RUSTR_TEMP$obj, and get the ramdon string which is the prefix of generated Rust functions with RUSTR_TEMP$rss.

Usage

1

Format

An object of class environment of length 1.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 

rustr_check()

RUSTR_TEMP$obj

list.dirs(RUSTR_TEMP$obj)

RUSTR_TEMP$rss

readLines(file.path(RUSTR_TEMP$obj, "src", "REXPORT.c"))

## End(Not run)

rustr/rustinr documentation built on June 2, 2020, 2:05 a.m.