Error while installing a package

I am completely new to R programming, and when I tried to install a package called "UsingR", I received an error. I used the below code:
install.packages("UsingR")

And the output was:

unable to access index for repository https://cran.rstudio.com/bin/windows/contrib/4.3:
cannot open URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/PACKAGES'
argument "pkgs" is missing, with no default

System Information:

  • RStudio Edition: (Desktop )
  • RStudio Version: 4.3.1
  • OS Version: Windows11
  • R Version: 4.3.1(2023-06)

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