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?

zx8754
  • 52,746
  • 12
  • 114
  • 209
GegznaV
  • 4,938
  • 4
  • 23
  • 43

2 Answers2

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.

Spacedman
  • 92,590
  • 12
  • 140
  • 224
  • 1
    I tried `ls(all.names = TRUE)` and discovered, that environment `.SLIDIFY_ENV` exists in the workspace. `rm(.SLIDIFY_ENV)` worked. Thank you @Spacedman – GegznaV Apr 28 '16 at 11:17
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.

Kim
  • 1,768
  • 2
  • 14
  • 24