ymattu / MlBayesOpt

R package to tune parameters for machine learning(Support Vector Machine, Random Forest, and Xgboost), using bayesian optimization with gaussian process
Other
45 stars 15 forks source link

Error installing package #32

Closed sdonik closed 7 years ago

sdonik commented 7 years ago

Hello, I'm trying to install your package and I get an error. This is the output:

devtools::install_github("ymattu/MlBayesOpt")
Downloading GitHub repo ymattu/MlBayesOpt@master
from URL https://api.github.com/repos/ymattu/MlBayesOpt/zipball/master
Installing MlBayesOpt
Installing 1 package: xgboost
Installing package into ‘\\SRVR-FT/Redireccionamiento de carpetas/sdonikian/Documents/R/win-library/3.3’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/xgboost_0.6-4.zip'
Content type 'application/zip' length 1693578 bytes (1.6 MB)
downloaded 1.6 MB

package ‘xgboost’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
    C:\Users\sdonikian\AppData\Local\Temp\RtmpqwvNhH\downloaded_packages
"C:/PROGRA~1/R/R-33~1.1/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD  \
  INSTALL  \
  "C:/Users/sdonikian/AppData/Local/Temp/RtmpqwvNhH/devtools35030712993/ymattu-MlBayesOpt-e9054a9"  \
  --library="\\SRVR-FT/Redireccionamiento de carpetas/sdonikian/Documents/R/win-library/3.3"  \
  --install-tests 

* installing *source* package 'MlBayesOpt' ...
** R
** data
*** moving datasets to lazyload DB
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
*** arch - i386
Warning in library(pkg_name, lib.loc = lib, character.only = TRUE, logical.return = TRUE) :
  there is no package called 'MlBayesOpt'
Error: loading failed
Ejecución interrumpida
*** arch - x64
Warning in library(pkg_name, lib.loc = lib, character.only = TRUE, logical.return = TRUE) :
  there is no package called 'MlBayesOpt'
Error: loading failed
Ejecución interrumpida
ERROR: loading failed for 'i386', 'x64'
* removing '\\SRVR-FT/Redireccionamiento de carpetas/sdonikian/Documents/R/win-library/3.3/MlBayesOpt'
Error: Command failed (1)

Can you help me with this?

Regards

ymattu commented 7 years ago

Could you please give me the output of .libPaths()?

sdonik commented 7 years ago

Off course, the output is:

[1] "\\SRVR-FT/Redireccionamiento de carpetas/sdonikian/Documents/R/win-library/3.3" [2] "C:/Program Files/R/R-3.3.1/library"

ymattu commented 7 years ago

That's a network shared drive?

sdonik commented 7 years ago

yes, but I have no problem with other packages

ymattu commented 7 years ago

Do both install.packages() and devtools::install_github() work? For example, does devtools::install_github("rstudio/blogdown") work?

If devtools::install_github() does not work, try .libpath(""//SRVR-FT/Redireccionamiento de carpetas/sdonikian/Documents/R/win-library/3.3")