Facing issue with R package Phyloseq

Viewed 30

Since i have removed phyloseq package from my RStudio. Every time when i am running any code the below lines are coming again and again and halting my codes. This below lines coming again and again in console whenever i am opening the RStudio. Don't know how to deal with this problem. Please help me to solve this problem. I am also attaching a picture which will show my problem properly.

Loading required package: phyloseq
Error in .requirePackage(package) : 
  unable to find required package ‘phyloseq’
In addition: Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called ‘phyloseq’

Thanks & Regards Rishikesh

I haven't tried anything yet to solve this problem. But one person telling me this problem arises due to dependency packages of phyloseq. Please help me to solve this problem.enter image description here

1 Answers

It is not a package dependency issue, looks like you have somehow added this package as a start-up required to your .Rprofile file. locate your .Rprofile file (you might have several, the default should be located at your home directory ~/.Rprofile on MacOS/Linux), open it with a text editor and remove the line with phyloseq (could be like library(phyloseq).

If you couldn't find the file or edit it for any reason, the easiest solution could be just reinstalling the package, that would probably do the job for you as well.

Related