Icon

kn_​example_​r_​hex_​convert_​string

use R to convert hex to strings
# https://stackoverflow.com/questions/29251934/how-to-convert-a-hex-string-to-text-in-rs <- '1271763355662E324375203137'h <- sapply(seq(1, nchar(s), by=2), function(x) substr(s, x, x+1))v1_result <- rawToChar(as.raw(strtoi(h, 16L)))v2_result_printable <- gsub('[^[:print:]]+', '', rawToChar(as.raw(strtoi(h, 16L))))knime.out <- as.data.frame(cbind(s, v1_result , v2_result_printable)) use R to convert hex to stringshttps://forum.knime.com/t/hex-to-ascii-conversion/26037/2?u=mlauber71 hex to stringknime://knime.workflow/result.table R Source (Table) Table Writer # https://stackoverflow.com/questions/29251934/how-to-convert-a-hex-string-to-text-in-rs <- '1271763355662E324375203137'h <- sapply(seq(1, nchar(s), by=2), function(x) substr(s, x, x+1))v1_result <- rawToChar(as.raw(strtoi(h, 16L)))v2_result_printable <- gsub('[^[:print:]]+', '', rawToChar(as.raw(strtoi(h, 16L))))knime.out <- as.data.frame(cbind(s, v1_result , v2_result_printable)) use R to convert hex to stringshttps://forum.knime.com/t/hex-to-ascii-conversion/26037/2?u=mlauber71 hex to stringknime://knime.workflow/result.table R Source (Table) Table Writer

Nodes

Extensions

Links