I want to convert my geographic coordinates from degrees to decimals, my data are as follows:
lat long 105252 30°25.264 9°01.331 105253 30°39.23
Try using the char2dms function in the sp library. It has other functions that will additionally do decimal conversion.
char2dms
sp
library("sp") ?char2dms