DIFFERENCE BETWEEN library() AND require() IN R
The library() and require() can be used to attach and load add-on packages which are already installed. The installed packages are identified with the help of the ‘DESCRPTION’ file which contains...
View ArticleTRACEBACK FUNCTION IN R
We often come across errors while coding. In R, when a function returns an error, there is an easy way to figure out which command have triggered the error. All we need is to use the traceback...
View ArticleLISTING ALL THE FILES WITH A SPECIFIED EXTENSION USING R
For listing all the files in your current working directory we can use following function, list.files() Note: By default, the current working directory will be your home directory. For managing the...
View ArticleHow to reset a forgotten Ubuntu password
Sometimes you might have experienced a situation where you forgot your Ubuntu login password. I have came across such a situation. This post is about resetting a forgotten login password in Ubuntu....
View ArticleR or Python for Data Science?
Addressing the question ‘R or Python for data science’ depends mainly on the problems which is to be solved, the tools required to solve the problem and your personal preference. Python is a general...
View ArticleWHAT IS MACHINE LEARNING?
Machine learning (ML) was defined as “the field of study that gives computers the ability to learn without being explicitly programmed” by Arthur Samuel. It was evolved from pattern recognition and...
View ArticleFirst Practical Collision Attack on SHA-1
Secure Hash Algorithm (SHA-1) was designed by National Security Agency (NSA) during 1995 as part of the Digital Signature Standard and mainly used to verify the authenticity of the digital content....
View ArticleMatch function in R
The match() function returns a vector of the position of first occurrence of the vector1 in vector2. If the element of the vector1 does not exist in vector2, NA is returned. Syntax: match(vector1,...
View ArticleWhich function in R
The which() function will return the position of the elements(i.e., row number/column number/array index) in a logical vector which are TRUE. Unlike the other base R functions, the which() will accept...
View ArticleInteresting commands in Ubuntu -Part I
1. ^foo^bar This Ubuntu command helps to modify the last run command. This avoids the retyping of the whole command again and is helpful when typo’s occurs in a long command. The syntax of the command...
View Article