Learn R Programming

readtext (version 0.91)

cache_remote: Internal function to cache remote file

Description

Internal function to cache remote file

Usage

cache_remote(url, ignore_missing, cache, basename = NULL, verbosity = 1)

Arguments

url

location of a remote file

ignore_missing

if TRUE, warns for download status

cache

TRUE, save file in system's temporary folder and load it from the next time

basename

name of temporary file to preserve file extensions. If NULL, random string will be used.

verbosity
  • 0: output errors only

  • 1: output errors and warnings (default)

  • 2: output a brief summary message

  • 3: output detailed file-related messages