Comments (5)
I suspect this is just a server configuration issue as there's nothing special about SimDesign
s 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.
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.
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.
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.
Thank you for your assistance, I will contact them.
from simdesign.
Related Issues (20)
- Errors in analysis functions are catched and passed as input to `Summarise` when there are multiple analysis functions HOT 2
- Is it possible to capture all errors when using multiple analysis functions? HOT 9
- Error in load_packages(packages) : task 1 failed - "could not find function "load_packages"" HOT 6
- Code in SimDesign Package Won't Run for window 10!! HOT 1
- Implicit activation of parallelization can be risky HOT 8
- Question / Issue HOT 5
- Variable naming error when using `runSimulation()` HOT 5
- Implement sample size planning functions HOT 2
- Implement MCSE for performance measure functions HOT 2
- runSimulation fails if design and estimate are named the same HOT 1
- Validate function outputs HOT 4
- Random number seed management HOT 1
- Improve documentation on parallel processing HOT 5
- Features to support runnign as array jobs on a cluster HOT 15
- aggregate_simulations and selective loading of results HOT 5
- aggregate_simulations and summary results HOT 5
- Checking for incomplete designs in large simulations HOT 1
- Seeds and reproducibility in distributed simulations HOT 11
- Allow RAM testing considerations
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simdesign.