rfigshare tutorial
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Recently we at rOpenSci released our rfigshare package up on cran (or you can check out the most up to date version on github. So what’s so great about being able to create figshare articles through R? For some time now I’ve been advocating the use of a workflow that involves documents written in R using either LaTeX or markdown with code integtated into the manuscript. Then the manuscript is itself a “compilable” file that is formatted and converted into a pdf. Once you’re done with your document, you can run a little script and just upload it to figshare.com. Now your workflow is seemlessly embedded within R. Even better you can use our other packages to actually download your data from within R, write your manuscript in R and then share it with rfigshare. I’ve written up a little tutorial on how to do this and you can see the figshare version or see the raw markdown source version Other uses though could be beyond publishing documents. You could also generate data from simulations and push it to figshare, or even perform various data aggretation or processing on your raw data and then upload it to figshare. Could you do this all via the great figshare web interface? Of course, but we like to think this will make your life a little easier. Many thanks to Carl Boettiger for taking the lead on developing the package and put in the bulk of the development work.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.