conda R environment warnings - error
1
0
Entering edit mode
5 months ago
marco.barr ▴ 160

Hello everyone,

I manually copied some R packages from a local directory to the /R/library directory of my conda R_env environment where I installed r-base. However, upon starting R after activating the environment, I receive these warnings:

(/home/user_m/r_env) user_m@login01:~$ R

R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
Copyright (C) 2024 The R Foundation for Statistical Computing
Platform: x86_64-conda-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

During startup - Warning messages:
1: package 'utils' in options("defaultPackages") was not found
2: package 'grDevices' in options("defaultPackages") was not found
3: package 'graphics' in options("defaultPackages") was not found
4: package 'stats' in options("defaultPackages") was not found.

These packages were and are already present in the directory, and I don't understand what to do. Should I try installing them with conda install -c r r-utils r-grDevices r-graphics r-stats --force-reinstall? Or what do you recommend doing?

Thank you very much for the advice.

R conda • 347 views
ADD COMMENT
0
Entering edit mode

How does this pertain to bioinformatics? If this is purely an R problem, please check/ask StackOverflow or similar StackExchange sites.

ADD REPLY
4
Entering edit mode
5 months ago
ATpoint 86k

I manually copied some R packages

and I don't understand what to do

Don't randomly copy things. Either stick with conda and let it handle the compilation/installation, or stick entirely to the R machinery to get packages. Don't mix. It messes up dependencies as you see.

ADD COMMENT

Login before adding your answer.

Traffic: 1495 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6