creates/coerces objects to proper hash keys
make.keys.RdGiven an vector of any type, make.keys tries to coerce it into a
character vector that can be used as a hash key. This is used internally
by the hash package and should not be normally needed.
Details
This function is used internally by the hash class to
ensure that the keys are valid. There should be no need to use this
externally and is only documented for completeness.
See also
See also as hash
Examples
make.keys( letters )
#> [1] "a" "b" "c" "d" "e" "f" "g" "h" "i" "j" "k" "l" "m" "n" "o" "p" "q" "r" "s"
#> [20] "t" "u" "v" "w" "x" "y" "z"
make.keys( 1:26 )
#> [1] "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" "13" "14" "15"
#> [16] "16" "17" "18" "19" "20" "21" "22" "23" "24" "25" "26"