Difference between revisions of "Statistical Algorithms Importer: R-blackbox Project"
From Gcube Wiki
(Created page with "{| align="right" ||__TOC__ |} :This page explains how to create a R-blackbox project using the Statistical Algorithms Importer (SAI) portlet. Image:StatisticalAlgorithmsIm...") |
|||
Line 19: | Line 19: | ||
[[Image:StatisticalAlgorithmsImporter_RBlackBox4.png|thumb|center|800px|R-blackbox Create, SAI]] | [[Image:StatisticalAlgorithmsImporter_RBlackBox4.png|thumb|center|800px|R-blackbox Create, SAI]] | ||
+ | == Example Code == | ||
+ | :R code in sample: | ||
+ | <pre style="display:block;font-family:monospace;white-space:pre;margin:1em 0;"> | ||
+ | # | ||
+ | # author Giancarlo Panichi | ||
+ | # | ||
+ | test<-"checkinput" | ||
+ | write.csv(test,file="program.txt") | ||
+ | </pre> | ||
==Example Download== | ==Example Download== |
Revision as of 16:52, 4 October 2017
- This page explains how to create a R-blackbox project using the Statistical Algorithms Importer (SAI) portlet.
Project Configuration
- Define project's metadata
- Add input and output parameters and click on "Set Code" to indicate the main file to execute (i.e. the .r file)
- Add information about the running environment (e.g. R version etc.)
- After the software creation phase a Main.R file and a Taget folder are created
Example Code
- R code in sample:
# # author Giancarlo Panichi # test<-"checkinput" write.csv(test,file="program.txt")