RLink`
RLink`

RDataTypeUnregister

RDataTypeUnregister[type]

unregisters a data type with the name type from the RLink type system.

Details and OptionsDetails
  • The type name type should normally be a string.
  • RDataTypeUnregister performs the reverse operation with respect to RDataTypeRegister.
  • If the data type with the name type has not been registered or has been already unregistered, RDataTypeUnregister does nothing.
  • Examples

    Basic Examples  (2)

    In[1]:=
    Click for copyable input

    Consider R data frames, which represent one of the extended data types added to core RLink data types through the type extension mechanism. This creates a simple data frame:

    In[1]:=
    Click for copyable input
    Out[1]=

    Now unregister the data frame type:

    In[2]:=
    Click for copyable input

    Repeating the previous evaluation will now produce a different Wolfram Language expression, which is a generic RLink representation of an R data frame being interpreted as an R list with attributes:

    In[3]:=
    Click for copyable input
    Out[3]=

    The previous action, of course, impaired the data frame functionality. To recover previously registered definitions for data frames, you can call RDataTypeDefinitionsReload:

    In[4]:=
    Click for copyable input

    This recovers the previous result:

    In[5]:=
    Click for copyable input
    Out[5]=

    See Also

    InstallR  UninstallR  $RDataTypePath  RDataTypeRegister  RTypeOfHighLevelExpression  RTypeOfLowLevelExpression   RDataTypeDefinitionsReload

    Tutorials