is an internal RLink variable that stores a value of the search path (a list of directory names) where RLink will look for definitions of user-defined data types.


  • By default, the value of $RDataTypePath is a list of a single directory, pointing at the "/Kernel/DataTypes" subdirectory within the RLink distribution.
  • While this variable can be manipulated directly, it is not recommended. A preferred way to add more locations to the RLink data type search path is to do so via the "AddToRDataTypePath" option of InstallR function, when installing RLink.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Click for copyable input

This is the current default value of $RDataTypePath:

Click for copyable input