Skip to content

warning message #4

Open
Open

Description

@juanjocabj

hi! my name is Juan, a student learning R code. pretty new in this science.

After opening the sparrow_control.R script in Rstudio, I received this

source('C:/juanjo/rsparrow-master/UserTutorial/results/sparrow_control.R')
RSPARROW dependent package installation COMPLETE
Loading RSPARROW

Error: Dependency package(s) 'gplots' not available.
Run `rlang::last_error()` to see where the error occurred.
In addition: Warning message:
In (function (dep_name, dep_ver = "*")  :
  Dependency package 'gplots' not available.

Any idea about where is the error?

I really appreciate any help, thanks!

Activity

  1. LihaoDuan commented on Aug 6, 2021

    @LihaoDuan

    Hi, i am s student learning RSPARROW model , but when I run the model , reminds me a error 'no "set.ZeroPolicyOption" function'.

    But when I find set.ZeroPolicyOption function in "./RSPARROW_master/R" folder, I can't found any R scripts have this functions.
    I use windows10 and R 3.5.0

    Can you give me some advice ,thanks!

    Computing NLLS metrics...
    Computing Hessian standard errors for parameter estimates...
       Seconds elapsed in Hessian execution... 7.08
    Running diagnostic plots and sensitivity analysis...
    Running summary predictions...
    Running diagnostic spatial autocorrelation...
    Quitting from lines 23-100 (diagnosticSpatialAutoCorr.Rmd) 
    Error in set.ZeroPolicyOption(TRUE) : no "set.ZeroPolicyOption" function
    RSPARROW SYSTEM ERROR OCCURRED
    To reset user options in R use options(backupOptions)
    
  2. Caiyy19 commented on Dec 7, 2021

    @Caiyy19

    hi! my name is Juan, a student learning R code. pretty new in this science.

    After opening the sparrow_control.R script in Rstudio, I received this

    source('C:/juanjo/rsparrow-master/UserTutorial/results/sparrow_control.R')
    RSPARROW dependent package installation COMPLETE
    Loading RSPARROW

    Error: Dependency package(s) 'gplots' not available.
    Run `rlang::last_error()` to see where the error occurred.
    In addition: Warning message:
    In (function (dep_name, dep_ver = "*")  :
      Dependency package 'gplots' not available.
    

    Any idea about where is the error?

    I really appreciate any help, thanks!

    try to run the following code before run source:
    install.packages("gplots")
    library(gplots)
    may it will work

  3. Caiyy19 commented on Dec 7, 2021

    @Caiyy19

    When I use this model, I recieved this:

    Running correlations among explanatory variables...
    Error in complete.cases(x.neg, x.pos, y.neg, y.pos) : can't find 'x.neg'

    Any idea about where is the error?

    I really appreciate any help, thanks!

  4. VincentYang147 commented on Oct 20, 2022

    @VincentYang147

    When I use this model, I recieved this:

    Running correlations among explanatory variables... Error in complete.cases(x.neg, x.pos, y.neg, y.pos) : can't find 'x.neg'

    Any idea about where is the error?

    I really appreciate any help, thanks!

    I have met the same error, do you have any progresses on resolving it ?!

  5. zingzxyang commented on Jun 26, 2023

    @zingzxyang

    When I use this model, I recieved this:

    Running correlations among explanatory variables... Error in complete.cases(x.neg, x.pos, y.neg, y.pos) : can't find 'x.neg'

    Any idea about where is the error?

    I really appreciate any help, thanks!

    I also encountered the same error, have you solved this problem yet?

  6. EatingKLM commented on Mar 7, 2024

    @EatingKLM

    Hi, i am s student learning RSPARROW model , but when I run the model , reminds me a error 'no "set.ZeroPolicyOption" function'.嗨,我是学习RSPARROW模型的学生,但是当我运行模型时,提醒我一个错误“没有”设置。ZeroPolicyOption“函数”。

    But when I find set.ZeroPolicyOption function in "./RSPARROW_master/R" folder, I can't found any R scripts have this functions.但是当我发现设置时。“./RSPARROW_master/R”文件夹中的 ZeroPolicyOption 函数,我找不到任何 R 脚本具有此函数。 I use windows10 and R 3.5.0我使用 windows10 和 R 3.5.0

    Can you give me some advice ,thanks!你能给我一些建议吗,谢谢!

    Computing NLLS metrics...
    Computing Hessian standard errors for parameter estimates...
       Seconds elapsed in Hessian execution... 7.08
    Running diagnostic plots and sensitivity analysis...
    Running summary predictions...
    Running diagnostic spatial autocorrelation...
    Quitting from lines 23-100 (diagnosticSpatialAutoCorr.Rmd) 
    Error in set.ZeroPolicyOption(TRUE) : no "set.ZeroPolicyOption" function
    RSPARROW SYSTEM ERROR OCCURRED
    To reset user options in R use options(backupOptions)
    

    Hey!bro. do you solve the error? I have some questions for you about this model. thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions