[R] Returning .Call / / .External results invisibly

2021-08-15 Thread Andrew Simmons
Hello, I have a C function in which I want to return a result visibly or invisibly (depends on the arguments provided). My current implementation was to return a list like 'withVisible' does, where element "value" is the value the function returns, and element "visible" is TRUE or FALSE depending

Re: [R] about L-BFGS-B

2021-08-15 Thread Spencer Graves
Hello 최병권 : Are you familiar with the "debug" function? "debug(glm.cmp)" followed by the problem command will put you into the environment of "glm.cmp", and you can walk through that function line by line looking at each variable. If you need more help, "PLEASE do read the posting g

Re: [R] about L-BFGS-B

2021-08-15 Thread J C Nash
You have the answer in the error message: the objective function has been calculated as +/-Inf somehow. You are going to have to figure out where the function is computed and why it is not finite. JN On 2021-08-15 12:41 a.m., 최병권 wrote: > Hello Dear, > > I am Choy from Seoul. > I have a question