• Extract all wanted statistic information from a set of requests using the presented R session.

    Type Parameters

    Parameters

    • shell: RShell

      The R session to use

    • onRequest: ((request: T) => void)

      A callback that is called at the beginning of each request, this may be used to debug the requests.

        • (request): void
        • Parameters

          • request: T

          Returns void

    • features: FeatureSelection

      The features to extract (see allFeatureNames).

    • requests: AsyncGenerator<T, any, any>

      The requests to extract the features from. May generate them on demand (e.g., by traversing a folder). If your request is statically known, you can use staticRequests to create this generator.

    • OptionalrootPath: string

      The root path to the project, this is used to relativize the file paths in the statistics.

    Returns Promise<{
        features: FeatureStatistics;
        meta: MetaStatistics;
        outputs: Map<T, DataflowResult>;
    }>