Hmm,> .Fortran(stats:::C_setsmu, as.integer(0))[[1]] [1] 0> .Fortran(stats:::C_setsmu, as.integer(fumble))Error: object 'fumble' not found> .Fortran(stats:::C_setsmu, fumble=as.integer(fumble))Error: object 'fumble' not found> .Fortran(stats:::C_setsmu, nphi=as.integer(nphi))Error: object 'nphi' not found so I think we need an alternative hypothesis about what went wrong for you... If nphi was NULL from the outset, that could explain things. -pd> On 14 Aug 2018, at 01:16 , Rolf Turner <r.turner at auckland.ac.nz> wrote: > > On 13/08/18 23:39, peter dalgaard wrote: >> It's odd, possibly a bug, that you don't get >> Error: object 'nphi' not found >> but I can't offhand see where the evaluation of args to .C/.Fortran is supposed to take place. > > If it is indeed a bug then it would be nice an it were fixed. If that is possible. Way beyond my level of comprehension but. > > cheers, > > Rolf > > -- > Technical Editor ANZJS > Department of Statistics > University of Auckland > Phone: +64-9-373-7599 ext. 88276-- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
On 14/08/18 23:01, peter dalgaard wrote:> Hmm, > >> .Fortran(stats:::C_setsmu, as.integer(0)) > [[1]] > [1] 0 > >> .Fortran(stats:::C_setsmu, as.integer(fumble)) > Error: object 'fumble' not found >> .Fortran(stats:::C_setsmu, fumble=as.integer(fumble)) > Error: object 'fumble' not found >> .Fortran(stats:::C_setsmu, nphi=as.integer(nphi)) > Error: object 'nphi' not found > > so I think we need an alternative hypothesis about what went wrong for you... > > If nphi was NULL from the outset, that could explain things.No, I never set nphi to NULL. I put the code back to the way it was previously, just now, and tried again. Now I get "object 'nphi' not found". There is no explanation other than gremlins and the malevolence that the computer gods hold towards me. cheers, Rolf -- Technical Editor ANZJS Department of Statistics University of Auckland Phone: +64-9-373-7599 ext. 88276
There is no explanation other than gremlins and the malevolence that the computer gods hold towards me. fortune nomination. On Tue, Aug 14, 2018 at 7:12 PM, Rolf Turner <r.turner at auckland.ac.nz> wrote:> On 14/08/18 23:01, peter dalgaard wrote: >> >> Hmm, >> >>> .Fortran(stats:::C_setsmu, as.integer(0)) >> >> [[1]] >> [1] 0 >> >>> .Fortran(stats:::C_setsmu, as.integer(fumble)) >> >> Error: object 'fumble' not found >>> >>> .Fortran(stats:::C_setsmu, fumble=as.integer(fumble)) >> >> Error: object 'fumble' not found >>> >>> .Fortran(stats:::C_setsmu, nphi=as.integer(nphi)) >> >> Error: object 'nphi' not found >> >> so I think we need an alternative hypothesis about what went wrong for >> you... >> >> If nphi was NULL from the outset, that could explain things. > > > No, I never set nphi to NULL. > > I put the code back to the way it was previously, just now, and tried again. > Now I get "object 'nphi' not found". > > There is no explanation other than gremlins and the malevolence that the > computer gods hold towards me. > > cheers, > > Rolf > > -- > Technical Editor ANZJS > Department of Statistics > University of Auckland > Phone: +64-9-373-7599 ext. 88276 > > ______________________________________________ > R-help at 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.