Starting with R – language and data

The also features a gentle introduction to R – if you do not know programming  .

As in other programming languages, you can store values into a variable to access it later. Type x <- 42 to store a value in x.

x <- 42

I have typed :

> x<-7

And site answers by:

`x` should be set to the number `42`. Try again!  # this is the site answer ….

> x<-42 # made by me

( and site goes to next exercise – although you can trick to strings …)

The next  best tutorial ( comprised on six parts) I have found here:

( did you know about data() command ?)

Anyway, those are the six parts

After that , if you have a Pluralsight subscription, this course is worth looking :  -  it gives you a short introduction to MachineLearning with R

Starting with R (as in SqlServer R server and VS package)

First, start with installing Sql Server 2016 Developer ( free from )

Ensure that R is selected when installing.

Start SSMS ( Sql Server Management Studio) and ensure that R is configured and running (  or more detailed )

Then install R Client from ( see ) . It features also an package for Visual Studio

Once you install R Client, start RGUI ( press Windows key and type RGUI ) .

In the window of RCLient, type getwd() ( R is case sensitive – does not work GetWD() )

( The same thing you can do in Visual Studio, from R Tools =>Windows=>R interactive)

Then you can follow the tutorial from -  it is ok and easy to  reproduce.

ASP.NET Core and Windows Authentication

Just a reminder of how to configure ASP.NET Core and Windows Authentication

1. Configure IIS

2. Go to properties folder, file launchSettings.json and modify

"iisSettings": {     "windowsAuthentication": true,     "anonymousAuthentication": false,    //other data

3. When you compile and run , the Web.Config will be modified for forwardWindowsAuthToken :

<aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" forwardWindowsAuthToken="true" stdoutLogEnabled="false" />

spot errors in VB

Please spot the errors in the following code in VB.NET:

Dim Diff As String = con.ExecuteCommand(“SELECT DATEDIFF(Day, (select [date] from table where Username = ‘” + txtUserName.Text + “‘), ‘” & DateTime.Now.ToString() & “‘)”)
If (Diff > 30) Then
End If


( find at least 3…)

Side note:

No wonder Visual Basic has died ( more or less). Guess future of server javascript ….