jessieren / VirFinder

VirFinder: a novel k-mer based tool for identifying viral sequences from assembled metagenomic data
Other
130 stars 24 forks source link

Installation error #9

Closed kali1819 closed 5 years ago

kali1819 commented 6 years ago

Hi,

I am trying to install VirFinder on Windows but I have an error when executing Library(VirFinder)

Error: package or namespace load failed for ‘VirFinder’: package ‘VirFinder’ was installed by an R version with different internals; it needs to be reinstalled for use with this R version

Can you help me with that?

jessieren commented 6 years ago

Hi Kali,

Thank you for your interest in VirFinder.

Based on the message so far I could not figure out the problem. Could you please install the package again and show me the message for the installation?

Besides, what R version you are using?

Thank you.

Jie


From: kali1819 notifications@github.com Sent: Monday, July 2, 2018 5:35:19 AM To: jessieren/VirFinder Cc: Subscribed Subject: [jessieren/VirFinder] Installation error (#9)

Hi,

I am trying to install VirFinder on Windows but I have an error when executing Library(VirFinder)

Error: package or namespace load failed for ‘VirFinder’: package ‘VirFinder’ was installed by an R version with different internals; it needs to be reinstalled for use with this R version

Can you help me with that?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_jessieren_VirFinder_issues_9&d=DwMFaQ&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=irWyXBTJAqCxHN7GNey4-g&m=4lJbWu1Vln0WW-ajLf1GVFiSVXIka9Af5oIlCU-j5To&s=PFe5lqM6oY1_6kysVkRwBmBpHHyggUqizJyNdDtBrCI&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AHgpvBDQE8ZxfowaCUEi5vrOK2lhrkeyks5uChOHgaJpZM4U-5FO-5F0&d=DwMFaQ&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=irWyXBTJAqCxHN7GNey4-g&m=4lJbWu1Vln0WW-ajLf1GVFiSVXIka9Af5oIlCU-j5To&s=xtPFwxXoqfcm5_y5xsrq5qa-NcYdrJ9NGlwFnFNO-Vo&e=.

jessieren commented 5 years ago

I am closing the issue for now, but please feel free to reopen it if you still have questions.

hahahehehuhuhei commented 5 years ago

Hi jessieren, I am trying to install VirFinder on Windows and I have the same problem as Kali---- error when executing Library(VirFinder) which shows:

Error: package or namespace load failed for ‘VirFinder’: package ‘VirFinder’ was installed by an R version with different internals; it needs to be reinstalled for use with this R version

btw I am using R version 3.5.2 Can you help me with that? Best wishes.

shafi-OZ commented 5 years ago

Hi Jessieren I use R 3.5.2 "Eggshell Igloo". I am trying to install virfinder but it gives me the following warning

install.packages("virfinder") Warning in install.packages : package ‘virfinder’ is not available (for R version 3.5.2)

Can you help with that, please? Cheers

pengouy commented 4 years ago

Hi Jessieren, I have successfully unpackaged "VirFinder" in R4.0.2 by RStudio1.3.959. But now I had some problems in loading package"VirFinder", it said like this in RStudio:

install.packages("C:/Users/504/Desktop/VirFinder_1.1.zip", repos = NULL, type="source") Installing package into ‘C:/Users/504/Documents/R/win-library/4.0’ (as ‘lib’ is unspecified) package ‘VirFinder’ successfully unpacked and MD5 sums checked library(VirFinder) error: package or namespace load failed for ‘VirFinder’: package ‘VirFinder’ was installed before R 4.0.0: please re-install it

I also re-installed it several times after I updated R and RStudio, it still didn't work in right way. Could you please help me with this? Thank you!

pengouy commented 4 years ago

Hi Jessieren,

I have successfully unpackaged "VirFinder" in R4.0.2 by RStudio1.3.959. But now I had some problems in loading package"VirFinder", it said like this in RStudio:

install.packages("C:/Users/504/Desktop/VirFinder_1.1.zip", repos = NULL, type="source") Installing package into ‘C:/Users/504/Documents/R/win-library/4.0’ (as ‘lib’ is unspecified) package ‘VirFinder’ successfully unpacked and MD5 sums checked library(VirFinder) error: package or namespace load failed for ‘VirFinder’: package ‘VirFinder’ was installed before R 4.0.0: please re-install it

I also re-installed it several times after I updated R and RStudio, it still didn't work in right way. Could you please help me with this? Thank you!

I've solved this problem by installing package for linux. BTW, I use windows.

jessieren commented 4 years ago

Hi Pengouy,

Glad to know that you finally installed the package. Sorry for the trouble, and thanks for reporting that. I do not have a good idea on why your windows operation systems installed the linux version successfully. I will take a look.

Thanks!