s3_file_temp: Create name for temporary files

View source: R/file_system.R

s3_file_tempR Documentation

Create name for temporary files

Description

return the name which can be used as a temporary file

Usage

s3_file_temp(pattern = "file", tmp_dir = "", ext = "")

Arguments

pattern

(character): A character vector with the non-random portion of the name.

tmp_dir

(character): The directory the file will be created in. By default the cached s3 bucket will be applied otherwise "" will be used.

ext

(character): A character vector of one or more paths.

Value

character vector of s3 uri paths

Examples

## Not run: 
# Require AWS S3 credentials

s3_file_temp(tmp_dir = "MyBucket")

## End(Not run)

s3fs documentation built on Sept. 11, 2024, 6:48 p.m.