When i try to install packages in R studio, i am getting the below mentioned error. Can you guys help me in sorting out this issue?
install.packages("fPortfolio")
Warning in install.packages : InternetOpenUrl failed: 'A connection with the server could not be established'
Warning in install.packages : InternetOpenUrl failed: 'A connection with the server could not be established'
Warning in install.packages : unable to access index for repository https://cran.rstudio.com/src/contrib: cannot open URL 'https://cran.rstudio.com/src/contrib/PACKAGES'