Whenever I type a parenthesis immediately following a word (as if I'm
entering a function) R displays the following error

Error in try(gsub("\\s+", " ", paste(capture.output(print(args(try))),  :
  unused argument(s) (silent = TRUE)
> try(

The above is pasted from my R console. The error appears above the command
because it appears immediately upon typing the parenthesis.  It does not
wait until I try to execute the command.  This happens for every function.
I can finish typing the function and execute it.  But these error messages
make it difficult to debug my code.  In particular, if I have options(error
= recover) set, the above crashes R.

I can avoid the error by typing the parentheses first and then moving the
cursor back to type in the word. This error displays on the console whether
I'm typing in the console or in an open document window.

I'm using the mac GUI for R.  The error only occurs on my Macbook (OS X
10.5.7), which I bought a few months ago.  It has occurred  every time I use
R on this computer.  It has happened with R 2.8 and now R 2.91.

Any idea what may be going on?

        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to