error in for-loops: could not find function "check_reserved"

Hi all,

When using R studio I get an error trying to use for-loops

` for(i in 1:4){print(i)}
Error in check_reserved(for_var_name) : 
  could not find function "check_reserved"`

Anyone any clue how to solve this? I've updated R, RStudio and restarted the session as well

session info:
R version 4.1.1 (2021-08-10)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Big Sur 10.16

Matrix products: default

Blockquote

LAPACK: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRlapack.dylib

attached base packages:
[1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached):
[1] compiler_4.1.1 tools_4.1.1

Thanks!

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.