Skip to content

Make exporting method? #230

@dkahle

Description

@dkahle

I think a common case is for users to have pre-defined variables in R that they want to send over to M2. Is there a convenient way to do that? Something like m2_export() or m2_copy() would make sense, but the challenge would be to be careful about what gets mapped to what type/object-wise in the M2 world. It doesn't need to be perfect, just reasoned out and consistent. Some things are obvious: a double gets mapped to a double (that sounds obvious, but we'll have to double check precision to make sure that "double" means the same thing in both places). But others may not be.

Other design details will matter too: can the user provide a list/environment of variable bindings, and they all get copied?; Does it use nonstandard evaluation?; etc. (It may even be reasonable to keep an R-side environment that knows about M2 bindings.)

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions