Forum: gecon


RE: gEcon.estimation "Error: package or namespace load failed" [ Reply ] By: Karol Podemski on 2022-11-13 20:23 | [forum:49498] |
The problem is due to a change in the fkf function interface (from FKF package) and it can be resolved by installing the 0.1.7 revision of FKF package from its archive page https://cran.r-project.org/src/contrib/Archive/FKF/ . The next release of gEcon.estimation package will accomodate this change and will be compatible with the newest version of FKF on CRAN. |
RE: gEcon.estimation "Error: package or namespace load failed" [ Reply ] By: peng shun on 2022-05-27 10:39 | [forum:49490]![]() |
When my gEcon.estimation is installed, the following error is reported: * installing *source* package ‘gEcon.estimation’ ... ** using staged installation ** R ** data ** inst ** byte-compile and prepare package for lazy loading Note: possible error in 'fkf(a0 = x_0, P0 = MSE_0, ': unused argument (check.input = TRUE) ** help *** installing help indices ** building package indices ** testing if installed package can be loaded from temporary location ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (gEcon.estimation) When I do a Bayesian estimate, I cannot make a posterio-revamp estimate and the following error occurs: Initial values of parameters for estimation Initial value sd(epsilon_Z) 0.0012 sd(epsilon_G) 0.0060 omega 1.5000 phi_G 0.9500 phi_Z 0.9500 Initial values of the parameters: sd(epsilon_Z) sd(epsilon_G) omega phi_G 0.0012 0.0060 1.5000 0.9500 phi_Z 0.9500 Error in fkf(a0 = x_0, P0 = MSE_0, ct = rep(0, n), dt = rep(0, n_vars), : unused argument (check.input = TRUE) My computer and software version is macOS10.14.6 R3.6.3, gEcon1.2.0 |
RE: gEcon.estimation "Error: package or namespace load failed" [ Reply ] By: Constantin Colonescu on 2021-03-15 04:57 | [forum:49475] |
It worked. The problem was I was still having the old versions in my Downloads folder and the new downloads got a (1) attached to their names automatically, which apparently was confusing RStudio's "Install packages" function. Thank you again Karol for your work and for helping me out. |
RE: gEcon.estimation "Error: package or namespace load failed" [ Reply ] By: Karol Podemski on 2021-03-14 18:35 | [forum:48835] |
They should be the same the only difference should be the modification date: can you open zip file and check if the last modification date for zip file was March,14? |
RE: gEcon.estimation "Error: package or namespace load failed" [ Reply ] By: Constantin Colonescu on 2021-03-14 18:27 | [forum:48834] |
Thanks Karol for the package and for the answer. I re-installed them and I still get the same error. Are they supposed to have the same version numbers as before (gEcon.estimation 0.1.0 and gEcon.iosam 0.2.0)? Or am I missing something? I downloaded them today March 14, 2021 from here: https://gecon.r-forge.r-project.org/ext_estim.html |
RE: gEcon.estimation "Error: package or namespace load failed" [ Reply ] By: Karol Podemski on 2021-03-14 13:29 | [forum:48829] |
The package binaries (both gEcon.estmation and gEcon.iosam) were rebuilt under R 4.0.4 and published on March, 14. Download the zip file again and you will no longer have any problems with installation. |
gEcon.estimation "Error: package or namespace load failed" [ Reply ] By: Constantin Colonescu on 2021-03-07 23:28 | [forum:48827] |
I have successfully installed gEcon and it seems to be working fine. Then I installed gEcon.estimation and gEcon.iosam. I can see them in the package list in RStudio and R GUI. However, when I try to load gEcon.estimation or gEcon.iosam I get this error: "Error: package or namespace load failed for ‘gEcon.estimation’: package ‘gEcon.estimation’ was installed before R 4.0.0: please re-install it". I have updated R and I get the same error. I use Windows 10. I appreciate your help. |