Articles by tomaztsql

Quine with R

July 22, 2020 | tomaztsql

Quine is a self-reproducing function or a computer program that will output its source source or itself. Terms used are for these programs are also self-replicating programs, self-reproducing programs or self-copying programs (courtesy of wikipedia). Many programming languages have been…Read more ›
[Read more...]

The palindrome of 02.02.2020

February 2, 2020 | tomaztsql

As of writing this blog-post, today is February 2nd, 2020. Or as I would say it, 2nd of February, 2020. There is nothing magical about it, it is just a sequence of numbers. On a boring Sunday evening, what could…Read more ›
[Read more...]

Sudoku game with R

January 13, 2020 | tomaztsql

Sudoku is a classical logical game based on combinatorial number replacement puzzle. Objective is to to fill 9×9 matrix with digits so that each column, each row, and each box (3×3 sub-grid) of nine contain all of the digits from…Read more ›
[Read more...]

Working with Windows CMD system commands in R

January 6, 2020 | tomaztsql

From time to time, when developing in R, working and wrangling data , preparing for machine learning projects, it comes the time, one would still need to access the operating system commands from/in R. In this blog post, let’s take…Read more ›
[Read more...]

Advent of Code 2019 challenge with R

December 8, 2019 | tomaztsql

I have decided to tackle this year’s Advent Of Code using R (more or less). I know there are more preferred languages, such as Python, C#, Java, JavaScript, Go, Kotlin, C++, Elixir, but it was worth trying. Into the 8th…Read more ›
[Read more...]

Hangman game with R

November 19, 2019 | tomaztsql

Hangman is a classic word game in which you need to need to guess as many possible letters in word, so you can guess the word, before running out of tries (lives). Upon running out of tries, you are hanged!…Read more ›
[Read more...]

Number 6174 or Kaprekar constant in R

February 20, 2019 | tomaztsql

Not always is the answer 42 as explained in Hitchhiker’s guide. Sometimes it is also 6174. Kaprekar number is one of those gems, that makes Mathematics fun. Indian recreational mathematician D.R.Kaprekar, found number 6174 – also known as Kaprekar constant…Read more ›
[Read more...]

Installing R using Powershell

February 18, 2019 | tomaztsql

Installing R from scratch and creating your favorite IDE setup is especially useful when making fresh installation or when you are developing and testing out different versions. This blogpost will guide you through some essential steps (hopefully, there will not…Read more ›
[Read more...]

R null values: NULL, NA, NaN, Inf

July 4, 2018 | tomaztsql

R language supports several null-able values and it is relatively important to understand how these values behave, when making data pre-processing and data munging. In general, R supports: NULL NA NaN Inf / -Inf NULL is an object and is returned when an expression or function results in an undefined value. ...
[Read more...]
1 6 7 8 9 10

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)