Icon

kn_​example_​r_​hex_​convert

use R to convert hex to dec

use R to convert hex to dec

library(broman)# https://rdrr.io/cran/broman/man/convert2hex.htmlv_hex1 <- convert2hex(333)v_hex2 <- dec2hex(333)v_is_hex1 <- dec2hex(333) == "14D"v_is_hex2 <- dec2hex(333) == "14d"v_hex_collection <- dec2hex(0:30)# list the IDs of Hex valuesv_hex_collection_id <- seq( from = 0, to = 30 )knime.out <- as.data.frame(cbind(v_hex1, v_hex2, v_is_hex1, v_is_hex2,v_hex_collection, v_hex_collection_id)) library(broman)# https://rdrr.io/cran/broman/man/hex2dec.htmlv_dec1 <- hex2dec("14D")v_dec_vs_hex1 <-hex2dec("14D") == 333v_dec_vs_hex2 <-hex2dec("14d") == 333v_hex_collection <- dec2hex(0:30)v_dec_collection <- hex2dec(dec2hex(0:30))knime.out <- as.data.frame(cbind(v_dec1, v_dec_vs_hex1, v_dec_vs_hex2,v_hex_collection, v_dec_collection)) use R to convert hex to dechttps://forum.knime.com/t/convert-decimal-to-hex/20181/2?u=mlauber71 broman hexbroman to dechex.tablehex2dec.table R Source (Table) R Source (Table) Table Writer Table Writer library(broman)# https://rdrr.io/cran/broman/man/convert2hex.htmlv_hex1 <- convert2hex(333)v_hex2 <- dec2hex(333)v_is_hex1 <- dec2hex(333) == "14D"v_is_hex2 <- dec2hex(333) == "14d"v_hex_collection <- dec2hex(0:30)# list the IDs of Hex valuesv_hex_collection_id <- seq( from = 0, to = 30 )knime.out <- as.data.frame(cbind(v_hex1, v_hex2, v_is_hex1, v_is_hex2,v_hex_collection, v_hex_collection_id)) library(broman)# https://rdrr.io/cran/broman/man/hex2dec.htmlv_dec1 <- hex2dec("14D")v_dec_vs_hex1 <-hex2dec("14D") == 333v_dec_vs_hex2 <-hex2dec("14d") == 333v_hex_collection <- dec2hex(0:30)v_dec_collection <- hex2dec(dec2hex(0:30))knime.out <- as.data.frame(cbind(v_dec1, v_dec_vs_hex1, v_dec_vs_hex2,v_hex_collection, v_dec_collection)) use R to convert hex to dechttps://forum.knime.com/t/convert-decimal-to-hex/20181/2?u=mlauber71 broman hexbroman to dechex.tablehex2dec.table R Source (Table) R Source (Table) Table Writer Table Writer

Nodes

Extensions

Links