Closed ccruizm closed 3 years ago
How large is your .crb
file? The number of cells and genes isn't that high so unless you exported non-sparse data, I don't expect the file to be very large. It almost looks like there is a problem with available storage on your machine. Can you confirm that you have enough storage left?
Thanks for your reply! The file size is ~80MB. I am running Rstudio server. I have increased the tmp space and now I do not have that error but:
Warning in writeBin(rawdata, .currentFileData) :
problem writing to connection
Warning in writeBin(rawdata, .currentFileData) :
problem writing to connection
[2020-12-26 16:20:03] File to load: /tmp/RtmpClBNPE/2c9fd24cde43e4e28379a7af/0.crb
Warning: Error in readRDS: error reading from connection
[No stack trace available]
Warning: Error in readRDS: error reading from connection
74: <Anonymous>
Warning: Error in readRDS: error reading from connection
108: <Anonymous>
Warning: Error in readRDS: error reading from connection
74: <Anonymous>
Warning: Error in readRDS: error reading from connection
104: <Anonymous>
Warning: Error in readRDS: error reading from connection
104: <Anonymous>
and the app layout is opaque and no-reponsive:
I have tested it using Chrome and Chrome. ANy suggestion? Thanks!
If I understood correctly, you are running the app on a server and want to load a file from your local machine, is that right? I'm not entirely sure but it might be that the file isn't transferred to the R session that runs Cerebro. Internally, when you select a file, you just define a path that then gets handed to readRDS()
. Of course, if the file path is local but Cerebro tries to find the file with the provided path, it won't find it.
I am still puzzled on how to read the v1.3 crb files through the shiny app using R server. Is there a way I can read the files on my server instead of the ones on my local computer? Once the shiny app opens and I want to load the data, it only shows my local files and can't be loaded. Thanks!
Update: I could now read the files using the function launchCerebroV1.3
directly with mode = closed
and giving the path where my file is. I hope we can have the stand alone app for Mac soon! It will be useful for distribution for people with no bioinformatics knowledge
Thanks!
I agree, providing a standalone version of the current app would be great. However, as I explained in the release notes of v1.3, I haven't found a way to do it yet. Hopefully, the packaging process of a Shiny app will become standardized in the future.
Good day,
I cant load a
.crb
file using the shiny app. After launchingcerebroApp::launchCerebro(maxFileSize =100000)
, it does not load the file. The cerebro file was created successfully. Do not know what the issue might be.crb file:
Console output:
App screenshot:
Thanks in advance for the help