Suppress warning in RHDF5 write
1
0
Entering edit mode
@c76f8a37
Last seen 3 hours ago
France

Hi, when writing a large dataset into an HDF5 file, one gets the following warning message :

"You created a large dataset with compression and chunking. The chunk size is equal to the dataset dimensions. If you want to read subsets of the dataset, you should testsmaller chunk sizes to improve read times."

Is it possible to have it not displayed ? Best regards,

rhdf5 • 41 views
ADD COMMENT
2
Entering edit mode
@james-w-macdonald-5106
Last seen 1 hour ago
United States
> fun <- function() message("this is a message")
> fun()
this is a message
> suppressMessages(fun())
>
0
Entering edit mode

Thanks a lot for the quick and effective reply. I had tried "suppressWarnings" but not "suppressMessages".

ADD REPLY

Login before adding your answer.

Traffic: 812 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