# Patch all source code files in the current directory
   patchCode(".")
   # Patch all source code files in R_PATCHES
   options("R_PATCHES"="~/R-patches/")
   # alternatively, Sys.setenv("R_PATCHES"="~/R-patches/")
   patchCode()Run the code above in your browser using DataLab