::install_github("https://github.com/tony-aw/broadcast") remotes
Prerequisites & Installation
Prerequisites
First, a basic understanding of is important.
A very, very basic refresher for can be found in the Getting Started in R: Tinyverse Edition document.
Make sure you at least have basic knowledge of the following subjects in :
- Atomic types (logical, integer, double, complex, character, raw).
- The recursive type “list”.
- dimensional structures: vectors, matrices, arrays.
- common arithmetic operators (+, -, *, /, etc.), relational operators (==, !=, etc.), logical operators (&, |), and common bit-wise operations.
- vector recycling
Installation
To install ‘broadcast’ from GitHub, one may run the following code in :
‘broadcast’ is not a large package per-sé, but it does contain a large amount of compiled code (‘C’ and ‘C++’). Compilation of the package may therefore be slow on some operating systems, especially Linux systems; please be patient. On an average PC running Windows 11, installation of the ‘broadcast’ package shouldn’t take more than just a few minutes.
If installation is too slow, one may try to speed up the installation using multi-threading, for example like so:
<- 8L # specify number of threads
nthreads Sys.setenv(MAKEFLAGS = paste0("-j", nthreads)) # may speed up installation
::install_github("https://github.com/tony-aw/broadcast") remotes
To attach the package - thus expose its functions to the namespace - please use the following:
library(broadcast)
To open the introduction help page of the ‘broadcast’ package, please use any of the following:
::broadcast
?broadcast::broadcast_help
?broadcast::`broadcast-package` ?broadcast