In today’s blog we take a look at string in R. Strings in R are represented by character objects. Let’s keep Clounce in a variable: > name <- "Clounce" Now let’s print it on screen: > print(name) [1] "Clounce" Numbers can be converted to characters using the as.character function. Let’s look at an example: > … Continue reading R Characters
Author: Joseph D'Emanuele
Introduction to R
Hello again! Last time we installed R-Studio. Now we will look at some useful commands and syntax. You can use R directly from the terminal or from R-Studio. To use R from the terminal type “sudo R” at the terminal prompt. R loads in interactive mode. You will be presented by the prompt >. Each … Continue reading Introduction to R
Installing R on Ubuntu
Hello! R is getting traction with computer scientists and statisticians, and Clounce decided to ride on this adventure. By no means, the R blog roll is intended to be an exhaustive survey of how R works and all its function. But the purpose of this blog roll about R is intended to get you started … Continue reading Installing R on Ubuntu
C# Automatically Implemented Properties
Some time ago, we analysed how C# Properties are emitted by IL. In this article we will extend our view by investigating how C# 3 (and later) Automatically Implemented Properties (or Automatic Properties) works. But first, let’s see how these properties are used. In order to use Automatic Properties, one needs only to declare the … Continue reading C# Automatically Implemented Properties
C# Parameterless Properties – (Part II)
C# Parameterless Properties – An Example Few weeks ago we investigated how C# Properties are emitted by IL. We saw how the value implicit parameter is introduced and used. In this article we take a look how one can leverage Properties’ potential to build more robust code. The code is self-explanatory and comments are added … Continue reading C# Parameterless Properties – (Part II)