Closed englianhu closed 3 years ago
there has a message :
The following objects are masked from package:base: !, print.function
try to check and know that message from prettycode::prettycode().
prettycode::prettycode()
set_terminal = function(rdoc = TRUE, colorout = TRUE, prettycode = TRUE, cmd_prompt = rprofile_prompt) { if (isTRUE(prettycode)) prettycode::prettycode() if (isTRUE(rdoc)) { base::library("utils") # Needed for rdoc`?` to take precedence rdoc::use_rdoc() }
Souce : https://github.com/csgillespie/rprofile/blob/master/R/set-terminal.R
prettycode package via https://github.com/r-lib/prettycode
prettycode
and then configure .Rprofile but doesn't help.
.Rprofile
... ... library(prettycode, exclude = c('!', 'print')) pkgs <- c('MASS', 'devtools', 'lubridate', 'tidyverse', 'rprofile', 'prompt', 'colorout', 'Rdym', 'startup', 'conflicted', 'prettycode') suppressAll(lib(pkgs)) rm(pkgs) conflicted::conflict_prefer('print', 'base', quiet=TRUE) ... ...
Reference:
there has a message :
try to check and know that message from
prettycode::prettycode()
.Souce : https://github.com/csgillespie/rprofile/blob/master/R/set-terminal.R
prettycode
package via https://github.com/r-lib/prettycodeand then configure
.Rprofile
but doesn't help.Reference: