Learn R Programming

scriptexec (version 0.3.1)

create_script_file: Creates a temporary file, writes the provided script content into it and returns the file name.

Description

Creates a temporary file, writes the provided script content into it and returns the file name.

Usage

create_script_file(script = "")

Arguments

script

The script text

Value

The temporary file name

Examples

Run this code
# NOT RUN {
filename <- create_script_file('echo test')
# }

Run the code above in your browser using DataLab