Source of functions#18
Conversation
| @@ -1,4 +1,4 @@ | |||
| # Getting Started | |||
| # Getting Started {#GetStart} | |||
There was a problem hiding this comment.
I would prefer a better anchor name here... IINM these anchors are not just for referring internally in the page -- it can show up eventually in a URL as URL/getting-started#GetStart; something more readable would be better. I may be mistaken but I think this may generate an automatic anchor like #getting-started? If not that would anyway be a good choice.
| ## Installing R | ||
| ## Installing R {#installR} | ||
|
|
||
| 1. The binary builds of R for Windows can be downloaded and installed from [here](https://cran.r-project.org/bin/windows/base/). Along with the link to the latest stable release, this page also contains links to the binary builds of r-patched and r-devel. |
There was a problem hiding this comment.
It may be worth adding a quick note what exactly is meant by a "binary build" -- it's something I had no idea on myself for a long time and have sort of figured out gradually.
|
|
||
| * To download the R sources on Windows, you can use `tar` from the RStudio terminal. | ||
|
|
||
| * If you want to checkout the sources from svn, it is probably best to install an SVN client. Either TortoiseSVN (https://tortoisesvn.net/, command line tool, and Windows Explorer integration) or SlikSVN (https://sliksvn.com/download/, just the command line tool) is recommended. They have simple Windows installers and you can use svn straight-away from Windows cmd or RStudio terminal. |
There was a problem hiding this comment.
is there any concern that TortoiseSVN is GPL (https://en.wikipedia.org/wiki/TortoiseSVN) while SlikSVN appears "freemium"?
| * Search in the R sources using grep: The [Getting Started](#GetStart) chapter discusses how to download the R sources directly or from the svn repository. Now if the sources are in `~/R-devel`, you can search as follows: | ||
|
|
||
| ``` | ||
| grep -R "body <- function" ~/R-devel/src |
There was a problem hiding this comment.
I usually prefer grep -Fnr and --include=*.R
| similarly for grep | ||
|
|
||
| ``` | ||
| grep -R --include=*.c "compcases" ~/R-devel/src/library/ |
There was a problem hiding this comment.
src/library won't match src/main, where all of the base C code is
rebase where-to-get-help branch with forwards/rdevguide main branch
|
Great to see these PRs merging and moving forward. Nice work being done here by @SaranjeetKaur and all the reviewers 💐 |
|
Many thanks @willingc ! |
This chapter discusses how you can have an overview of the R codebase.