The R environment cannot automatically determine the type of bit data and properly handle it. Hence, the R script needs to explicitly accept the bit string as a character string and convert it to a raw data type. For example, when using the read.table() function, users can achieve this conversion as shown here:
frame<-try(read.table(IN,header=FALSE,sep="\t",quote="",nrows=1,colClasses=c("character")), silent=TRUE)
The Bit Varying data type is properly handled by the read.table() function.