RamiKrispin / MLstudio

The ML Studio Package
GNU General Public License v3.0
71 stars 25 forks source link

Warning: Error in dashboardPage: could not find function "dashboardPage" #2

Closed yusuzech closed 6 years ago

yusuzech commented 6 years ago

I need to manually load library shinydashboard first to launch MLstudio, otherwise it returns \:

> MLstudio::runML()
Warning in data(package = packages.list$Package) :
  datasets have been moved from package 'base' to package 'datasets'
Warning in data(package = packages.list$Package) :
  datasets have been moved from package 'stats' to package 'datasets'

Listening on http://127.0.0.1:3329
Warning: Error in dashboardPage: could not find function "dashboardPage"
Stack trace (innermost first):
    4: shiny::runApp
    3: withCallingHandlers
    2: suppressPackageStartupMessages
    1: MLstudio::runML
Error : could not find function "dashboardPage"
Warning: Error in dashboardPage: could not find function "dashboardPage"
Stack trace (innermost first):
    4: shiny::runApp
    3: withCallingHandlers
    2: suppressPackageStartupMessages
    1: MLstudio::runML
Error : could not find function "dashboardPage"
RamiKrispin commented 6 years ago

It could be that there is another package that masked or blocked shinydashboard from running. Could you please send me the output of the search() functions?

yusuzech commented 6 years ago

Search returns:

> search()
 [1] ".GlobalEnv"            "tools:rstudio"         "package:RevoUtils"     "package:stats"         "package:graphics"      "package:grDevices"     "package:utils"        
 [8] "package:datasets"      "package:RevoUtilsMath" "package:methods"       "Autoloads"             "package:base"

sessinIfo returns:

> sessionInfo()
R version 3.4.3 (2017-11-30)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252    LC_MONETARY=English_United States.1252 LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] RevoUtils_10.0.7     RevoUtilsMath_10.0.1

loaded via a namespace (and not attached):
[1] compiler_3.4.3 tools_3.4.3    yaml_2.1.16  
RamiKrispin commented 6 years ago

Thanks, are you loading the MLstudio package or call the function with MLstudio::runML? The MLstudio has two dependencies packages - shiny and shinydashboard, if using the last option to open the app then you will have to load the dependencies manually.

yusuzech commented 6 years ago

I was using the last option. Thank you!