On 23/07/18 22:30, Jeremie Juste wrote:
Hello,
I found a dangerous issue in the library spdep. I get variables x and y
that cannot be removed by rm() and I don't don't how they show up. Can
anyone reproduce this?
I cannot.
This is *very* unlikely to be a bug. People should always exercise a
great deal of caution about conjecturing bugs when they encounter a
phenomenon that they don't understand.
What do you see if you simply do "ls()"? (After loading spdep.)
I.e. do you see an "x" listed as an object in your workspace/global
environment?
What does find("x") return?
It puzzles me that your sessionInfo() doesn't show something like:
other attached packages:
[1] spdep_0.6-13 Matrix_1.2-10 sp_1.2-5
There are probably other issues that you have not told us about.
cheers,
Rolf Turner
--
Technical Editor ANZJS
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276
~$ R --vanilla
rm(list=ls())
library(spdep)
x
[1] 0 30 60 90 120 150 180 210 240 270 300 330 360 390 420 450
rm(list=ls())
x
[1] 0 30 60 90 120 150 180 210 240 270 300 330 360 390 420 450
Sys.info()
sysname "Linux"
release "4.9.0-6-amd64"
version "#1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07)"
nodename "freegnu"
machine "x86_64"
Session
sessionInfo()
R version 3.4.1 (2017-06-30)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Debian GNU/Linux 9 (stretch)
Matrix products: default
BLAS: /usr/local/lib/R/lib/libRblas.so
LAPACK: /usr/local/lib/R/lib/libRlapack.so
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.4.1
______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.