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

From Gcube Wiki
Jump to: navigation, search
(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.
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