renameSdf {SQLiteDF} | R Documentation |
Changes the internal name of an SDF, both in the workspace and in the SDF's attributes table.
renameSdf(sdf, name)
sdf |
The SDF to be renamed. |
name |
The new internal name of the SDF. |
This simple operation have a quite complicated implementation. The intended name is checked against SDF's already registed to the workspace, the SDF is detached and removed from the SDF workspace, and then re-attached and re-added to the workspace.
TRUE
if the operation was successful. FALSE
with an error
message displayed otherwise.
Miguel A. R. Manese