Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

R warning: " 'package:stats' may not be available when loading"

I've been working with the arules package and RODBC package for a few days now in RStudio. I saved the workspace image multiple times in the meantime. But today I wanted to save my workspace image again and now I get this warning:

Warning message: In save(list = ls(envir = .GlobalEnv, all.names = TRUE), file = outfile, : 'package:stats' may not be available when loading

I only used arules and RODBC functions and str_split_fixed from stringr and some standard stuff like data.frame.
I didn't even use the stats package at all. When reloading the workspace image, it doesn't seem affected by it. But the warning is bothering me anyway, especially since stats is supposed to be a standard package of R, how can it be unavailable... How can I resolve this warning?

like image 588
Kim Avatar asked Dec 23 '14 16:12

Kim


1 Answers

As the commentator didn't post his comment as an answer, I will close this question myself: it's a bug in RStudio and knowing this thanks to SO I could close down RStudio and a couple R programming sessions later the warning message did not occur again.

like image 131
Kim Avatar answered Sep 23 '22 14:09

Kim