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

Teradata® Package for R User Guide

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Teradata Package for R
Release Number
17.20
Published
March 2024
ft:locale
en-US
ft:lastEdition
2024-04-09
dita:mapPath
efv1707506846369.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
nqx1518630623256
lifecycle
latest
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.