![]() The second link is a github search query needed when a function is defined in a file with a different name.įunctions in the base R packages will be searched in theĬurrently, the funSource-initiated github search doesn't find names or dimnames in base R. /search?q= someFunction function repo:cran/ somePackage+path:R./cran/ somePackage/blob/master/R/ someFunction.R (or.In the default browser, it the opens the first link if it exists, the second if not: This works even if the package is not installed (in which case you do need the quotation marks). You can also explicitly request funSource("somePackage::someFunction"). find packageįunSource(someFunction) tries to find the corresponding package to the input function. Through github, there are nice syntax highlighting and search options. ![]() # by default also sets CTRL+Y for ReDo and CTRL+H for setWorkingDirToActiveDoc # or manually: # Rstudio - Tools - Modify Keyboard Shortcurts # click on an addin shortcut field and press the desired key combination # (Restart Rstudio) funSourceįunSource provides an easy option to open the source code of a function in a browser window. # either set all bindings: rskey ::setKeyboardBindings( overwrite = TRUE) ![]() ![]() If( !requireNamespace( "remotes ")) install.packages( "remotes ") ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |