SSL connect error in e.g. pathview from R version 4 in Windows 10
0
0
Entering edit mode
Matthias • 0
@0945eeb1
Last seen 17 months ago
Germany

Hi,

If I run the minimal example in R 3.6.3 it saves the files as shown in the screenshot and I think the console message is fine for this example.

success with R 3.6.3

saved images with R Version 3.6.3

Switching the R Version to e.g. 4.3.1 leads to an error for the ssl connection.

error message for R 4.3.1

I think this comes from a change in the package for the newer version. This could probably be related with the jsonlite package (if this is used), as they switched the url function and it seems as the issue could come from there. That is how far I could get and hope you can help me to run my code, as I need it on a newer R version.



library(pathview)

sig = c("253012" = 0.212,
        "8773" = -0.404,
        "4794" = 0.401,
        "1676" = 0.234,
        "11060" = 0.293,
        "5768" = 0.146,
        "6366" = 0.498,
        "2219" = -0.655,
        "3491" = 0.279,
        "6367" = 0.264,
        "9141" = 0.339,
        "571" = 0.355,
        "4659" = 0.478
        )


pathview(
  gene.data = sig,
  pathway.id = "00980",
  out.suffix = "mapped",
  # species = "hsa",
  # kegg.native = T,
  # kegg.dir = getwd()
)


sessionInfo( )

session Info

pathview SSL curl • 866 views
ADD COMMENT

Login before adding your answer.

Traffic: 527 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