I think we need more information here.
Try running R outside RStudio and then issue
install.packages("insert a package name here")
then run sessionInfo()
and then post all the output here.
It would also help to know which CRAN mirror you use.
Michael
On 03/09/2026 17:45, Halilu Rahaman Alhassan wrote:
Thank you for the response.
I tried using pacman to load the packages I need, but it was not working
for me. So I decided to download those packages on CRAN . Even though it
was installed successfully, yet, when I try loading each package I get the
response mentioned earlier
On Thu, 3 Sept 2026, 11:57 Duncan Murdoch, <[email protected]> wrote:
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
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide https://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Michael Dewey
______________________________________________
[email protected] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide https://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.