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

IDEA: Transform dput output from clipboard to tibble, dataframe or data.table #80

Closed
cderv opened this issue Oct 10, 2018 · 2 comments
Closed

Comments

@cderv
Copy link

cderv commented Oct 10, 2018

This is based on this question
https://community.rstudio.com/t/convert-dput-output-clipboard-to-a-data-frame-or-tibble-tribble/16050/6

The idea would be to copy a dput output and be able to use *_paste family function.

would it be in the scope of this 📦 ?
There seems to be other solution currently existing (read.so 📦 , wrapr 📦 )

@MilesMcBain
Copy link
Owner

I like this. The machinery for this to happen is already kind of there for the 'Fiddle Selection' Addin.

The one issue I see is CRAN being unhappy with a function that evaluates code on the clipboard. It could cause trouble.

@MilesMcBain
Copy link
Owner

Added to eval_clip* functions in 04664a1.

I prefer to make it explicit to the user that they are about to evaluate code they just copied. Also attempting to parse all data before pasting could slow things down a little.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants