Re: [R] Invalid term in model formula with gmm after formula.tools is loaded

2024-11-04 Thread Duncan Murdoch
On 2024-11-04 5:37 a.m., Ivan Krylov via R-help wrote: В Sun, 3 Nov 2024 12:53:52 +0100 Elysée Aristide пишет: Does that mean that I should send a new message? Or is it okay for this time? No need to post it again. Did it help to replace the as.character() method for formulas provided by 'fo

Re: [R] Invalid term in model formula with gmm after formula.tools is loaded

2024-11-04 Thread Elysée Aristide
Hi Ivan, I tried that solution, but unfortunately, it did not help. The issue is about the formula of the instruments when converting into data. I finally converted this formula to a matrix by myself and gave the matrix to gmm directly. So, gmm does not need to convert tit. Best regards, Aristid

Re: [R] Invalid term in model formula with gmm after formula.tools is loaded

2024-11-04 Thread Ivan Krylov via R-help
В Sun, 3 Nov 2024 12:53:52 +0100 Elysée Aristide пишет: > Does that mean that I should send a new message? Or is it okay for > this time? No need to post it again. Did it help to replace the as.character() method for formulas provided by 'formula.tools'? I see the problem is already reported to

Re: [R] Invalid term in model formula with gmm after formula.tools is loaded

2024-11-03 Thread Elysée Aristide
Hi Ivan, Thank you for your message. Does that mean that I should send a new message? Or is it okay for this time? Best, Aristide On Fri, Nov 1, 2024, 22:29 Ivan Krylov wrote: > Hi Aristide and welcome to R-help! > > Your message was a bit mangled [*]. It's best to compose messages to > this m

Re: [R] Invalid term in model formula with gmm after formula.tools is loaded

2024-11-01 Thread Ivan Krylov via R-help
Hi Aristide and welcome to R-help! Your message was a bit mangled [*]. It's best to compose messages to this mailing list in plain text. Otherwise (when composed in HTML), the mailing list eats the HTML part and we're left with the plain text part automatically generated by your mailer, which isn'

[R] Invalid term in model formula with gmm after formula.tools is loaded

2024-10-31 Thread Elysée Aristide
Hi everyone, I am using the gmm function from the gmm package and encountered an unexpected error. No model can be estimated if I load formula.tools—I need to restart R each time. Here is a simple reproducible example: *library(gmm)data(Finance)r <- Finance[1:300, 1:10]rm <- Fina