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

Teradata® Package for R User Guide

Product
Teradata Package for R
Release Number
17.00
Published
July 2021
Language
English (United States)
Last Update
2023-08-08
dita:mapPath
yih1585763700215.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
B700-4005
Product Category
Teradata Vantage

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.