I am using the following code to load two R packages in Jupyter Lab:
I want to supress any output from this code cell. I tried invisible(library(sommer)), which did not work. In addition, invisible() is not what I want here since I want to supress all output of this cell, but invisible() just supresses output of the line it encloses.
Is there a way to supress output of a code cell entirely when using R, not Python, in Jupyter Lab/Notebook?