Learn R Programming

ArrayExpressHTS (version 1.22.1)

isRCloud: Check the code is running on R-Cloud

Description

isRCloud returns TRUE/FALSE indicating whether the configuration is an R-Cloud.

Usage

isRCloud()

Arguments

Value

If TRUE, the configuration is the R-Cloud.

See Also

setPipelineOptions, ArrayExpressHTS

Examples

Run this code
    
    if ( isRCloud() ) {
        
        # we're on the R-Cloud
        print("R-Cloud configuration");
    } else {
    
        # we're somewhere else
        print("Other configuration");
    }

Run the code above in your browser using DataLab