td_remove_file() | Teradata R Package - 17.00 - td_remove_file() - Teradata R Package

Teradata® R Package User Guide

prodname
Teradata R Package
vrm_release
17.00
created_date
November 2020
category
User Guide
featnum
B700-4005-090K

The td_remove_file() function removes an external language script or model file from Vantage.

On success, it prints a message stating that the file is removed.

  • Connection to Vantage must be established before using this function.
  • This function is not supported when connected to Vantage using Teradata ODBC Driver connection.
  • To remove a file from Vantage, it should already be installed in Vantage.

Example 1: Force remove a text file 'mapper'

> td_remove_file(file.identifier = 'mapper', force.remove = TRUE)
File 'mapper' removed from Vantage.

Example 2: Remove a binary file 'binaryfile'

> td_remove_file(file.identifier = 'binaryfile')
File 'binaryfile' removed from Vantage.