resource_get: Get Information for a Specific Resource
Description
Retrieves detailed information about a single computing resource by name.
Usage
resource_get(resource, con = NULL)
Value
A single-row data frame containing resource information. Stops with
an error if the resource is not found.
Arguments
resource
Character string specifying the resource name.
con
An optional database connection. If NULL, a new connection is created
and closed automatically.
Details
The returned data frame contains all resource configuration details needed
for worker deployment, including connection information and resource limits.
if (FALSE) {
# Not run:# Get specific resourcehpc_info <- resource_get("hpc")
print(hpc_info$workers) # Maximum workersprint(hpc_info$log_folder) # Log directory}