Displaying 20 results from an estimated 1000 matches similar to: "Numerical optimisation and "non-feasible" regions"
2008 Jul 05
3
Editing the "..." argument
Dear all,
I'd like tweaking the ... arguments that one user can pass in my
function for fitting a model. More precisely, my objective function is
(really) problematic to optimize using the "optim" function.
Consequently, I'd like to add in the "control" argument of the latter
function a "ndeps = rep(something, #par)" and/or "parscale =
2008 Apr 06
2
Matrix multiplication in a C code
Dear list members,
I've got a small question on matrix multiplications in a C code. Because
of a really cpu demanding likelihood, I had to use a C code within an R
function wrapper. I'm pretty sure that there is already one good code
for matrix multiplication in C - maybe in the R source code itself - but
I wasn't able to find it.
Anyone as an idea on how to handle matrix
2008 Aug 08
2
Suggestion for the optimization code
Dear list,
Here's a suggestion about the different optimization code. There are
several optimization procedures in the base package (optim, optimize,
nlm, nlminb, ..). However, the output of these functions are slightly
different. For instance,
1. optim returns a list with arguments par (the estimates), value the
minimum (maxima) of the objective function, convergence (optim
2009 Oct 10
2
Possible bug in the Rd parser?
Dear list,
I got an automatic email complaining than some of my packages didn't
pass 'R CMD check' for R-2.10.0 alpha anymore. Both of them make use of
the "cases" LaTeX environment.
Inspecting the log outputs I got:
LaTeX errors when creating PDF version.
This typically indicates Rd problems.
LaTeX errors found:
! Misplaced alignment tab
2008 May 09
1
Have you ever experienced this problem with REAL in a C code
Dear all,
I'm currently experiencing big troubles with my C code called by .Call
in a R function.
I know this may not be the right place for such things but these errors
are driving me crazy. And I hope other people may have already
experienced these problems so that they could give me good suggestions.
Sorry if I'm completely out of topic.
Well let's go...
I'm writing a
2008 Apr 14
0
Incorrect @INC: Rcmd SHLIB error under Windows (2.6.2, 44383) (PR#11165)
Has your environment variable path been set correctly?
It's been a while that I'm not using R under windows but remember had
experienced the same error. I remember that I had to put many paths as
environment variable to build R packages properly.
Best,
Mathieu
wolpert at stat.duke.edu a ?crit :
> Hi, R team.
>
> I'm trying to build a dll from a c program to be invoked
2008 Apr 20
0
Extending R formulas
Dear list,
I'm currently trying to write a new R package to model spatial extremes.
In particular, for a model fitting procedure, I'd like to use flexible
response surfaces (like linear models, splines, ...) for the parameters
of my model. Following this idea, I'd like to allow "a new
interpretation" of an R formula given by the user, like y ~ x1 + rb(x2,
knots,
2010 Apr 20
1
zero sized messages in Maildir, corrupt filenames ?
Hi,
I'm starting to see more and more duplicates in my cur directory. they
seem to be a copy of an incoming mail (messages share the same date) but
they appears in the client as a message without subject and without
sender or body. Their filename starts with an underscore and the 4th
letter is a %. The rest of the filename is random (but it also includes
my hostname). Which program could
2007 Apr 05
0
20% off selected R and S-plus books from Cambridge University Press
Get 20% off selected Cambridge books for the R-help community.
Until the end of June, R-help users can get an exclusive discount on the
following Cambridge University Press books that use R or S-plus! Simply
visit http://www.cambridge.org/rbooks and click the appropriate link to
get more information about the book(s) that interests you. To get your
discount, you will need to click the
2008 Apr 21
4
prod(0, 1:1000) ; 0 * Inf etc
I think most of us would expect prod(0:1000) to return 0, and ...
... it does.
However, many of us also expect
prod(x1, x2) to be equivalent to
prod(c(x1,x2))
the same as we can expect that for min(), max(), sum() and such
members of the "Summary" group.
Consequently, prod(0, 1:1000) should also return 0,
but as you see, it gives NaN which may be a bit puzzling...
The
2002 Feb 28
1
ext3 blocks other with large writes
Hi there,
First of all thanks for all the ext3 development! I run it on my laptop
and it has saved me many times from lengthy fscks :-)
However, I have observed that whenever something is doing a lot of
writing to an ext3 filesystem other processes that involves I/O on the
same disk are blocked for long times (often in the 10-30 secs range).
For example, if I cp a 1.5 Gb file from one ext3
2012 Feb 22
3
OpenMP and random number generation
Dear all,
Now that R has OpenMP facilities, I'm trying to use it for my own package but I'm still wondering if it is safe to use random number generation within a OpenMP block. I looked at the R writing extension document both on the OpenMP and Random number generation but didn't find any information about that.
Could someone tell me if it is safe or not please ?
Best,
Mathieu
1999 Oct 21
1
2.05a Solaris 2.5.1 SPARC -problem-
Hello,
I've sucessfully compiled 2.05a for Solaris 2.6 and its working OK.
Compiling on Solaris 2.5.1 (with gcc or Sun cc) goes smoothly but
smbd fail with the following error in the log:
[1999/10/21 09:45:30, 0] lib/util_sock.c:(507)
read_socket_data: recv failure for 4. Error = Invalid argument
Same debug level 10
[1999/10/21 11:47:03, 2] smbd/server.c:(716)
Changed root to /
1998 Apr 30
1
Printing from NT4 public=no
Hello,
Im using samba samba-1.9.18p4 on solaris 2.6.
Every works fine with Win95. (browsing, file service printing)
With NT file service and browsing are OK.
I was wondering if its possible to print from Windows NT4 SP3
samba print services with the option
public=no
The printing fail silently on the NT machines.
I was hoping to have a 'network password' dialog box
the same way as to
2001 Oct 22
1
cdrom driver load attempt at boot
Hi there,
I've been using ext3 on RedHat 7.1 for some time and I'm very pleased with
the result. Thanks for all the hard work people have put in it!
I have however one problem: when the machine boots up it tries to load the
mcd and mcdx CD-ROM drivers (AFAIK they are old non-standard CD-ROMs). It
does this from rc.sysinit right after loading usb devices. The machine
started to do
2007 Apr 22
0
LaTeX, Sweave, Lattice and Computer Modern fonts
Dear useRs,
I am pretty sure the answer to my question is out there if I would just
take the time to cross-correlate information that's scattered among
different email exchanges, useR! presentations, Paul Murrel's website
and assorted posters, but would some charitable soul be so kind as to
explain the step by step procedure for having Sweave produce Lattice
graphics with Computer Modern
1998 May 04
2
Printing from NT4
Hello,
Does anyone have done a setup of the samba server in such
way that the user on a Windows NT4 client must enter his/her
username/password to use a printer service ?
Is that possible?
I manage to have this working with Win95 with the option public=no
but it does not seems to work for NT.
The goal is to have a control of the printer usage. (accounting)
I'm controlling the samba servers
2006 Dec 12
1
Sweave, Xfig, pdflatex and \setkeys
Dear useRs,
How does one include graphics created with Xfig with LaTeX fonts into
Sweave?
If I create a graphic with Xfig with some Computer Modern fonts, I
choose to export it as combined PDF and LaTeX. So I get two files, one
foo.pdf with the drawings without the text and foo.pdftex with some
LaTeX code that ensures the text lands in the right place together with
the drawing. I'm supposed
1999 Apr 21
1
text works with the postscript device?
Dear R experts,
R (0.63) does not seem to write me any text in a PS file.
Trying
x11()
plot(12)
text(5,5, "Hello World")
works fine.
Now I would like to have the same as a PS file.
postscript("foobar.ps")
plot(12)
text(5,5,"Hello World")
dev.off()
Gives me a PS file with the plot -- but without the
"Hello World".
Why? I'm completely clueless.
Ciao
2001 Sep 11
1
[Q] Sparse Matrices in R?
Does anyone knows if there is a way to handle sparse matrices in R?
More precisely I am looking for a way to do correspondance analysis
on a contingency table which is quite huge (1,000 x 10,000) but sparse
(i.e. full of zero).
Creating it directly in R (eg as x <- array(0,c(1000,10000) then filling
the non zero cells) seems definitely not the good solution as
R is then unable to process it