Description Usage Arguments Value
Allocate a portion of system RAM for R and/or Java to use.
1 2 3 4 5 6 | source_ram(
only_free = T,
percent_of_total = 20,
mem_unit = "GiB",
round_up = T
)
|
only_free |
If TRUE, only allocate the system's currently free memory. |
percent_of_total |
An integer of what percent of memory to allocate, which also serves as an upper limit to allocating free ram. |
mem_unit |
Currently assumes available memory is measured in GB – More options TBD in a future version. |
round_up |
If TRUE, it rounds decimals .5 and above up to the next whole number of GBs, otherwise rounds down. |
Sets memory use option.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.