Correct, I am using R 4.5.2. Anyway I have found a work around. I export the R function that is causing the issue, and fix the bug and then load the changed function. It is painful but so far it works.
How to fix this error with rxInstallPackages
Stephen Hayes
0
Reputation points
I have installed the Machine Learning services on Microsoft SQL Server 2022 (RTM-GDR) (KB5068407) - 16.0.1160.1 (X64) Oct 3 2025 18:06:58 Copyright (C) 2022 Microsoft Corporation Developer Edition (64-bit) on Windows 10 Pro 10.0 <X64> (Build 26200: ) (Hypervisor)
and when I runs this command
rxInstallPackages(pkgs = pkgs, verbose = TRUE, scope = "shared", computeContext = sqlcc)
I get this error "Error in is.null(version) || is.na(version) : 'length = 5' in coercion to 'logical(1)'"
Is there any work around for it?
Thanks
Stephen
SQL Server Database Engine
Answer recommended by moderator