R studio version 1.4.1717 is crashing on me when I try to run a KNN function with 506 records

I am trying to run a KNN in R with 506 records but R Studio keeps crashing on me. When I look at the log I see this error.

Client-ID: 33e600bb-c1b1-46bf-b562-ab5cba070b0e
User-Agent: Mozilla/5.0 (Windows NT 10.0 Win64 x64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.12.8 Chrome/69.0.3497.128 Safari/537.36
06 Sep 2021 22:50:38 [rsession-thorb] ERROR CLIENT EXCEPTION (rsession-thorb): (TypeError) : Cannot read property 'M' of null;

Blockquote
I am running r stuido version 1.41717 and R version 4.1.1

Can you try the preview version? RStudio-2021.09.0-preview+340

I installed it - same thing happened.

I figured out my issue - not an R issue it was user error. Once I have the proper values coming into the formula it works fine. Thanks you for your help.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.