Skip to content

Commit

Permalink
Add a README
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancoisGuillem committed Dec 19, 2016
1 parent 234a9ec commit 45273e2
Show file tree
Hide file tree
Showing 7 changed files with 66 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
^.*\.Rproj$
^\.Rproj\.user$
README.rmd
README.md
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: manipulateWidget
Type: Package
Title: Add More Interactivity to htmlWidgets
Title: Add Even More Interactivity to interactive charts
Version: 0.4.0
Date: 2016-12-09
Authors@R: c(
Expand All @@ -9,7 +9,7 @@ Authors@R: c(
)
Description: Like package 'manipulate' does for static graphics, this package
helps to easily to add controls like slider, picker, checkboxes, etc. to an
interactive plot created with htmlWidget. This way one can use controls to
interactive chart created with htmlWidget. This way one can use controls to
modify the input data or the parameters of a widget.
Imports:
shiny,
Expand Down
2 changes: 1 addition & 1 deletion R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#'
#' The interface also contains a button "Done". When the user clicks on it, the
#' last chart is returned. It can be stored in a variable, be modified by the
#' user, saved as a html file with \code{[htmlwidgets]{saveWidget}} from package
#' user, saved as a html file with \code{\link[htmlwidgets]{saveWidget}} from package
#' \code{htmlwidgets} or converted to a static image file with package
#' \code{webshot}.
#'
Expand Down
37 changes: 37 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
title: "Add more interactivity to interactive charts"
output: github_document
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
library(manipulateWidget)
library(webshot)
```

This R package is largely inspired by the `manipulate` package from
Rstudio. It can be used to easily create graphical interface that lets the
user modify the data or the parameters of an interactive chart. It also
provides the `combineWidgets` function to easily combine multiple
interactive charts in a single view. Of course both functions can be used
together.

Here is an example:

![An example of what one can do with manipulateWidgets](img/fancy-example.gif)

## Installation

The package can be installed from Github with package `devtools`:

```{r eval=FALSE}
devtools::install_github("rte-antares-rpackage/manipulateWidget")
```

To install the latest development version:

```{r eval=FALSE}
devtools::install_github("rte-antares-rpackage/manipulateWidget", ref="develop")
```


23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Add more interactivity to interactive charts
================

This R package is largely inspired by the `manipulate` package from Rstudio. It can be used to easily create graphical interface that lets the user modify the data or the parameters of an interactive chart. It also provides the `combineWidgets` function to easily combine multiple interactive charts in a single view. Of course both functions can be used together.

Here is an example:

![An example of what one can do with manipulateWidgets](img/fancy-example.gif)

Installation
------------

The package can be installed from Github with package `devtools`:

``` r
devtools::install_github("rte-antares-rpackage/manipulateWidget")
```

To install the latest development version:

``` r
devtools::install_github("rte-antares-rpackage/manipulateWidget", ref="develop")
```
Binary file added img/fancy-example.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion man/manipulateWidget-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 45273e2

Please sign in to comment.