Hello,
I am new to using Git and would like to version my code within Rstudio. I have followed the below instructions (found here):
In RStudio…
• Open the project that you would like have associated with a GitHub Repository
• Select Tools from the menu bar, then click on Version control, and then Project Setup
• In the Project Options window, select Git/SVN, and then select Git as the version control system in the drop-down menu
• After selecting Git, a pop-up window will ask if you want to initialize a new git repository.
• Select Yes, and then select Yes to restart the R Session
• Upon restart, a new Git` tab will be available in the Environment pane
But unfortunately the Git tab does not appear in my Environment pane. There is also no Git button on the top left.
My Paths include (user path):
C:\Program Files\Git\bin
C:\Program Files\Git\cmd
and (system path):
C:\Program Files\Git\cmd
and I have put the following address:
C:/Program Files/Git/bin/git.exe
in Tools/Global Options/Git/SVN
My topic seems to be very close to: Rstudio and git issue: not git-tab and disappearing commits which appears unresolved...
Are there some things I haven't checked? Thanks in adavance for your help.
Frédéric
Here are my SessionInfos:
Rtsudio: 2023.06.0 Build 421
R version 4.3.0 (2023-04-21 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)
Matrix products: default
locale:
[1] LC_COLLATE=French_France.utf8 LC_CTYPE=French_France.utf8 LC_MONETARY=French_France.utf8
[4] LC_NUMERIC=C LC_TIME=French_France.utf8
time zone: Europe/Paris
tzcode source: internal
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] gtable_0.3.3 xfun_0.39 ggplot2_3.4.2 processx_3.8.1
[5] inline_0.3.19 GGally_2.1.2 lattice_0.21-8 callr_3.7.3
[9] numDeriv_2016.8-1.1 tfruns_1.5.1 vctrs_0.6.2 tools_4.3.0
[13] ps_1.7.5 generics_0.1.3 stats4_4.3.0 parallel_4.3.0
[17] tibble_3.2.1 fansi_1.0.4 pkgconfig_2.0.3 Matrix_1.5-4
[21] RColorBrewer_1.1-3 ggmcmc_1.5.1.1 RcppParallel_5.1.7 lifecycle_1.0.3
[25] compiler_4.3.0 progress_1.2.2 munsell_0.5.0 runjags_2.2.1-7
[29] codetools_0.2-19 htmltools_0.5.5 yaml_2.3.7 pracma_2.4.2
[33] whisker_0.4.1 pillar_1.9.0 crayon_1.5.2 tidyr_1.3.0
[37] greta_0.4.3.9000 StanHeaders_2.21.0-7 parallelly_1.35.0 rstan_2.21.8
[41] tidyselect_1.2.0 digest_0.6.31 future_1.32.0 dplyr_1.1.2
[45] purrr_1.0.1 listenv_0.9.0 fastmap_1.1.1 grid_4.3.0
[49] colorspace_2.1-0 cli_3.6.1 magrittr_2.0.3 base64enc_0.1-3
[53] loo_2.6.0 pkgbuild_1.4.0 utf8_1.2.3 nimble_1.0.0
[57] withr_2.5.0 rappdirs_0.3.3 prettyunits_1.1.1 scales_1.2.1
[61] rmarkdown_2.21 matrixStats_0.63.0 globals_0.16.2 igraph_1.4.2
[65] reticulate_1.28 gridExtra_2.3 png_0.1-8 rjags_4-14
[69] hms_1.1.3 coda_0.19-4 evaluate_0.20 knitr_1.42
[73] rlang_1.1.1 Rcpp_1.0.10 glue_1.6.2 jsonlite_1.8.4
[77] rstudioapi_0.14 reshape_0.8.9 R6_2.5.1 plyr_1.8.8
[81] tensorflow_2.11.0