i  have write a function to convert decimal number into binary number in R.

dectobin<-function(x){
  as.numeric(intToBits(x))->x1
  paste(x1,collapse="")->x2
  as.numeric(gsub("0+$","",x2))->x3
  return(as.character(x3))}

dectobin can get right result ,it is so long ,is there a  build-in function to do ?
	[[alternative HTML version deleted]]

