Persistent Homology in R