This repository has been archived by the owner. It is now read-only.
Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
superpower_gui/README.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
46 lines (28 sloc)
1.33 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Superpower GUI | |
> This application provides a graphical wrapper to access functions in the superpower R pacakge. | |
## Installing superpower_gui | |
`git clone https://github.rcac.purdue.edu/brewer36/superpower_gui.git` | |
`cd superpower_gui` | |
`pip install superpower_gui` | |
## Installing Superpower | |
### From Github | |
This application does not run without the companion R package, Superpower. You can install it any way you like. The application will check every library location listed by `.libPaths`. If the package isn't installed, the application can do that for you, but you must provide the path to the package source file. Since the package doesn't release these yet, so you will have to create one by building it from the original repository. | |
```bash | |
git clone https://github.rcac.purdue.edu/brewer36/SuperPower.git` | |
R CMD build SuperPower | |
R CMD INSTALL Superpower_<version>.tar.gz | |
``` | |
### From a source file | |
Open ~/.superpower_gui/config.ini source file. You can optionally provide a library location if you'd like the source file to be installed in a particular place. | |
``` | |
['R'] | |
source = <source_dir> | |
lib_loc = <optional_lib_loc> | |
``` | |
## How to use | |
This application runs in a single cell of a Jupyter Notebook, or an Javascript enabled IPython environment. | |
``` | |
controller = Controller() | |
controller | |
``` | |
<IPython.core.display.Javascript object> | |