RStudio update: the pythonPath error prevails

I recently upgarded to RStudio 2022.12.0 Build 353. Now each time I restart R I get the:

Error in if (file.exists(pythonPath)) return(pythonPath) :
argument is of length zero

This appears to be becoming a common experience and isn't yet receiving much attention from the Posit Community. Hoping this will.

topic one - no reply

topic two - no reply

Version specs:

R version 4.2.2 (2022-10-31 ucrt) -- "Innocent and Trusting"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

I believe I was able to settle the issue myself by reviewing the following:
reticulate configuration

In my case, I specified the RETICULATE_PYTHON path in my system environment which did the trick.

For anybody else perplexed by the error message.

I have kind of a similar issue. I also installed RStudio 2022.12.0 Build 353 and every time I restart R I get this message at the console:

Error in file.exists(pythonPath) : 
  file name conversion problem -- name too long?

I don't get what this error means and how I can solve it.

1 Like

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.