Home Data Science What is R?

What is R?

Wiki 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 20,000 of these function packages can be obtained via the "Comprehensive R Archive Network" (CRAN) . For every statistical problem, no matter how rare, there is often a suitable ready-made solution, which, thanks to the open-source license, can also be adapted at any time.

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
Christiane Maria Kallfass is a Recruiting and Marketing Specialist at s-peers AG
Christiane Grimm
Inside Sales

Published by:

Robin Stübi

SAP Consultant
author

How did you like the article?

How helpful was this post?

Click on a star to rate!

Average rating 4.3 / 5.
Number of ratings: 8

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

INFORMATION

More information

What is SAP S/4HANA?

SAP S/4HANA is more than just a technical upgrade—it’s a fundamental system transformation. In this article, you’ll learn...

AI Meets BI: Modern Reporting in the Databricks Lakehouse

In the traditional IT world, there are often two distinct realms: Business Intelligence (BI), which deals with the analysis of historical...
Symbolic image for data formats in Databricks. An icon represents the layered structure of Parquet files with an overlying Delta Lake layer.

Data formats in Databricks: A guide to Parquet, Delta Lake, and alternatives

Choosing the right data format is a critical but often underestimated factor for performance and efficiency in Databricks....
wiki_overview integration_methods_SAP according to Databricks-

SAP data to Databricks: A comparison of the 5 integration methods

How does this work in data sharing with SAP and Databricks? The strategic partnership between SAP and Databricks enables...
SAP Databricks Wiki

Zero Copy Delta Share at Databricks: Sharing data without copying it – the zero-copy principle explained simply

How does this work in data sharing with SAP and Databricks? The strategic partnership between SAP and Databricks enables...
9.1 Differences between SAP Databricks and native Databricks

SAP Databricks vs. Native Databricks: The detailed comparison for your company

SAP Databricks or Native Databricks? A strategic decision that many companies are facing. While SAP Databricks is a specialized solution...
20251127_Feature Update

SAC Live Connect to Snowflake – explained step by step

How does SAC Live Connect work with Snowflake? In this guide, we will show you step by step how to set up a...