Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/edvakf/ggallery

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/edvakf/ggallery

  • v0.0.0-20160518164848-45dcde2e899a
  • Source
  • Go
  • Socket score

Version published
Created
Source

ggallery

Make a cool plot with R and ggplot2

API

  • POST /run

run an R code then return R's output and svg image

post body: {code:string, files:{name1:content1, name2:content2}}
ok response: {output:string, svg:string}
error response: {output:string, message:string}
  • POST /plot

make a plot and save the result for later reference (ie. give an id)

post body: {code:string, files:{name1:content1, name2:content2}}
ok response: {output:string, svg:string, id:string, svg_url:string}
error response: {error:string, output:string}
  • POST /replot

make a plot again with different data set

post body: {id:string, files:{name1:content1, name2:content2}}
ok response: {output:string, svg:string, id:string, svg_url:string}
error response: {error:string, output:string}
  • GET /plot/:id.svg

run a saved code and show svg image

  • GET /plot/:id

return saved code and files

response: {code:string, files:{name1:content1, name2:content2}}
error response: {error:string, output:string}

FAQs

Package last updated on 18 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc