Reputation: 4298
Now this is a first, but when I call base R, it always gives the following error message at startup:
Error: evaluation nested too deeply: infinite recursion / options(expressions=)?
I looked up the error messages and they were all related to functions that actually do call loops or similarly---no idea why at startup this error would pop up. And there's no big changes to the environment. Some unrelated programs (webcam programs, for instance) installed.
Any pointers? This is baffling. I'm on Windows 10.
Upvotes: 0
Views: 975
Reputation: 4298
Thanks to @chinsoon12 I figured it out---I was going through learning blogdown
, and I accidentally put the
if (file.exists('~/.Rprofile')) {
base::sys.source('~/.Rprofile', envir = environment())
}
into my /.Rprofile
, instead of in .Rprofile
of the website project. No wonder the recursion.
Upvotes: 3