I try to install rword2vec :
library(devtools)
install_github("mukul13/rword2vec")
But I get this error message :
Error in curl::curl_fetch_disk(url, x$path, handle = handle) :
Couldn't resolve host name
Can you help me please to resolve this problem ?
Thank you
I ran into this same issue with other packages/libraries from GitHub while on a work network. I resolved the issue by switching to another internet network (e.g., my home internet). I was able to download the packages and install the packages.
Related
Please I am trying to run mlflow code in R after having installed it. However, after loading the library with library(mlflow) and I run mlflow_log_params("foo",42) I get the error message below printed in my console:
Error in rethrow_call(c_processx_exec, command, c(command, args), pty, :
Command 'C:/Users/IFEANYI/AppData/Local/r-miniconda/envs/r-mlflow-1.19.0/mlflow' not found #win/processx.c:982 (processx_exec)
I also get the same error message when I run mlflow_ui(). Please was there something I ought to have done during installation failure of which is affecting its functionality? Do I need to install and load the processx library in order for mlflow to run on my Windows10 machine? I really hope I can get advice to help me because I want to use mlflow in my machine learning projects. Thanks in advance of your generous help.
The error should disappear when setting MLFLOW_BIN system variable (Windows) to mlflow cli executable : "....conda\envs\r-mlflow-1.24.0\Scripts\mlflow.exe".
If it works please mark the problem as resolved.
Unfortunately, you will get next error "Error in wait_for(function() mlflow_rest("experiments", "list", client = client)" for which I cannot find the solution
I've found a number of different methods that can be used to install packages on a machine that isn't connected to the internet. This post offers a fairly straightforward method to download the packages, transfer to the disconnected machine, and then to point the R installation at this custom repository.
After transferring the files, I ran the following command on the machine not connected to the internet:
update.packages(repos="C:/Users/username/Documents/R/R Repository/3.4",repos = NULL,type = "source")
After running the above line, I am getting the following error:
Error in update.packages(repos = "C:/Users/username/Documents/R/R Repository/3.4", :
formal argument "repos" matched by multiple actual arguments
Another thing I noticed is that the downloaded packages are all ".tar.gz" files, and this is a windows machine (as was the machine in the linked post above). Could this be part of the problem?
Any help would be much appreciated, thank you!
It looks like you have "repos =" twice in your call. Take out "repos = NULL" and try it again.
I would like to install and load this package from GitHub on my company laptop with a company network.
I have been facing issues with the two following possible solutions:
When I download the zip and install it through RStudio>Tools>Install Packages>Install from: Package Archive File (.zip; tar.gz), it seems that the package is well installed. However, I have difficulties loading the package through library(photon-master). It tells me that package must be of length 1.
When I try to install the package from GitHub, I also have some difficulties when I use the following code:
require(devtools)
require(httr)
set_config(use_proxy(url="userproxy.xxx.xxx.local", port=8080, username="IDxxxxxx",password="xxx"))
devtools::install_github(repo = 'rCarto/photon')
where the proxy server settings have been found in
Start>control panel>Network and Internet > click on Internet Options >
click on connections tab then right at the bottom click on LAN
settings > Check Proxy Server Settings
I get the following error message:
Error in curl::curl_fetch_disk(url, x$path, handle = handle) :
Failure when receiving data from the peer
Any solution would be greatly appreciated. I just want to use the package.
Thanks in advance for your time
I am using R version 3.0.3. while running
library(devtools)
install_github("kassambara/factoextra")
Iam getting below error:
Downloading github repo kassambara/factoextra#master
Error in function (type, msg, asError = TRUE) :
Failed to connect to api.github.com port 443: Timed out
Can anyone please tell me how to install this package?
My guess would be that you are behind a proxy that blocks https or something like that. Just retry from another location and see if that fixes the issue. Or talk to your local system administrator and fix the issue.
It could also be a temporary github problem, in which case retrying at a later moment will fix the issue.
I am trying to install the BTYplus package in R.
devtools::install_github("mplatzer/BTYDplus", dependencies=TRUE)
library(BTYDplus)
demo(package="BTYDplus")
But it gives me the following error:
Downloading github repo mplatzer/BTYDplus#master
Error in curl::curl_fetch_memory(url, handle = handle) :
Couldn't connect to server
Did anyone had a similar issue when installing packages on R?
You can download the library externally and then import it to R:
Download from: https://github.com/mplatzer/BTYDplus
import from: Tools > Install Packages/ Package Archive File(.zip; .tar.gz)
Setting the proxy did work for me. Here is how I have done that:
library(httr)
set_config(use_proxy(url='http://my.proxy', port, username, password))
(and fill in your own url, port, username and password. Username and password were not necessary for me)
For me it was not proxy problem, instead the following lines solved my problem:
library(httr)
set_config(config(ssl_verifypeer = 0L))
Found it here.