Vilmantas Vilmantas - 1 year ago 51
R Question

Warning message at R startup (slidify, rmarkdown)

When I startup my R (in RStudio IDE), I receive the warning:


Warning: namespace ‘slidify’ is not available and has been replaced by
.GlobalEnv when processing object ‘.SLIDIFY_ENV’


Yesterday I uninstalled
slidify
(and
slidifyLibraries
) as this package interfered with regular use or
.Rmd
(Rmarkdown) files (when I pushet
knit
button in RStudio, all the .Rmd files were rendered as
slidify
slides, despite the fact that they had to be rendered as usual Rmarkdown files).

Question: How can I get rid of the warning message at the startup?

Answer Source

Warning: namespace ‘slidify’ is not available and has been replaced by .GlobalEnv when processing object ‘.SLIDIFY_ENV’

That is telling you there's an object called .SLIDIFY_ENV in your R workspace at startup which is associated with the now-missing slidify namespace. Remove it (rm(.SLIDIFY_ENV) should work), save your workspace. Restart R and it shouldn't re-occur.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download