From 1315129e242d46c42adb5aea49fc290dafe8bc7a Mon Sep 17 00:00:00 2001 From: Ntalumeso Date: Thu, 31 Oct 2024 13:42:33 +0300 Subject: [PATCH] Updated the messag for the current R version --- instat/clsRLink.vb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/instat/clsRLink.vb b/instat/clsRLink.vb index dd664f4f927..2f4112aab99 100644 --- a/instat/clsRLink.vb +++ b/instat/clsRLink.vb @@ -132,13 +132,13 @@ Public Class RLink Private strRVersionMajorRequired As String = "4" ''' The R version minor required. - Private strRVersionMinorRequired As String = "1" + Private strRVersionMinorRequired As String = "4" ''' The R version required. - Private strRVersionRequired As String = strRVersionMajorRequired & "." & strRVersionMinorRequired & ".0" + Private strRVersionRequired As String = strRVersionMajorRequired & "." & strRVersionMinorRequired & ".1" ''' The R bundled version. - Private strRBundledVersion As String = "4.1.3" + Private strRBundledVersion As String = "4.4.1" Private clsOutputLogger As clsOutputLogger @@ -200,7 +200,7 @@ Public Class RLink Catch ex As Exception MsgBox(ex.Message & Environment.NewLine & "Could not establish connection to R." & Environment.NewLine & "R-Instat requires version " & strRVersionRequired & " of R." & Environment.NewLine & - "Note that R-Instat does not work with R below 3.5.0. We recommend using R " & strRBundledVersion & + "Note that R-Instat does not work with R below 4.4.1. We recommend using R " & strRBundledVersion & ". Try reruning the installation to install R " & strRBundledVersion & " or download R " & strRBundledVersion & " from https://cran.r-project.org/bin/windows/base/old/" & strRBundledVersion & "/ and restart R-Instat.", MsgBoxStyle.Critical, "Cannot initialise R connection.")