Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need ability to expose an R table to MetaR statements #29

Open
fac2003 opened this issue Oct 25, 2016 · 0 comments
Open

Need ability to expose an R table to MetaR statements #29

fac2003 opened this issue Oct 25, 2016 · 0 comments

Comments

@fac2003
Copy link
Member

fac2003 commented Oct 25, 2016

Inside an R script, it would be nice to be able to preview a table created in R code with preview table. We need three things to make this happen:

  1. The identifier to export as a table must be annotated to indicate that the symbol need to be exported and that it contains a data.table object. Exporting will create a FutureTable instance.
  2. The exported FutureTable instance must be visible in the scope available to MetaR statements located after the export.
  3. We need to determine the columns of the exported table. These are needed to make design time previews work as usual. Perhaps the export annotation could write a small file with the columns and files. Coupled with instant refresh and loading of table columns from the file, this could work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant