Difference between revisions of "Statistical Algorithms Importer: R-blackbox Project"

From Gcube Wiki
Jump to: navigation, search
(Example Code)
Line 22: Line 22:
 
:R code in sample:
 
:R code in sample:
  
<pre style="display:block;font-family:monospace;white-space:pre;margin:1em 0;">
+
<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")
</pre>
+
</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.
R-blackbox Project, SAI

Project Configuration

Define project's metadata
R-blackbox Info, SAI
Add input and output parameters and click on "Set Code" to indicate the main file to execute (i.e. the .r file)
R-blackbox I/O, SAI
Add information about the running environment (e.g. R version etc.)
R-blackbox Interpreter, SAI
After the software creation phase a Main.R file and a Taget folder are created
R-blackbox Create, SAI

Example Code

R code in sample:
#
# author Giancarlo Panichi
#
test<-"checkinput"
write.csv(test,file="program.txt")

Example Download

File:RBlackBox.zip