R-sharp/docs
この中二病に爆焔を! cbeb2f9d17 make document updates 2024-01-11 15:57:19 +08:00
..
R-system Update README.md 2021-05-09 17:13:46 +08:00
demo Update UMAP.py 2023-02-18 15:04:26 +08:00
documents make document updates 2024-01-11 15:57:19 +08:00
images updates of the documents 2023-03-20 14:45:43 +08:00
language-design add dev notes about linq in R# 2021-04-22 17:21:37 +08:00
tutorials Update README.md 2021-02-07 20:47:45 +08:00
README.md fix code demo in language-design document 2020-02-28 16:35:04 +08:00
_config.yml Set theme jekyll-theme-architect 2019-12-04 15:01:59 +08:00
favicon.ico add icons 2019-12-04 14:51:13 +08:00
manifest.json add icons 2019-12-04 14:51:13 +08:00

README.md

R# programming language

Art work: http://www.clipartbest.com/clipart-di85MqodT

Introduction to R

R# is a language and environment for GCModeller scripting and data science chart plot graphics. It is an Open source project which is similar to the R language and environment which was developed at R&D laboratory from BioNovogene corporation by Xie.Guigang. The R# language its language syntax is derived from the R language, and R# can be considered as a part of implementation of R on Microsoft .NET Framework environment. Although there are too many important differences between R# and R, but much code written for R could runs unaltered under R#.

Unlike the R Project, R# language is not focus on the statistical computing, R# try to combine the numeric computing with the .NET library programming which is comes from the GCModeller on the contrary. So in this way, R# provides a wide variety of bioinformatics analysis toolkit from GCModeller and graphical techniques, and is highly extensible.

Hello world!

For create a new kind of elegant R programming language, the resulting R# its language syntax is comes from the R language hybrid with VisualBasic.NET language and TypeScript language. Here is a R# demo code example for say hello world as routine:

# declare a variable
# please notice that, the R# language is a kind of vectorization programming
# language, all of the primitive type in R# is a vector
# So that the data type 'string' means a string vector in R#, not only a single 
# string in VB.NET or typescript language.
let word as string = ['world', 'R# user', 'GCModeller user'];

# declare a function
let echo as function(words) {
    print( `Hello ${ words }!` );
}

# or declare a lambda function
let echo.lambda = words -> print( `Hello ${ words }!` );

# and then invoke function via pipeline operator
word :> echo;
# [3] "Hello world!" "Hello R# user!" "Hello GCModeller user!"
word :> echo.lambda;
# [3] "Hello world!" "Hello R# user!" "Hello GCModeller user!"

Language Learning Resource

  1. For learning more about the R# programming language please read this help document: The <R# language design> document.
  2. Learn details information about the R# environment development, you could read this document: The <R# system>.
  3. Learn R# with tutorials code at here: The <R# Tutorials>.