problems installing new libraries and dependencies

hi

I am new to using r, the problem I have is the following to install new packages under the linux version.

Although he tells me to restart the r session to install these packages, in the end it doesn't do it.

I attach what the console tells me to do.

Thank you for your kind help

install.packages("utils")
Error in install.packages : Updating loaded packages

Restarting R session...

install.packages("utils")
Error in install.packages : Updating loaded packages
install.packages("utils")
Installing package into ‘/home/faiberts/R/x86_64-pc-linux-gnu-library/4.1’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘utils’ is a base package, and should not be updated
library(rpanel)
Loading required package: tcltk
Package `rpanel', version 1.1-5: type help(rpanel) for summary information

Restarting R session...

I am no expert but it looks to me like you cannot update a base package. You can update to a new version of R but not to a subset of the base package. It likely would break R.

Why are you trying to update utils

1 Like

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.