ropensci / unconf17

Website for 2017 rOpenSci Unconf
http://unconf17.ropensci.org
64 stars 12 forks source link

Review comment tools for .Rmd #86

Open MilesMcBain opened 7 years ago

MilesMcBain commented 7 years ago

Something that is really holding back the more cautious folk from jumping into the .Rmd workflow for papers is the lack of user friendly comment and review tools. There is currently no easy way to:

The comment thing in particular gets mentioned on Twitter periodically. I've had a bash at something lofi here.

@njtierney recently introduced me to another Oz researcher who has created a Shiny app that hosts compiled .Rmd output and captures comments in text inputs. Again it's pretty lofi but it tells you something about the perceived value of this feature that they were prepared to go that far.

Please hit me with any other work in this space you know about.

I imagine most of us here are fine with git/Github for this purpose, but we have to remember how deep into the tail of reproducible research we really are.

stephlocke commented 7 years ago

Being able to add comments would be a nice thing - I miss it from working with latex http://ctan.sharelatex.com/tex-archive/macros/latex/contrib/todonotes/todonotes.pdf

MilesMcBain commented 7 years ago

Yes! I was also directed to latexdiff recently which seems like .Rmd should be able to do.

hadley commented 7 years ago

A somewhat related problem is round-tripping Rmds to google docs.

markdly commented 6 years ago

If you slighty tweak the setup of a regular .Rmd file it's possible to embed commenting functionality in generated html output.

I've put up some examples to try here which use the ready made javascript libraries annotatorjs and the hypothesis client.

At this stage the examples only allow adding comments to the .Rmd output. But perhaps it's possible to extend this so the comments can be mapped back to the .Rmd source file somehow ...