0.0.6 • Published 6 months ago

@types/r-script v0.0.6

Weekly downloads
42
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/r-script

Summary

This package contains type definitions for r-script (https://github.com/joshkatz/r-script).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/r-script.

index.d.ts

// Type definitions for r-script 0.0
// Project: https://github.com/joshkatz/r-script
// Definitions by: Adrian Leonhard <https://github.com/NaridaL>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

interface R {
    data(...args: any[]): this;
    call(callback: (err: any, d: any) => void): void;
    call(options: R.Options, callback: (err: any, d: any) => void): void;
    callSync(options?: R.Options): any;
}
declare namespace R {
    interface Options {
        dataframe?: "rows" | "colums" | "values" | undefined;
        matrix?: "rowmajor" | "columnmajor" | undefined;
        Date?: "ISO8601" | "epoch" | undefined;
        POSIXt?: "string" | "ISO8601" | "epoch" | "mongo" | undefined;
        factor?: "string" | "integer" | undefined;
        complex?: "string" | "list" | undefined;
        raw?: "base64" | "hex" | "mongo" | undefined;
        null?: "list" | "null" | undefined;
        na?: "null" | "string" | undefined;
        auto_unbox?: boolean | undefined;
        digits?: number | undefined;
        pretty?: boolean | undefined;
        force?: boolean | undefined;
        [key: string]: any;
    }
}
declare function R(scriptPath: string): R;
export = R;

Additional Details

  • Last updated: Thu, 16 Dec 2021 22:32:05 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Adrian Leonhard.

0.0.5

7 months ago

0.0.6

6 months ago

0.0.4

2 years ago

0.0.3

3 years ago

0.0.2

5 years ago

0.0.1

7 years ago

0.0.0

7 years ago