Comments (3)
Added a some instructions, and I've made a note that I need to go through and do this for every chapter. Suggestions on how to present it better would be appreciated.
from adv-r.
Suggestion for presentation of installation instructions: keep them together somewhere for each package (appendix?) and refer (link) to them in each chapter where applicable. That way you have only one version of instructions to maintain. And those familiar with installation or those that already have them installed can skip the reading easily.
Perhaps like this:
Chapter prerequisite packages
ggplot2, pryr, lineprof
See [link] for installation instructions.
Or, you could just refer to a page that contains an R script that installs all the packages needed in the whole book somewhere at the start of every chapter. That way you only have to maintain that one page...
from adv-r.
I like the idea of repeating the prereqs (even though I'll have to be extra careful with checking) because it makes the chapters more accessible as standalone works. I think relatively few people will read the book cover to cover, so minimise inter-chapter dependencies (or at least making them explicit) is worth some extra work.
from adv-r.
Related Issues (20)
- Feedback Chapter 17 and Introduction to Metaprogramming
- rlang::last_trace() example in section 22.3.1 fails due to use of rlang::with_abort() HOT 2
- Solution to 24.3.1
- S4 ambiguous method
- Section 7.4.4 Execution environments: clarify by using, say, h(5) instead of h(1)
- 7.6 Environments - Managing state within a package (Examples, Limitations, and Best Practices)
- 2.3 modify on copy (rules of copy seem to have changed) HOT 6
- Other possible style to use `on.exit` HOT 2
- Incorrect result in `length(unclass(x))`
- Remarks chapter 2
- Update online book
- broken links to source-level debugging resources
- 13.7.1 needs an update with .class2
- `Error in `$`(x, eval(var)) : invalid subscript type 'language'`
- A better explanation needed for section "evaluation" in 20.5.1 Quoting and unquoting
- Section 9.3 needs note about base pipe
- `rlang::call_standarise()` is deprecated as of rlang 0.4.11 in favor of `call_match()`
- Implementing a base generic function for an S4 class
- translate_sql now requires the con parameter
- example 13.4.4(5) does not work as described for R 4.4.x HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adv-r.