The code:
a <- structure(list(`X$Days` = c(\"10\", \"38\", \"66\", \"101\", \"129\", \"185\", \"283\", \"374\")), .Names
If your list as multiple elements that need to be converted to numeric, you can achieve this with lapply(a, as.numeric).
lapply(a, as.numeric)