Statistical Algorithms Importer: Create Project

From Gcube Wiki
Revision as of 17:19, 3 February 2016 by Giancarlo.panichi (Talk | contribs)

Jump to: navigation, search
How to create a project using Statistical Algorithms Importer(SAI) portlet.

Project Folder

Fist step is to create or select a empty folder in workspace using Create Project button in main menu. After a empty project in that folder is created.
Create Project, SAI

Import Resources

Any resources necessary for project can be imported in Project Folder. If resources is on Workspace you can use Add Resource button in main menu for select the file on workspace.
Add Resource, SAI
Otherwise if the resource is on your pc you can use Drag and Drop, and you can move the file from your pc to Project Explorer panel, multi selection is allowed.
Add Resource DnD, SAI

Set Main Code

After you have add R file, you can set it as Main code by click Set Main button in Project Explorer. The file will be load in the Editor. Now you can change the code and save it by Save button on the Editor panel.
Set Main Code, SAI

Input

In this area you can set all input information to create software.

Global Variables

In this panel you can add any useful Global Variable.
Global Variable, SAI

Input/Output

For select input and output, you can select the row on the code in the Editor and than ckick Input or Output button on the Menu Editor. A new row is added to Input/Output list. Now if you need to you you can change your information by clicking on the row. At least one input is required for the project.
Input/Output, SAI

Interprer Info

You can add Version and Packages informations in Interpreter Info panel. The version number is mandatory for the project.
Interpreter Info, SAI

Project Info

Name and Description of project are mandatory, in addittion for Name special characters are not allowed. You can include a list of requested VREs for this algorithm.
Project Info, SAI

Save Project

You can save project by click on Save button in main menu. A file called stat_algo.project is add to Project Folder.
Save Project, SAI


Use Annotations

If you import an R code with annotations, the system automatically try to fills the information into Input/Output panel and Project Info panel. Name of algorithm is mandatory in the annotations.