Home Data Science What is R?

What is R?

R is an open-source language that was developed specifically for data analysis and visualization . This wiki article deals with object-based vs. object-oriented, the R packages and the R package shiny in particular.

Table of contents

The programming language R

R is a programming language developed for statistical applications that is particularly popular in the field of data science. Its core functions lie in the evaluation and visualization of data.

Object-based vs. object-orientation

"Everything that exists is an object. Everything that happens is a function call."(John Chambers)

In R, everything revolves around objects. Not only variables, but also functions, operators and entire expressions that make up an R script are objects. Nevertheless, R is not a completely object-oriented language in the classic sense, such as Java. R supports different "sharp" approaches to object orientation, which would go beyond the scope of this wiki article.

The power of packages

The strength of R lies in the availability of additional functions in the form of so-called packages, which are offered by independent developers all over the world. Over 12,000 of these function packages can be downloaded via the "Comprehensive R Archive Network (CRAN) can be obtained. For every statistical problem, no matter how rare, there is often a suitable ready-to-use solution, which can also be adapted at any time thanks to the open source license.

Execution modes of the programming language

R is an interpreted language by default. This means that the code does not have to be compiled to make it executable, as is the case with C, for example. However, this also makes R code slower to execute than corresponding C code. For the sake of completeness, however, it should also be mentioned that a bytecode compiler also exists in R.

A relatively new way of executing R code is in the form of server-side apps. The shiny package is used for this. It allows web-based applications to be created from input and output elements controlled entirely via R code. In this way, R programs that can be parameterized via standard input elements such as sliders and text boxes can be made accessible to users via the web without them having to install R themselves or understand R code.

 

Do you want to get straight into practice? Here you will find a beginner's guide to time series analysis in R.

Know more?

Would you like to delve deeper into this topic? Then we would be happy to talk to you personally about the areas of application of R - gladly also in connection with analytics products from SAP. Simply get in touch with us!

Your analytics contact
Nadine Matt_2
Nadine Matt
Customer Engagement & Communication Executive

Published by:

Dr. Stefan Lieder

Former Head of Data Science Workshop

author

How did you like the article?

How helpful was this post?

Click on a star to rate!

Average rating 0 / 5.
Number of ratings: 0

No votes so far! Be the first person to rate this post!

INFORMATION

More information

Cover image Wiki What is Artificial Intelligence (AI) (1)

What is Artificial Intelligence (AI)?

Artificial Intelligence stands for artificial intelligence (AI). And since there is no universally accepted philosophical definition of intelligence, different views of what artificial intelligence is can also be found...

Cover image Wiki What is Machine Learning (ML)?

What is Machine Learning (ML)?

Machine Learning is the answer to one of the questions to a weak Artificial Intelligence. It is a fundamental concept to study algorithms that automatically improve themselves based on experience (using data)...

Wiki How to R - Beginners Guide (1)

How to R - Beginner Guide Time Series Analysis

In this small tutorial, we will limit ourselves to briefly outlining the essential steps in time series analysis in the programming language R...

EU Taxonomy Wiki

EU taxonomy - implementation in an SAP Analytics system

From KPI definition to reporting: Evaluate your company's sales, CapEx and OpEx activities in accordance with the EU taxonomy criteria. We accompany you step by step in the successful implementation of the EU taxonomy guidelines...

Wiki SCT

Sustainability Control Tower (SCT)

At a time when sustainable business practices are indispensable, the focus is increasingly on monitoring and recording one's own sustainability performance using precise data. The SAP Sustainability Control Tower is a comprehensive sustainability solution that enables holistic reporting...

Wiki Five sustainability KPIs

The five most important sustainability KPIs

Why do you need sustainability KPIs? What are the 5 most important sustainability KPIs? And why are sustainability KPIs important for your company? These questions are answered in the following article...

Wiki Datasphere vs BW4HANA

Comparison: SAP Datasphere vs. SAP BW/4HANA

With solutions such as SAP BW/4HANA and SAP Datasphere, SAP offers different data warehousing options. While BW/4HANA specializes in structured enterprise data and analytics, Datasphere focuses on comprehensive data integration across platforms...

GDPR Cookie Consent with Real Cookie Banner