## Not run:
# getRs() # list available scripts
# scripts <- getRs() # likewise, but store in an object that can easily
# # be viewed on demand in RStudio
# getRs('introda.r') # download introda.r and put in script editor
# getRs(cats=TRUE) # list available major and minor categories
# categories <- getRs(cats=TRUE)
# # likewise but store results in a list for later viewing
# getRs(cats='reg') # list all scripts in a major category containing 'reg'
# getRs('importREDCap.r', put='source') # source() to define a function
# # source() a new version of the Hmisc package's cut2 function:
# getRs('cut2.s', grepo='Hmisc', dir='R', put='source')
# ## End(Not run)
Run the code above in your browser using DataCamp Workspace