[R] Problem in loading packages
Duncan Murdoch
murdoch@dunc@n @end|ng |rom gm@||@com
Thu Sep 3 13:57:01 CEST 2026
On 2026-09-02 7:42 a.m., Halilu Rahaman Alhassan wrote:
> Dear sir/madam,
>
> I guess my message finds you well. Please I am having the supposed current
> R version 4.6.1 for windows. But after downloading the packages, I find it
> difficult loading them on R studio, even though they can be seen under
> packages. When ever I tried loading them, it tells me that those packages
> were created under R version 4.7.0. Please I need your help to be able to
> deal with such problem.
>
> Kind regards,
> Halilu Rahaman Alhassan
>
> [[alternative HTML version deleted]]
It sounds as though you downloaded the wrong files, but you don't give
details about how you did the downloads or installed them into R, so I
can't guess how that happened.
The standard safe way to install packages is to run R and then in R run
"install.packages("packagename")". It might ask you to specify a
mirror; generally the first one in the list is safe. On my system, that
is displayed as "0-Cloud".
If you are running RStudio, then you will get somewhat different
behaviour because it inserts its own install.packages() function, but it
should still work. If not, try it in a plain R session.
Duncan Murdoch
More information about the R-help
mailing list