Difference between revisions of "Statistical Algorithms Importer: Create Project"
From Gcube Wiki
(→Set Main Code) |
|||
Line 51: | Line 51: | ||
==Use Annotations== | ==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. | :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. | ||
+ | [[File:AbsencesSpeciesList_prod_annotated.R]] | ||
+ | |||
Revision as of 10:35, 4 February 2016
- 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.
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.
- 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.
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. If you prefer, you can also use Copy and Paste by writing the code directly in the editor and then save it using Save button in Editor menu(A file name will be required).
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.
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.
Interprer Info
- You can add Version and Packages informations in Interpreter Info panel. The version number is mandatory for the project.
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.
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.
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.