dot-NCONNECTIONS: Maximum number of cores that R can actually use

.NCONNECTIONSR Documentation

Maximum number of cores that R can actually use

Description

Maximum number of cores that R can actually use

Usage

.NCONNECTIONS

Format

An object of class integer of length 1.

Note

R hardcodes the maximum number of socket connections it can use (currently set to 128 in R 4.1). Three of these are reserved for the main R process, so practically speaking, a user can create at most 125 connections e.g., when creating a cluster. See https://github.com/HenrikBengtsson/Wishlist-for-R/issues/28.

We limit this a bit further here just in case the user already has open connections.


PredictiveEcology/pemisc documentation built on Sept. 19, 2022, 7 p.m.