Entering edit mode
5.6 years ago
apl00028
▴
90
I can not load a fasta file because when I try to load this file I see this message:
cmv3_genome =readDNAStringSet("cmv3.fasta")
Error in readDNAStringSet("cmv3.fasta") : could not find function "readDNAStringSet"
So, I installed its package:
source("http://bioconductor.org/biocLite.R")
biocLite("Biostrings")
and I update all files;
after to do that I activate this package:
library(Biostrings)
and I see this message:
Loading required package: XVector
Error: package ‘IRanges’ 2.14.12 is loaded, but >= 2.15.12 is required by ‘XVector’
In addition: Warning message:
package ‘Biostrings’ was built under R version 3.5.2
So, I install IRanges package; library(BiocManager) BiocManager::install("IRanges")
And I tried to activate the package again and I got the same message:
> library(Biostrings)
Loading required package: XVector
Error: package ‘IRanges’ 2.14.12 is loaded, but >= 2.15.12 is required by ‘XVector’
In addition: Warning message:
package ‘Biostrings’ was built under R version 3.5.2
I need a solution, thanks a lot!