Difference between revisions of "Statistical Algorithms Importer: R-blackbox Project"
From Gcube Wiki
(→Example Code) |
|||
Line 22: | Line 22: | ||
:R code in sample: | :R code in sample: | ||
− | < | + | <source lang='javascript'> |
# | # | ||
# author Giancarlo Panichi | # author Giancarlo Panichi | ||
Line 28: | Line 28: | ||
test<-"checkinput" | test<-"checkinput" | ||
write.csv(test,file="program.txt") | write.csv(test,file="program.txt") | ||
− | </ | + | </source> |
==Example Download== | ==Example Download== |
Revision as of 15:59, 3 November 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")