Posts

Showing posts from April, 2018

R language

Image
Basic R commands Hi folks, Today we going to learn about R Language and its basic commands. R is a programming language and free software environment for statistical computing and graphics that is supported by the R Foundation for Statistical Computing. The R language is widely used among statisticians and data miners for developing statistical software and data analysis. Write these small script into rscript (New File -> Rscript).After write every script hit ctrl+Enter then your script will be run. 1+1 output will show in console window like this > 1+1 [1] 2 R commands Command Output 1-1 > 1-1 [1] 0 6/2 > 6/2 [1] 3 pi^2 > pi^2 [1] 9.869604 exp(1) > exp(1) [1] 2.718282 var1 <- pi > var1 <- pi var1^2 > var1^2 [1] 9.869604 var2 = 42 > var2 = 42 exp(3) -> var3 > exp(3) -> var3 > var3   [1] 20.08

REST API

Image
Simple Introduction of REST API In the IT field REST API or API is the most important magical word.So, by this blog I'm going to touch that magical topic. REST API (Representational State Transfer) is one of the easiest way of accessing web services. It is a concept or architecture for managing information over the Internet. REST API architecture API(Application Programming Interface). It is a set or rules which allows one piece of software application to talk to another. Following "rules" can include into he REST API C reate R ead U pdate and  D elete operations.  Those are simply call it as CRUD operation. This REST API is called by HTTP server through 'url'. REST API is used by  making HTTP GET or HTTP POST or HTTP DELETE or HTTP PUT request from the client side to the server to get or to put some information to the server. It can give output in any format like CSV, JSON, RSS etc. So it is depend on requirement to which for

Ubuntu codes and behave of its reasons

Image
I would Like to share some basic commands for Ubuntu.I will update more commands on my future blogs. Ubuntu commands Command          Reason ping This is a utility used to verify whether network data packet is capable of being distributed to an address without errors. tar xvzf package.tar.gz                    To extract the files sudo su Go to root privilage pwd See the path. touch to create new file. mkdir to create new directory. vi to open the file through VIM editor cd to change the path php x.php to run the php file on terminal systemctl status network Check the network.service status User Management Every process (running program) on the system running for particular user.Every file is owned by a particular user. arebhy@arebhy-Aspire-5742:~$ ps aux USER PID %CPU %MEM VSZ RSS TTY

VIM editor

Image
Here briefly I would like to tell about VIM editor. VIM VIM is choice of most of the developer and power user.  It saved the file without touching keyboard it automatically saved the file. VIM has 3 mode :        1.insert mode.        2.command mode.        3.Exit mode. 1.insert mode. From command mode, press i key o go insert mode at the cursor's correct position.Then we can begin the editting. Press Esc key to return command mode. 2.command mode After opening vim editor, we begin in command mode.This is the basic mode. In this mode, we can move around the file(using PageUp , PageDown or arrow keys) 3.last-line mode.  From command mode  press : character to go to exit mode. :q!                  this character use quite without save the editing. :wq!               this character use quite with save the editing. :q                   this character use quite. :w                  this character use write changes to file. :wq                this c