问题
I have windows 10, so I already have curl, which is located in this path on my laptop C:\Windows\System32.
I have used the advice on this post How do I install and use curl on Windows?, and added this location to Path under Systems Variables.
When I type the below into R, I can see, amongst others, this path location.
Sys.getenv("PATH")
I would like to use the MetaboAnalyst pathway package in R (https://www.rdocumentation.org/packages/MetaboAnalystR/versions/2.0.0). However, I am met with the below message when I try and run some lines of code.
"Loading files from server unsuccessful. Ensure curl is downloaded on your computer."
I am unsure what to do as I really need to use this programme in order to proceeed with my analysis. Please can anybody using a Windows operating system, suggest how I might be able to overcome this.
I know I have curl installed on my computer because I can use it via the command prompt.
Not sure how to overcome this error .
来源:https://stackoverflow.com/questions/62122313/what-else-can-i-do-to-make-sure-that-curl-is-working-when-i-am-using-r-metaboa