Displaying 20 results from an estimated 2000 matches similar to: "optim: why is REPORT not used in SANN?"
2009 Mar 04
1
CRAN package check on MacOS: sh: line 1: gs: command not found
Dear R developers,
I recently observed a NOTE on several MaxOS X package checks:
sh: line 1: gs: command not found
!!! Error: Closing Ghostscript (exit status: 127)!
/usr/bin/texi2dvi: thumbpdf exited with bad status, quitting.
See for details:
http://www.r-project.org/nosvn/R.check/r-release-macosx-ix86/simecol-00check.html
or
2007 Oct 23
0
API for optimization with Simulated annealing
Dear list,
I was trying to use the R API for optimization method "Simulated annealing"
void samin(int n, double *x, double *Fmin, optimfn fn, int maxit,
int tmax, double temp, int trace, void *ex);
but I encountered the following problem:
The implementation of the function samin (as seen in src/main/optim.c)
passes its void * argument "ex" into the function
2008 Dec 03
1
nlminb: names of parameter vector not passed to objective function
Dear R developers,
I tried to use nlminb instead of optim for a current problem (fitting
parameters of a differential equation model). The PORT algorithm
converged much better than any of optim's methods and the identified
parameters are plausible. However, it took me a while before spotting
the reason of a technical problem that nlminb, in contrast to optim,
does not pass names of the
2009 Oct 17
2
linking to package directories broken in R >= 2.10 beta
Dear R developers,
some of our packages come with additional programming examples in a
directory called "/examples" which is created from "/inst/examples".
This directory is linked from the docs (e.g. in inst/doc/index.html):
<dl>
<dt><a href="../examples/">examples</a>:
<dd>Source code of examples
</dl>
Given, that we have a
2011 Dec 16
1
optim with simulated annealing SANN for combinatorial optimization
Hi all
I am trying to solve a combinatorial optimization problem. Basically, I can
reduce my problem into the next problem:
1.- Given a NxN grid of points, with some values in each cell
2.- Find the combination of K points on the grid such that, the maximum
mean value is obtained
I took the Travel SalesMan problem example in ?optim documentation. I am
not sure if I have understood correctly
2010 Sep 16
3
package test failed on Solaris x86 -- help needed for debugging
Dear R developers,
we have currently a 'mysterious' test problem with one package that
successfully passed the tests on all platforms, with the only exception
of Solaris x86 where obviously one of our help examples breaks the CRAN
test.
As we don't own such a machine I want to ask about a possibility to run
a few tests on such a system:
r-patched-solaris-x86
An even more recent
2009 Mar 16
1
vignette index not linked into HTML help system for package
Dear R developers,
I observed that the html help page index entry "Read overview or browse
directory" for package vignettes is missing in recent R-devel.
This happened on two independent computers (WinXP Prof. SP3, German)
with R-devel compiled from sources svn rev. 48125 resp. 48128
It's the same for my own and also for more prominent packages as well
(e.g. grid).
The
2008 Jan 21
2
experiments with slot functions and possible problems NOTE
Hello,
first of all, thanks to LT for \pkg{codeutils}. I agree that it is
indeed very useful to identify errors and also to encourage re-thinking
past solutions. My problem:
I want to compare different sets of related sub-functions which should
be used alternatively by the same top-level function. Sets of related
functions should be bound together (as lists) and the workspace should
be as clean
2007 Jun 11
1
package check note: no visible global function definition (in functions using Tcl/Tk)
Hello,
when testing packages under R version 2.6.0 Under development
(unstable), in order to discover future compatibility issues, I recently
get numerous "possible problem notes" for different (own and other
contributed) packages containing Tcl/Tk code, e.g.:
* checking R code for possible problems ... NOTE
sEdit : editVec : build: no visible global function
definition
2003 Jul 16
2
numerical differentiation in R? (for optim "SANN" parscale)
Dear R users,
I am running a maximum likelihood model with optim. I chose the
simulated annealing method (method="SANN").
SANN is not performing bad, but I guess it would be much more effecive
if I could set the `parscale' parameter.
The help sais:
`parscale' A vector of scaling values for the parameters.
Optimization is performed on `par/parscale' and these
2008 Oct 06
2
why is \alias{anRpackage} not mandatory?
Dear R developers,
if one uses package.skeleton() to create a new package, then a file
anRpackage.Rd with the following entries is prepared:
\name{anRpackage-package}
\alias{anRpackage-package}
\alias{anRpackage}
\docType{package}
Packages created this way have a definite entry or overview page, so:
?anRpackage
gives new users of a certain package a pointer where to start reading.
This is
2008 Jan 18
1
constrOptim with method SANN
Hi Everyone,
I'm trying to minimize a function using constrOptim with
the simulated annealing method SANN.
If I understand constrOptim well, it basically passes most
of its arguments to optim while somehow enforcing the constraints.
My problem is, that since SANN does not need gradients,
when using optim with SANN, the gr argument of optim is
used to specify a function to create the next
2007 Aug 27
1
silent option in nested calls to try()
Hello,
is it *really intentional* that the "silent" option of try() does only
apply to the outer call in nested try constructs? I would assume that a
silent try() should suppress all error messages regardless where they
occur, even if they are already handled with other try()'s.
The error message itself should be (and is in both cases) reported by
the return value of try().
2003 Mar 03
2
samin and vmmin
I am writing code in C and would like to call R's functions samin and
vmmin (optimization routines: simulated annealing and BFGS)
I do not understand how to create and pass in the function (as well as the
extra arguments it needs) I am optimizing.
I have read the R Extensions manual but it is still unclear to me.
Could you give me some pointers and/or direct me to some example code
which
2006 Jul 05
0
package simecol uploaded to CRAN
Dear useRs,
a new and completely re-worked version of the "simecol" package
SIMulatiion of ECOLogical (and other) dynamic systems
is now available on CRAN. Compared to the S3 based 0.2-x versions an
improved object model using S4 classes was employed. Please ask me for
assistance in case of incompatibility.
Comments are welcome, Thomas Petzoldt
2006 Jul 05
0
package simecol uploaded to CRAN
Dear useRs,
a new and completely re-worked version of the "simecol" package
SIMulatiion of ECOLogical (and other) dynamic systems
is now available on CRAN. Compared to the S3 based 0.2-x versions an
improved object model using S4 classes was employed. Please ask me for
assistance in case of incompatibility.
Comments are welcome, Thomas Petzoldt
2007 Feb 03
1
JSS Volume 18 (www.jstatsoft.org)
Special Volume on Spectroscopy and Chemometrics in R
Guest Edited by Katharine M. Mullen and Ivo H.M. van Stokkum
11 contributions, with software packages and examples
Similar volumes on R in Psychometrics (guest edited by
Jan de Leeuw) and R in Political Methodology (guest edited
by Micah Altman and Simon Jackman) are close to being finished.
Additional volumes are being worked on. Proposals
2009 Jun 12
2
External signal in ODE written in C (using deSolve and approx1?)
Dear list
The deSolve package allows you to specify the model code in C or Fortran.
Thanks to the excellent vignette this works fine. However I have not yet
managed to use forcing functions in C code.
In pure R code this works very well with approxfun() specified outside the
model:
###############################################
#Model
lvml <- function(t, x, parms) {
2008 Nov 08
1
plot.hclust with lots of objects
Dear all,
The default plotting method for hclust trees looks just fine for few
objects like in the example dataset. But when it comes to many
features (eg some 1000 and more - I'm trying to visualize clustered
microarray data) it renders a tree, that one cannot inspect, because
of overlapping text and lines. My question is, is there a way or a
plotting parameter for plotting a tree which is
2008 Nov 21
1
lsoda warning "too much accuracy requested"
Dear list -
Does anyone have any ideas / comments about why I am receiving the following
warning when I run lsoda:
1: lsoda-- at t (=r1), too much accuracy requested in: lsoda(start, times,
model, parms)
2: for precision of machine.. see tolsf (=r2) in: lsoda(start, times,
model, parms)
I have tried changing both rtol and atol but without success. I saw the
thread in the