Comments (5)
Thanks @mrdwab! Yes maybe some features could be integrated. Long term I really think there should be a standalone clipboard mini-package that this package could them import. But today, in real life, I'd love to get clipboard functionality on other OSes within reprex
.
I don't have physical access to a Windows computer and am being too lazy to set up something in the cloud and also fear it would not give me a faithful clipboard experience anyway. It would be better if someone who can test on a physical Windows box is checking things.
BTW overflow
currently has no LICENSE. How could using readClip
and writeClip
work? Would you add a LICENSE and I grab some of the code? Or do you want to make a pull request?
from reprex.
I've abstracted the OS X, Windows, and Linux versions of clipboard writing into just such a micro-package: clipr. It's super basic at the moment - it could probably use a clear_clip()
command among other things, but maybe it'll be useful?
from reprex.
Thanks @mdlincoln for starting clipr
! This is a much needed thing. We should get other eyeballs on it. It would be truly awesome if it works as well as possible on lots of OSes, which I think requires actual humans on the OSes to be using it. I'm sure some automated testing is possible (and needed) but I bet this is an area where it's not a perfect solution.
I have concerns about LICENSEs. Neither overflow
nor clipr
has one, I think.
from reprex.
- Yes, there will be a bunch of annoying edge cases with system clipboards, so more eyes are a must! (I'm also just on OS X myself)
- Re: LICENSE - both
overflow
andclipr
specify GPL-3 in their respectiveDESCRIPTION
files. I'm following Hadley's guidance here. Is a dedicated LICENSE file required when using GPL-3?
from reprex.
Sorry about the ill-informed no license comment. Duh, I was just looking for a LICENSE file, not reading the DESCRIPTION. I use MIT which forces you to write a two line LICENSE file.
from reprex.
Related Issues (20)
- Offer (or document) some "no theme" themes for RTF output HOT 1
- reprex for html tables like gt HOT 1
- Suppress package startup messages automatically HOT 1
- Default packages
- Release reprex 2.0.2
- Restore a URL HOT 1
- get(".Random.seed") error in empty reprex HOT 1
- Prevent prex from changing certain session options HOT 1
- Investigate "custom function to convert Markdown input to the desired output format now"
- Warning that R appears to crash when it does not HOT 1
- Thoughts about talking about reprexes HOT 1
- Error in xfun::normalize_path() : unused argument (resolve_symlink = FALSE) HOT 2
- reprex:::reprex_addin() on posit cloud does not show the preview HOT 1
- Take advantage of some backtrace improvements HOT 3
- Running in non-interactive mode using the `input` argument seems to use an existing `<input>_reprex.R` HOT 2
- Reprex v2.0.2 does not print all columns of bench::mark() HOT 1
- Upkeep for reprex
- Reprex skipping some statements (these should cause an error) HOT 2
- Add wd panel to Rstudio Addins Menu HOT 1
- Error in `reprex_render_impl()` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reprex.