search for: minqa

Displaying 20 results from an estimated 26 matches for "minqa".

Did you mean: minha
2010 Sep 29
2
R crashes when loading rgl package before minqa package
Hej, Calling newuoa (from the minqa package) makes R crash when the package rgl is loaded first. This however only on certain selected data. The data used for testing (saved to 'bugs.R'): xvals = c(1,2,4,5,7,8,9,10,11,12,14,15,16,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36) yvals = c(857.7597,975.8624,978.2655,...
2010 Mar 10
1
R CMD check issue with soft-linked directory
...hen upgraded to Jaunty, but put Jaunty on a different drive. I continue to be able to boot Hardy when I wish. I soft-linked my R working area i.e., /home/john/Rstuff ----> /media/lnx804/home/john/Rstuff I can still build packages fine, but get john at nsrv-jaunty:~/jtest$ R CMD check minqa * checking for working pdflatex ... OK * using log directory '/media/store2/jn/test/minqa.Rcheck' * using R version 2.10.1 (2009-12-14) * using session charset: UTF-8 * checking for file 'minqa/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'minqa...
2009 Dec 16
0
[R] R CMD check when package directory is symlinked
...home directory's version. When I changed a package and tried R CMD check I got the following. > * checking whether the package can be loaded ... ERROR > Error in dyn.load(file, DLLpath = DLLpath, ...) : > unable to load shared library '/media/lnx804/home/john/R-optimtest/work/minqa.Rcheck/minqa/libs/minqa.so': > /media/lnx804/home/john/R-optimtest/work/minqa.Rcheck/minqa/libs/minqa.so: failed to map segment from shared object: Operation not permitted > Error : .onLoad failed in 'loadNamespace' for 'minqa' > Error: package/namespace load failed f...
2017 Sep 21
2
calling R API functions after engine shutdown
Hi! We?ve recently come across an example where a package (minqa) creates an Rcpp Function object in a static variable. This causes R_ReleaseObject to be called by the destructor at a very late point in time - as part of the system exit function: static Function cf("c"); I?m wondering if that is considered to be ?safe?? Is the R engine supposed to st...
2016 Oct 08
4
optim(…, method=‘L-BFGS-B’) stops with an error message while violating the lower bound
...ther documentation" -> "Ecdat::AverageIncomeModels". I've found other optimizers that will get around the problem in this case but none that performs as well as optim with many other problems. Thanks, Spencer Graves p.s. I've also tested bobyqa{minqa} or nloptr{nloptr}, recommended in a vignette in the lme4 package. These did better than optim in this example but worse in others I tried.
2013 Jun 11
3
load/unload segfault puzzle
Dear r-devel readers, I have a pretty deep problem with package loading and unloading in the development version of the lme4 package <https://github.com/lme4/lme4>; it's not boiled down to a properly minimal example yet (this has been difficult), but I am posting anyway in the hopes that someone has ideas about how to proceed farther, since I'm nearly stumped. Apologies in advance
2014 Apr 19
1
Nonexistent include directory "/usr/lib/gfortran/modules"
Hi there, Can anyone help with this? I tried to install.packages('lme4') and got lots of warning and error messages, starting with the one in the subject and ending with failed compilation. The same went for the 'minqa' package which is needed by lme4. I have R version 3.0.2 running on Fedora 20. "yum update R" says that's the latest available. Is my system missing something necessary for compilation? cheers, Steve [[alternative HTML version deleted]]
2016 Oct 08
4
optim(…, method=‘L-BFGS-B’) stops with an error message while violating the lower bound
...; > > I've found other optimizers that will get around the problem > in this case but none that performs as well as optim with many > other problems. > > > Thanks, > Spencer Graves > > > p.s. I've also tested bobyqa{minqa} or nloptr{nloptr}, > recommended in a vignette in the lme4 package. These did better > than optim in this example but worse in others I tried. > > ______________________________________________ > R-devel at r-project.org <mailto:R-devel at r-project.org> maili...
2016 May 06
2
Is it possible to increase MAX_NUM_DLLS in future R releases?
Thanks for all your great answers. The app I?m working on is indeed an exploratory data analysis tool for gene expression, which requires a bunch of bioconductor packages. I guess for now, my best solution is to divide my app into modules and load/unload packages as the user switch from one module to another. This brought me another question: it seems that unload package with the
2016 Oct 08
0
optim(…, method=‘L-BFGS-B’) stops with an error message while violating the lower bound
...other documentation" -> "Ecdat::AverageIncomeModels". I've found other optimizers that will get around the problem in this case but none that performs as well as optim with many other problems. Thanks, Spencer Graves p.s. I've also tested bobyqa{minqa} or nloptr{nloptr}, recommended in a vignette in the lme4 package. These did better than optim in this example but worse in others I tried. ______________________________________________ R-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
2016 Oct 08
0
optim(…, method=‘L-BFGS-B’) stops with an error message while violating the lower bound
...verageIncomeModels". > > > I've found other optimizers that will get around the problem in this > case but none that performs as well as optim with many other problems. > > > Thanks, > Spencer Graves > > > p.s. I've also tested bobyqa{minqa} or nloptr{nloptr}, recommended in a > vignette in the lme4 package. These did better than optim in this example > but worse in others I tried. > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-dev...
2017 Sep 21
0
calling R API functions after engine shutdown
...OTECT will work even during R shutdown. In some cases cleanup code that would be put in C++ destructors, if they were safe with R, can instead be put into R finalizers. Tomas On 09/21/2017 04:41 PM, Lukas Stadler wrote: > Hi! > > We?ve recently come across an example where a package (minqa) creates an Rcpp Function object in a static variable. > This causes R_ReleaseObject to be called by the destructor at a very late point in time - as part of the system exit function: > > static Function cf("c"); > > I?m wondering if that is considered to be ?safe?? > Is...
2010 Sep 17
0
question on OPTIMX with installing and using
...5 sums checked package 'BB' successfully unpacked and MD5 sums checked package 'ucminf' successfully unpacked and MD5 sums checked package 'Rcgmin' successfully unpacked and MD5 sums checked package 'Rvmmin' successfully unpacked and MD5 sums checked package 'minqa' successfully unpacked and MD5 sums checked package 'setRNG' successfully unpacked and MD5 sums checked package 'optimx' successfully unpacked and MD5 sums checked The downloaded packages are in C:\Documents and Settings\mycomputer\Local Settings\Temp\Rtmpd7resh\downloade...
2010 Oct 01
1
Place constrictions on parameters when using Optim and MaxLik
Hi R users, I am trying to restrct the range of two of the parameters in a maximization problem. Both parameters should be between -1 and 1. As far as I know, if I choose the estimation method ="L-BFGS-B" under Optim, I can restrict the parameter space. However, the "L-BFGS-B" always require finite values of the loglik function and cannot get around of the problem if an
2009 Aug 20
2
optimization free software
Hi i´m starting to work with free software (with free as in freedom) i've been working with GAMS (General Algebraic Modeling System) to solve static and dynamic optimization problems and non-linear large systems of equations i'm wondering if there is any free software and documentation on the subject, wether in R, Maxima, or something else i will appreciate any help and any references
2010 Apr 03
0
Restricting optimisation algorithm's parameter space
...kibbitzing. Stefan Theussl and others have the R Optimization Infrastructure. There are some differences of focus in these projects. For the present poster, I cannot unfortunately help much on GNLM details, but I can say that there are trial versions of methods that will handle bounds (packages minqa, Rcgmin and Rvmmin) that accept bounds, along with existing L-BFGS-B in optim(). Rcgmin and Rvmmin also accept "masks", that is fixed parameters. These routines are about to go into CRAN. It appears GNLM is not a CRAN package. Does it permit substitution of optimizer? That is somethin...
2012 May 17
3
nls and if statements
Hi All, I have a situation where I want an 'if' variable to be parameterized. It's entirely possible that the way I'm trying to do this is wrong, especially given the error message I get that indicates I can't do this using an 'if' statement. Essentially, I have data where I think a relationship enters when a variable (here Pwd) is below some value (z). I don't
2009 Dec 10
1
obtain intermediate estimate using optim
Hi, Currently I am trying to solve a minimization problem using optim as method Nelder-Mead. However, Neldel-Mead needs many iterations until it finally converges. I have set $control.trace and $control.report such that I can see the value of the function at each iteration. I do see that I set the convergence criteria to strict in the sense that the function value does not change much. However,
2009 Nov 19
2
Calling R (GAMM) from Fortran
Hello,   I am currently working on a modeling project using Fortran to run large repetitive loops (many DO loops). As part of this process I would like to use a model fit in R and currently stored as an R object. This is a rather complex model, a GAMM, and I am curious whether there is a way to call this model from Fortran. I am not sure "call" is correct terminology, but I
2017 Dec 31
1
Order of methods for optimx
Dear R-er, For a non-linear optimisation, I used optim() with BFGS method but it stopped regularly before to reach a true mimimum. It was not a problem with limit of iterations, just a local minimum. I was able sometimes to reach better minimum using several rounds of optim(). Then I moved to optimx() to do the different optim rounds automatically using "Nelder-Mead" and