My numerical recipes in R