Warning message at R startup (slidify, rmarkdown)
Asked Answered
R

2

5

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?

Rijeka answered 28/4, 2016 at 6:24 Comment(0)
Y
8

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.

Yeung answered 28/4, 2016 at 6:35 Comment(1)
I tried ls(all.names = TRUE) and discovered, that environment .SLIDIFY_ENV exists in the workspace. rm(.SLIDIFY_ENV) worked. Thank you @YeungRijeka
N
6

You probably had .RData in your workspace, which contains those variables.

If you remove .RData file, then you will not be going to see the warning message.

Nibble answered 17/8, 2017 at 9:14 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.