detach all packages while working in R

后端 未结 10 1836
猫巷女王i
猫巷女王i 2020-11-28 19:23

While working to solve another problem I got this problem:

I can remove all R objects by:

rm(list = ls(all = TRUE))

Is there equiv

10条回答
  •  甜味超标
    2020-11-28 20:25

    if you're having problems with packages that have similarly named functions conflicting with each other, you can always reference the namespace of the package who's function you DO want.

    pkg_name::function_i_want()
    

提交回复
热议问题