This article is an article where the main focus exist as the title of the article. It focus on how to print string in R programming language. The following is the step to achieve the purpose :
- First of all, just access the server.
C:\Users\Personal>ssh -p 9922 admin@localhost admin@localhost's password: Activate the web console with: systemctl enable --now cockpit.socket Last login: Fri Mar 5 21:39:56 2021 from 10.0.2.2 Activate the web console with: systemctl enable --now cockpit.socket Last login: Fri Mar 5 21:39:56 2021 from 10.0.2.2 [admin@10 ~]$
- Next, just access the Command Line Interface (CLI) to execute the R command. The above output is showing a command line interface in a virtual server running using CentOS Linux.
- After that, just type the command to enter the R command line interface as follows :
[root@10 r]# R R version 4.0.4 (2021-02-15) -- "Lost Library Book" Copyright (C) 2021 The R Foundation for Statistical Computing Platform: x86_64-redhat-linux-gnu (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. >
- Finally, just execute the command for executing the numeric operation. The following is the addition operation or a sum between numbers as follows :
> 5 [1] 5 > 10 [1] 10 > 15 [1] 15 > 20 [1] 20 > 25 [1] 25 >