Error in R command running in my server
1
0
Entering edit mode
2.2 years ago
Madhawa • 0

library('glasso') SCovMat <- glasso(C.556, rho=0.32)

caught segfault address 0x7f69b0b1f000, cause 'memory not mapped'

Traceback: 1: glasso(C.556, rho = 0.32)

Possible actions: 1: abort (with core dump, if enabled) 2: normal R exit 3: exit R without saving workspace 4: exit R saving workspace

Hello,

I am trying to run a R command using 'glasso' package as the above codes. However, I have an error "address 0x7f69b0b1f000, cause 'memory not mapped' ". Since it is not clear to me how to solve this memory related error, I truly appreciate if you could give me your possible comment for me.

Thank you!enter image description here

command R • 3.5k views
ADD COMMENT
2
Entering edit mode

There could be many causes for this including problem with C/C++ code but a common cause is also when the software relies on system libraries and can't find the ones it's been compiled against. This can happen when upgrading the system or R without upgrading the packages or when trying to run code on a different architecture than the one the code was compiled on (e.g. in a cluster of mixed machine types). Before examining the underlying C code, I'd suggest doing a clean installation including of the required system libraries if any.

ADD REPLY
0
Entering edit mode

Hi, Thank you for your kind reply. I would clean the installation first and try to re-install the libraries to check it. Thank you again!

ADD REPLY
0
Entering edit mode

hi, someone wrote a non-bullet proof code. you can't really solve this unless you have low-level C++ (I guess) coding skills. I guess if you asked this question you don't have them.

ADD REPLY
0
Entering edit mode

Hi. Thank you for your reply. Actually, I do not have low-level C++ coding skills. Is there any other option to solve this error? Pls kindly let me know? Thank you!

ADD REPLY
0
Entering edit mode

segfaults are incredibly difficult to track and fix. I'd recommend to write to the authors or use another library.

https://stackoverflow.com/questions/2346806/what-is-a-segmentation-fault

ADD REPLY
0
Entering edit mode

Hi, Thank you for your kind reply with the information which is helpful for me! I will check it for solving the error. Thank you!

ADD REPLY
0
Entering edit mode
2.1 years ago
Madhawa • 0

Hello! Thank you for your comments and I was able to solve this error since there was a problem in the data matrix I used in the analysis.! I further want to ask your help because I am running the R in a ubuntu server. However, I have to use Rstudio for the visualization things. Is there any way that I can use rstudio in a server for the visualization? Kindly give me your comments. Thank you!

ADD COMMENT

Login before adding your answer.

Traffic: 1961 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6