Git Bash in RStudio uncolored

I use Git Bash in the 'Terminal' part in colored before. When I reinstall Git, R, and RStudio, the shell likes this.

Maybe some settings is changed, but I do not know how to fix it.

Here is the session information.

"SI"
#> [1] "SI"

Created on 2020-09-04 by the reprex package (v0.3.0)

Session info
devtools::session_info()
#> - Session info ---------------------------------------------------------------
#>  setting  value                         
#>  version  R version 3.6.0 (2019-04-26)  
#>  os       Windows 10 x64                
#>  system   x86_64, mingw32               
#>  ui       RTerm                         
#>  language (EN)                          
#>  collate  Chinese (Simplified)_China.936
#>  ctype    Chinese (Simplified)_China.936
#>  tz       Asia/Taipei                   
#>  date     2020-09-04                    
#> 
#> - Packages -------------------------------------------------------------------
#>  package     * version date       lib source        
#>  assertthat    0.2.1   2019-03-21 [1] CRAN (R 3.6.3)
#>  backports     1.1.7   2020-05-13 [1] CRAN (R 3.6.3)
#>  callr         3.4.3   2020-03-28 [1] CRAN (R 3.6.3)
#>  cli           2.0.2   2020-02-28 [1] CRAN (R 3.6.3)
#>  crayon        1.3.4   2017-09-16 [1] CRAN (R 3.6.3)
#>  desc          1.2.0   2018-05-01 [1] CRAN (R 3.6.3)
#>  devtools      2.3.1   2020-07-21 [1] CRAN (R 3.6.3)
#>  digest        0.6.25  2020-02-23 [1] CRAN (R 3.6.3)
#>  ellipsis      0.3.1   2020-05-15 [1] CRAN (R 3.6.3)
#>  evaluate      0.14    2019-05-28 [1] CRAN (R 3.6.3)
#>  fansi         0.4.1   2020-01-08 [1] CRAN (R 3.6.3)
#>  fs            1.5.0   2020-07-31 [1] CRAN (R 3.6.3)
#>  glue          1.4.2   2020-08-27 [1] CRAN (R 3.6.3)
#>  highr         0.8     2019-03-20 [1] CRAN (R 3.6.3)
#>  htmltools     0.5.0   2020-06-16 [1] CRAN (R 3.6.3)
#>  knitr         1.29    2020-06-23 [1] CRAN (R 3.6.3)
#>  magrittr      1.5     2014-11-22 [1] CRAN (R 3.6.3)
#>  memoise       1.1.0   2017-04-21 [1] CRAN (R 3.6.3)
#>  pkgbuild      1.1.0   2020-07-13 [1] CRAN (R 3.6.3)
#>  pkgload       1.1.0   2020-05-29 [1] CRAN (R 3.6.3)
#>  prettyunits   1.1.1   2020-01-24 [1] CRAN (R 3.6.3)
#>  processx      3.4.3   2020-07-05 [1] CRAN (R 3.6.3)
#>  ps            1.3.4   2020-08-11 [1] CRAN (R 3.6.3)
#>  R6            2.4.1   2019-11-12 [1] CRAN (R 3.6.3)
#>  remotes       2.2.0   2020-07-21 [1] CRAN (R 3.6.3)
#>  rlang         0.4.7   2020-07-09 [1] CRAN (R 3.6.3)
#>  rmarkdown     2.3     2020-06-18 [1] CRAN (R 3.6.3)
#>  rprojroot     1.3-2   2018-01-03 [1] CRAN (R 3.6.3)
#>  sessioninfo   1.1.1   2018-11-05 [1] CRAN (R 3.6.3)
#>  stringi       1.4.6   2020-02-17 [1] CRAN (R 3.6.2)
#>  stringr       1.4.0   2019-02-10 [1] CRAN (R 3.6.3)
#>  testthat      2.3.2   2020-03-02 [1] CRAN (R 3.6.3)
#>  usethis       1.6.1   2020-04-29 [1] CRAN (R 3.6.3)
#>  withr         2.2.0   2020-04-20 [1] CRAN (R 3.6.3)
#>  xfun          0.16    2020-07-24 [1] CRAN (R 3.6.3)
#>  yaml          2.2.1   2020-02-01 [1] CRAN (R 3.6.3)
#> 
#> [1] D:/install/R-3.6.0/library

By the way, I install R, Git and RStudio in 'D:/'. I read the jennybc 's gitbook before, should I reinstall the three in 'C:/'?

That's the Windows Command Prompt not a Git Bash Shell.
Tools > Global Options > Terminal

This topic was automatically closed 7 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.