Coder Social home page Coder Social logo

Comments (5)

philchalmers avatar philchalmers commented on May 27, 2024

I suspect this is just a server configuration issue as there's nothing special about SimDesigns debugging setup outside of standard R practice. The error message that you're reporting also doesn't seem to be originating from SimDesign.

Do you encounter similar problems with simple debugging, such as when running

myfun <- function(x) x + 1
debug(myfun)
myfun(1)

from simdesign.

philchalmers avatar philchalmers commented on May 27, 2024

Note that I also just tested your code on my Rstudio server and it seems to run fine (browser mode opens correctly for interactive debuggin).

from simdesign.

joppekb avatar joppekb commented on May 27, 2024

Thank you for your swift reply.

I tried your code on the server (which has R version 4.1.1) and it also gave the same error.

sessionInfo() # gave error
R version 4.1.1 (2021-08-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.6 LTS

Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.7.1
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.7.1

locale:
[1] LC_CTYPE=C.UTF-8 LC_NUMERIC=C LC_TIME=C.UTF-8
[4] LC_COLLATE=C.UTF-8 LC_MONETARY=C.UTF-8 LC_MESSAGES=C.UTF-8
[7] LC_PAPER=C.UTF-8 LC_NAME=C LC_ADDRESS=C
[10] LC_TELEPHONE=C LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C

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

loaded via a namespace (and not attached):
[1] compiler_4.1.1 tools_4.1.1

I then tried it on an Rstudio server with R version 3.6.3 and there it does work.

sessionInfo() # it works here
R version 3.6.3 (2020-02-29)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.6 LTS

Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.7.1
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.7.1

locale:
[1] LC_CTYPE=C.UTF-8 LC_NUMERIC=C LC_TIME=C.UTF-8 LC_COLLATE=C.UTF-8 LC_MONETARY=C.UTF-8
[6] LC_MESSAGES=C.UTF-8 LC_PAPER=C.UTF-8 LC_NAME=C LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C

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

other attached packages:
[1] SimDesign_2.7.1

loaded via a namespace (and not attached):
[1] magrittr_2.0.1 tidyselect_1.1.1 R6_2.5.1 rlang_0.4.11 foreach_1.5.1 pbapply_1.5-0
[7] fansi_0.5.0 dplyr_1.0.7 tools_3.6.3 parallel_3.6.3 sessioninfo_1.1.1 utf8_1.2.2
[13] cli_3.0.1 withr_2.4.2 iterators_1.0.13 ellipsis_0.3.2 tibble_3.1.4 lifecycle_1.0.1
[19] crayon_1.4.1 purrr_0.3.4 vctrs_0.3.8 codetools_0.2-18 RPushbullet_0.3.4 curl_4.3.2
[25] glue_1.4.2 compiler_3.6.3 pillar_1.6.3 generics_0.1.0 jsonlite_1.7.2 pkgconfig_2.0.3

Given this information, would you say this is an server configuration issue? In that case, I will contact the manufacturers of the Rstudio server that I am currently using and we could close this issue.

from simdesign.

philchalmers avatar philchalmers commented on May 27, 2024

Yes it's on the server side if it's occurring with standard function debugging, so the rstudio maintainers will have better luck fixing this.

from simdesign.

joppekb avatar joppekb commented on May 27, 2024

Thank you for your assistance, I will contact them.

from simdesign.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.