Skip to content

Automatically convert an array to proper format when supplying it in .data #4

Description

@Akashic101

I have a problem where I want to supply the input-data in the form of an array, but when using the array as data it's only saved as one entry, not multiple

For example

      var member = [1, 3, 5, 7]

        let r = new R('./commands/memberSize.R')
        r.data(member)

only returns the whole array as one entry, as seen when using
print(input[[1]])
in the R-Script since it's results in [1, 3, 5, 7] beeing printed, not 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions