Rcmdr is masked from 'package:base'
1
0
Entering edit mode
2.1 years ago
Aurelija • 0

Good afternoon! When I load RCommander form RStudio packages, i get this message in Console: enter image description here Could you please help me to solve this error?

base rcommander package • 588 views
ADD COMMENT
0
Entering edit mode

Thank you for your help :)

ADD REPLY
0
Entering edit mode
2.1 years ago
Basti ★ 2.0k

This is not an error but only a warning, it means that base and Rcmdr packages contain functions with the same names

ADD COMMENT
1
Entering edit mode

Yes, it means that if you want to use that function coming from the Rcmdr package then you should do it explicitely, like Rcmdr::errorCondition(). For that function it is probably irrelevant but functions like select() are often masked by several packages.

For example, the tidyverse has dplyr::select() which is often masked by the AnnotationDbi packages, so I always do dplyr::select() to avoid any conflicts. Same with functions such as cpm() which are used by packages in the single-cell world and something like edgeR.

ADD REPLY

Login before adding your answer.

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