Displaying 20 results from an estimated 1300 matches similar to: "interior point methods, automatic differentiation in R"
2009 Feb 22
2
[SoC09-Info] An IPopt interface for R
There have been several messages on R-devel mentioning the interior
point optimization software Ipopt, https://projects.coin-op/Ipopt/.
This C++ library is released under a license called the Common Public
License.
I have two questions that readers of R-devel may be able to answer.
1) Would creating an Ipopt interface for R be duplicating existing
efforts? That is, has someone already done so
2009 Jul 21
2
destructor for S4 class objects in analogy to C++
Hi all,
I'm wondering if there is a way to define a destructor function (to free
memory) for S4 class objects in analogy to C++?
rm() combined with gc() does not seem to be a good idea (Chambers, 2008).
So could it be done on the C/C++ level or is it even already available in
the "internals"?
Many thanks,
David
[[alternative HTML version deleted]]
2009 Feb 04
5
ggplot: problem with fill option in stat_smooth()
Hi all,
I am using ggplot2 and continuing to find it very useful and pretty.
However, I am trying to create some graphics for publication that would be
included in an MS Word document (not my choice!) in Windows Vista.
The problem is that I want to use stat_smooth() to add an fitted linear
model line along with its 95% confidence band, but I cannot seem to get the
confidence band in a format
2004 Oct 12
5
covariate selection?
Hello,
I am hoping someone can help me with the following multivariate issue:
I have a model consisting of about 50 covariates. I would like to
reduce this to about 5 covariate for the reduced model by combining
cofactors that are strongly correlated. Is there a package or function
that would help me with this in R? I appreciate any suggestions.
Thanks,
Ian
2010 Jul 07
4
constrained optimization
Dear list,
The task view on optimization does not reference a package for non linear
constrained optimization problems. Stefan Theussl told me to look at the
Rsolnp package, but unfortunately it is not very clear what method is R
ported. (The authors ported the matlab code of Yinyu Ye
http://www.stanford.edu/~yyye/ <http://www.stanford.edu/%7Eyyye/>)
Currently I'm looking for an
2018 May 21
1
mapping groups of states without interior borders
I have been using the "map" function in R and I was wondering if there is a way to map multi-state regions just showing the outline of the region without interior state borders. For instance, I am calculating aggregated statistics using 10 multi-state regions. I would like to color-code individual states based on my dataset but then to create black outlines around each of these 10
2009 Nov 25
1
interior and exterior colors of a map
Hi useR's,
I have an image plot I want to overlay a map of the United States on, via
map('usa'). The image is basically a large rectangular of various colors.
When I overlay the United States map, the full rectangle of the image plot
is visible, but I only want to display the image WITHIN the United States
boundary.
Does anyone know a way to do this?
Thanks in advance,
dxc13
--
2001 Apr 11
1
$HOME/.shosts and setegid()
Hello,
The ssh deamon from OpenSSH_2.5.2p2 first does a seteuid(uid) and then
stat($HOME/.shosts) to check whether a .shosts file is there. This
seems to be a problem when homedirectories are only accessible "by
group permission"; for example in the following (as I guess quite
common) case:
drwxr-x--- root mygroup 512 Apr 10 12:09 mygroup
And my personal homedirectory would now
2008 Aug 19
1
nonlinear constrained optimization
Hi. I need some advises on how to use R to find pi (i is the index) with
the following objective function and constraint:
max (sum i)[ f(ai, bi, pi) * g(ci, di, pi) * Di ]
s.t. (sum i)[ f(ai, bi, pi) * Di * pi] / (sum i)[ f(ai, bi, pi) * Di ] <=
constant
f and g are diffentiable.
So, I am thinking of optim with method = "BFGS"? But wonder how to include
the
2009 Dec 03
2
Error in namespaceExport(ns, exports) :
Dear all,
I get the error
"Error in namespaceExport(ns, exports) :
undefined exports function1 , function2"
when compiling or even when I roxygen my package. The two function I once
had in my package but I deleted them including their .Rd files. I also can't
find them in any other function or help file.
So does anybody know where these functions are still listed that causes
2009 Dec 03
2
Error in namespaceExport(ns, exports) :
Dear all,
I get the error
"Error in namespaceExport(ns, exports) :
undefined exports function1 , function2"
when compiling or even when I roxygen my package. The two function I once
had in my package but I deleted them including their .Rd files. I also can't
find them in any other function or help file.
So does anybody know where these functions are still listed that causes
2010 Oct 01
2
Issues loading rtiff 1.4.1 with R 2.6.2 on Windows
Dear R-users,
I successfully installed rtiff on by R installation, but when I tried to
load it, I got:
>local({pkg <- select.list(sort(.packages(all.available = TRUE)))
+ if(nchar(pkg)) library(pkg, character.only=TRUE)})
Error in dyn.load(file, ...) :
unable to load shared library
'C:/PROGRA~1/R/R-26~1.2/library/rtiff/libs/rtiff.dll':
LoadLibrary failure: Das angegebene Modul
2001 Oct 02
2
AFS and tokenforwarding
For some reasons the afs tokenforwarding stuff has changed
siginificantly from v 2.9p2 to 2.9.9p2.
This makes it impossible to use public key authenticication in a
standart AFS environment.
I don't know the reasons for these changes.
In any case attached is a patch which restores the old behaviour.
Regards
Serge
--
Serge Droz
Paul Scherrer Institut mailto:serge.droz at
2014 Jun 14
1
rsync compilation may find the system zlib before the included one
Hi,
I'm trying to compile rsync 3.1.1pre2 on OS X with CFLAGS=-I/opt/local/include.
The consequence of this is that rsync fails to build:
/usr/bin/clang -I. -I. -pipe -Os -I/opt/local/include -arch x86_64
-DHAVE_CONFIG_H -Wall -W -I./zlib -I/opt/local/include -c token.c -o
token.o
token.c:420:26: error: use of undeclared identifier 'Z_INSERT_ONLY'
r =
2009 Nov 20
1
linking to external C++ library
Dear all,
I don't bring my head around how to link an external C++ library with some R
code using R CMD SHLIB and/or R CMD INSTALL .
So does anybody can tell me how I could easily link an external library that
is e.g. in
/usr/local/lib/mMyLibrary ?
Many thanks,
David
[[alternative HTML version deleted]]
2007 May 03
0
Problem of displying contents of shares
I'm using samba 3.0.24. I create my Makefile for cross compiling smbd nmbd
testparm and CP850.so:
Makefile:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Flags divers
#COFLAGS=-O2
CWFLAGS= -g -Wall
# Cross compile tools
CC=mips-linux-gcc
#CC=gcc
LINT=splint
SHLD= $(CC) -O -D_SAMBA_BUILD_
LDSHFLAGS=-shared -Wl,-Bsymbolic
2009 Dec 01
1
eigenvalues of complex matrices
Dear all,
I want to compute the eigenvalues of a complex matrix for some statistics.
Comparing it to its matlab/octave sibling, I don't get the same eigenvalues
in R computing it from the exact same matrix.
In R, I used eigen() and arpack() that give different eigenvalues. In
matlab/octave I used eig() and eigs() that give out the same eigenvalues but
different to the R ones.
For real
2009 Feb 09
1
percentage of variance explained by factors
Hello!
I've run a simple linear model: result<-lm(DV~A+B+C,data=Data)
My Data$A,Data$B, and Data$C are factors. So, lm automatically recoded
them into dummy variables. I have all the results I need but one.
Question: Where could I see the variance explained by all A dummy
variables together, then all B dummy variables together, and all C
dummy variables together - when other predictors
2009 Oct 06
3
rpois formula
Hi all,
It's been a while since i've used R and I can't remember how to do the
following:
i have
a = rpois (100000, x)
b = rpois (100000, y)
what is the code to show that a>b, b>a and a=b to show just the number of
occurances?
at the moment when I type a>b I get a nice long list of true or false.
so i'm hoping to have the following
a>b
> 35000
b>a
> 25000
2007 Aug 20
3
Differentiation
Hi,
Could anyone tell me what is the command used in R to do
1. Differentiation
2. Newton Raphson method (Numerical Analysis in general...)
Are there any packages separately for this?
Thanks for your help!
BR, Shubha
[[alternative HTML version deleted]]