multiMiR icon indicating copy to clipboard operation
multiMiR copied to clipboard

Can't load library(multiMiR)

Open wuds2006 opened this issue 1 year ago • 3 comments

library(multiMiR) Error: package or namespace load failed for ‘multiMiR’: .onLoad failed in loadNamespace() for 'multiMiR', details: call: function (type, msg, asError = TRUE) error: Recv failure: Connection was reset R:4.4.1 Rtools:4.4 China

wuds2006 avatar Oct 14 '24 07:10 wuds2006

example1 <- get_multimir(org = "mmu",

  • mirna = 'mmu-miR-709',
  • table = "validated",
  • summary = TRUE) Searching mirecords ... Error in map(): ℹ In index: 1. ℹ With name: mirecords. Caused by error: ! Recv failure: Connection was reset Run rlang::last_trace() to see where the error occurred.

wuds2006 avatar Oct 14 '24 08:10 wuds2006

@wuds2006 In the next version(v1.27.2) which will be available in BioConductor 3.20 I extended the connection timeout that I suspect causes the connection reset issues. Do you mind to try the new version? If not update to BioConductor 3.20 when it's released later this month.

Alternatively you could try to extend the timeout. I have not tested this, but running options(timeout = 180) Should extend the timeout for the multiMiR connection. You can increase the value further if needed.

smahaffey avatar Oct 14 '24 20:10 smahaffey

@wuds2006 In the next version(v1.27.2) which will be available in BioConductor 3.20 I extended the connection timeout that I suspect causes the connection reset issues. Do you mind to try the new version? If not update to BioConductor 3.20 when it's released later this month.

Alternatively you could try to extend the timeout. I have not tested this, but running options(timeout = 180) Should extend the timeout for the multiMiR connection. You can increase the value further if needed.

I used bioconductor version 3.20 and downloaded multiMiR version 1.28.0 at the same time. However, an error is still reported when loading the package,and then i can't use get_multimir function

lake-11 avatar Feb 06 '25 12:02 lake-11