# remove the Constructor converter
## Not run:
# removeJavaConverter(3)
#
# # add a converter -- userObject must be valid
# setJavaConverter(.RSJava.symbol("RealVariableConverter"),
# matcher="AssignableFrom",
# autoArray=TRUE,
# description="Omegahat RealVariable to numeric vector",
# userObject="RealVariable")
#
# # and remove it by specifying its description.
# removeJavaConverter("Omegahat RealVariable to numeric vector")
#
# # add the converter again
# cvt <- setJavaConverter(.RSJava.symbol("RealVariableConverter"),
# matcher="AssignableFrom",
# autoArray=TRUE,
# description="Omegahat RealVariable to numeric vector",
# userObject="RealVariable")
#
# # and remove it by specifying its position
# # which is given to us by the setJavaConverter call.
# removeJavaConverter(cvt$index)
# ## End(Not run)
Run the code above in your browser using DataCamp Workspace