When I type in the name of the function the help box in RStudio I get the answer opened in the web browser instead of RStudio-help window. The same happens when typing in
?function
?which
> ?which
Error in (function () : attempt to apply non-function
Error in (function () : attempt to apply non-function
Error in (function () : attempt to apply non-function
RStudio needs to be upgraded to 0.98.1103 or newer version. The answer was taken from here