install visdat with R version 4.0.2

Hello our hero
Iam trying to install visdat package however the following comment keep happening

Warning in install.packages :

package ‘visdat ’ is not available (for R version 4.0.2)

Possibly just a typo:

install.packages("visdat")

works

still didn't work same comment

visdat is indeed available for R 4.0.2 on CRAN so very likely this is a connectivity issue, R is not being able to connect to the CRAN repository you have selected, these are some things to try.

  • Choose a different CRAN repository, RStudios repository is a good choice (http://cran.rstudio.com/) or you could choose one that is geographically closer to you.
  • Disable secure download setting.
  • Check if your internet connection has traffic restrictions of some kind, like a firewall, proxy server, etc. This is usually the case when you are at work or school.
2 Likes

Thank you but where can I find CRAN repository ??
I did disable secure download method however still didnt work

On the same dialog box where you disabled "secure download", press the "Change" button and select a different CRAN repository.

If this doesn't work then you might be experiencing internet traffic restrictions of some kind.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.