Question: Prevent "New version" message to appear
gravatar for nick
17 months ago by
nick10 wrote:

How can you prevent the following message from displaying in the console?

I've tried both suppressMessages and suppressStartUpMessages with no success.

"‚ÄčBioconductor version 3.4 (BiocInstaller 1.24.0), ?biocLite for help

A new version of Bioconductor is available after installing the most recent
  version of R; see"

package • 281 views
ADD COMMENTlink modified 17 months ago by Martin Morgan ♦♦ 23k • written 17 months ago by nick10
Answer: Prevent "New version" message to appear
gravatar for Martin Morgan
17 months ago by
Martin Morgan ♦♦ 23k
United States
Martin Morgan ♦♦ 23k wrote:

I guess you're trying

> suppressMessages(library(BiocInstaller))


> suppressMessages(source(""))
> sessionInfo()
R version 3.3.2 Patched (2017-02-14 r72175)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.3 LTS

 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] BiocInstaller_1.24.0

Both 'work for me', so can you provide additional information, e.g., about your sessionInfo() and how (e.g., in RStudio?) you're seeing the message?

ADD COMMENTlink written 17 months ago by Martin Morgan ♦♦ 23k

You're right. I was looking for the problem in the wrong place. I though the message was appearing when launching a parallel execution of a function while actually it was due to the presence of source("") in my .Rprofile. Silly me, but thanks for helping me.

ADD REPLYlink modified 17 months ago • written 17 months ago by nick10
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 465 users visited in the last hour