Bioconductor / BiocWorkshops

:warning: 2018 :warning: Bioconductor Workshops
https://bioconductor.github.io/BiocWorkshops/
74 stars 53 forks source link

500_Effectively_Using_the_DelayedArray_Framework.Rmd #24

Closed lwaldron closed 6 years ago

lwaldron commented 6 years ago

I'm creating an issue for each workshop, to be closed when both 1) the workshop is complete, and 2) it compiles without problems. Please note problems and status updates here.

ERROR: can't open file @line 559

lwaldron commented 6 years ago
Quitting from lines 568-586 (500_Effectively_Using_the_DelayedArray_Framework.Rmd) 
Error in h5checktypeOrOpenLoc(file, readonly = TRUE, native = native) : 
  Error in h5checktypeOrOpenLoc(). Cannot open file. File 'hdf5_mat.h5' does not exist.
Calls: <Anonymous> ... eval -> eval -> <Anonymous> -> h5checktypeOrOpenLoc
Execution halted
PeteHaitch commented 6 years ago

Will fix this week (just off flight from US to Aus)

PeteHaitch commented 6 years ago

The immediate issue should be fixed in db5c813158e069474cca296ea226ca56a44a9056

I'll continue to work on material

LiNk-NY commented 6 years ago

Hi Pete, @PeteHaitch I'm not sure why this is coming up:

label: unnamed-chunk-19

Quitting from lines 669-682 (500_Effectively_Using_the_DelayedArray_Framework.Rmd) 
Error in lazyLoadDBinsertVariable(vars[i], from, datafile, ascii, compress,  : 
  long vectors not supported yet: connections.c:5861
Calls: local ... <Anonymous> -> <Anonymous> -> lazyLoadDBinsertVariable
Execution halted
Error in Rscript_render(f, render_args, render_meta) : 
  Failed to compile 500_Effectively_Using_the_DelayedArray_Framework.Rmd
Calls: <Anonymous> ... render_new_session -> tryCatch -> tryCatchList -> Rscript_render
Execution halted

Exited with status 1.

Could it have something to do with the cache? I'll delete and re-run.

lshep commented 6 years ago

it is a caching issue but the r code chunk needs to have the cache=FALSE - the cache=FALSE corrects this ERROR

LiNk-NY commented 6 years ago

Thanks Lori. I'll try this.

seandavi commented 6 years ago

The

Error in lazyLoadDBinsertVariable(vars[i], from, datafile, ascii, compress,  : 
  long vectors not supported yet: connections.c

is fixed by f29aa79.

LiNk-NY commented 6 years ago

@seandavi Do we want to use cache.lazy = TRUE for all chunks? I can add it to our _common.R file.

seandavi commented 6 years ago

I don't know the answer to that. I see that it is really just for very large caches; there were only two workflows that showed this error and I have corrected them.

On Thu, Jul 19, 2018 at 3:09 PM Marcel Ramos notifications@github.com wrote:

@seandavi https://github.com/seandavi Do we want to use cache.lazy = TRUE for all chunks? I can add it to our _common.R file.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Bioconductor/BiocWorkshops/issues/24#issuecomment-406383276, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFpE_oJkcvrij076PgAKIl84NCpKxriks5uINl5gaJpZM4VGZdA .

-- Sean Davis, MD, PhD Center for Cancer Research National Cancer Institute National Institutes of Health Bethesda, MD 20892 https://seandavi.github.io/ https://twitter.com/seandavis12

LiNk-NY commented 6 years ago

Thanks for that Sean