Douglas Bates
2005-Jul-12 22:16 UTC
[Rd] Spurious output like <environment: namespace:base> in R-devel
I have noticed spurious message of the form <environment: namespace:base> when developing code for the Matrix package and testing under R-devel. These messages are not present when testing under R-2.1.1 I have not reported this because I didn't know if it was caused by my code in the Matrix package or some other code. Today I checked the newly uploaded vcd package under R-devel and got the same symptoms. Try library('vcd') example(mosaic') to reproduce the problem. If you want to see the same problem in the Matrix package run R-devel CMD check Matrix and look at the output in Matrix.Rcheck/tests/lmer.Rout
Douglas Bates
2005-Jul-12 22:59 UTC
[Rd] Spurious output like <environment: namespace:base> in R-devel
On 7/12/05, Duncan Temple Lang <duncan at wald.ucdavis.edu> wrote:> Hi Doug. > > I noticed this also after the recent change to the > code to handle missing PACKAGE arguments for > .C/.Call/.Fortran routines. > There is a line in the dotcode.c (1510) that > has a call to Rf_PrintValue(env) and that is > what is causing it. > > I haven't had a chance to get to this for the last week or so but > am doing so now.Thanks Duncan. In my code it turns out that the two .Call calls that were producing the spurious output did not have PACKAGE = "Matrix". Once I fixed that I no longer got the spurious output.