Displaying 20 results from an estimated 1000 matches similar to: "Solving nonlinear system equation"
2008 Jul 19
2
How to solve systems of nonlinear equations in R?
Hey,
I was wondering if there existed a R function similar to 'fsolve' or
'fzero' Matlab functions?
Thanks!
Francois Aucoin
[[alternative HTML version deleted]]
2003 Feb 21
5
Problem Writeing a pipe using R (stdin is consumed)
Hi everybody,
I a, trying to use R as a pipe like this:
cat inputData | R --silent RCommandFile >outputData
The RCommandFile would contain something like readLines(stdin()).
I have tryed various things and none did work cleanly.
One possible solution is to use the pipe() function inside R and to pass in the "cat inputData" however this is not very convenient
since I would like to
2003 Jul 21
1
grid and gtkDevice package clipping bug.
Hello!
When I draw points on grid's viewport with clip set to TRUE clipping
does not have effect on some symbols. It happens only when drawing over
gtkDevice (GTK ver. 1.2) (with postscript device clipping works OK -
take a look at this screenshot
http://www.hppi.troitsk.ru/Kondrin/clipbug.png) and only with symbols
that are drawn with commands other than gdk_draw_polygon() (i.e. circles
2007 Sep 24
1
Root finding problem
Hello,
I have a problem finding a root of a function, which I define like this:
tuki <- function(u, x, a, lambda){
if((lambda%%1>0) & u<0) {u<-(u+0i)}
f <- Re(x-(a*(u)^lambda-(1-(u))^lambda)/lambda)
f
}
What I want to do is to find the root, but without specifying the
interval within which to search for it. I can do it easily in MATLAB
with fsolve() or fzero() functions.
I
2003 Jul 17
6
Formal definitions of R-language.
Hello!
Some CS-guys (the type who knows what Church formalism is) keep asking
me questions about formal definitions of R-language that I can not
answer (or even understand). Is there some freely available papers which
I can throw at them where it would be explained is R
functional/OOP/procedural language, does it use weak/strong,
dynamic/static typization, does it use lazy or ...(do not know
2003 Sep 27
1
CRAN mirror - howto?
Hello!
There is a group of administartors of Russian internet site
www.linuxportal.ru (this is mainly a forum for linux-users) who are
intended to host on this site mirrors of linux distributions and open
source software with http and ftp access. I have proposed to them to
open there a CRAN mirror, making a point what this site would be a first
R mirror in .ru domain, and they seems to accept
2005 Mar 20
2
Using locator() to digitise
Hi Folks,
I'm contemplating using locator() to digitise external
graphics. To set context, I would be using X11 display
on Linux.
To pre-empt the obvious comment: I've found on the R site
the suggestion to use the 'pixmap' package. I've tried
this, and it works; but it involves building a big R
object (the internal pixmap representation), and this
chokes my somewhat puny
2003 Feb 19
4
fitting a curve according to a custom loss function
Dear R-Users,
I need to find a smooth function f() and coefficients a_i that give the best
fit to
y ~ a_0 + a_1*f(x_1) + a_2*f(x_2)
Note that it is the same non-linear transformation f() that is applied to
both x_1 and x_2.
So my first question is how can I do it in R?
A more general question is this: suppose I have a utility function U(a_i,
f()), where f() is say a spline. Is there a general
2013 Aug 29
1
Problem with "Peaks" package - followup…
Hi,
I apologize for not following the posting rules?
Here is the text from my previous post:
"I started evaluating the 'Peaks' package a couple of months ago and found it to be quite
useful. Getting back to it last week I had to set up my R environment due to hardware
changes again. The Peaks package loads with no problem.
After successfully reinstalling all packages (RedHat
2003 Oct 21
1
Patches for DBI/RMySQL "valueClass" problem?
According David Jame's response to my earlier question, there is a
problem with setGeneric.setMethod in R 1.8.0 that affects DBI and RMySQL.
Is there a fix for this? David Jame's refers to an 'R-patched version'
but I haven't seen anything like this on CRAN. Would going back to an
older version of R solve the problem?
Thanks,
Barnet Wagman
"David James wrote:
2008 Aug 04
5
Are there any guis out there, which will allow editing of the graph?
Hi, all,
I would like to know if there is any gui interface out there
(academic or commercial) that allows one to edit R-language generated
graphs (e.g positioning x axis labels.) It would be nice to have
something like the user interface of Igor or Origin. I have already
used JGR and R-gui. These are good, but they don't allow one to
easily edit graphs. I have also tried
2023 Oct 19
12
[Bug 3629] New: Building with Clang-17 fails due to -fzero-call-used-regs
https://bugzilla.mindrot.org/show_bug.cgi?id=3629
Bug ID: 3629
Summary: Building with Clang-17 fails due to
-fzero-call-used-regs
Product: Portable OpenSSH
Version: 9.5p1
Hardware: amd64
OS: Mac OS X
Status: NEW
Severity: critical
Priority: P5
Component: Build system
2005 May 01
3
Roots of quadratic system.
Hello,
I have a system of quadratic equations (results of a Hamiltonian optimization)
which I need to find the roots for. Is there a package and/or function which
will find the roots for a quadratic system? Note that I am not opimizing, but
rather solving the first order conditions which come from a Hamiltonian. I am
basically looking for something in R that will do the same thing as fsolve in
2005 Jun 08
2
Converting code from MATLAB to R
Hi,
I'm having trouble converting code from MATLAB to R; I want to find the
equivalence to MATLAB's function 'fsolve'. I've tried 'nlm', on the
squared argument, in R but i did not get the same results.
Thankful if helped.
Best regards,
Martin Englund
------------------------------------------------------------------------------
This e-mail and any attachment may
2024 Mar 24
7
[Bug 3673] New: -fzero-call-used-regs=used detection fails on Linux m68k with GCC 13
https://bugzilla.mindrot.org/show_bug.cgi?id=3673
Bug ID: 3673
Summary: -fzero-call-used-regs=used detection fails on Linux
m68k with GCC 13
Product: Portable OpenSSH
Version: 9.7p1
Hardware: 68k
URL: https://bugs.debian.org/1067243
OS: Linux
Status: NEW
Severity: normal
2011 Apr 14
1
Using GSL Routines
Dear R-programmers,
I am trying out certain methods in R, and the statistics require me to
calculate n-(sample size) dimensional equations. They are not really very
hard to solve - my home-brew implentation of Newton-Raphson in R succeeds
most of time with simulated data. (Note that I am assured of a unique
solution by theory). Problem comes in with real data, for which I should
really implement
2012 Oct 22
1
Matlab code to R code
Dear r-users,
I would like to convert my Matlab code to R-code, however it dies not work as expected. Hope somebody can help me to match Matlab and r codes.
R code:
rr <- function(r,cxn)
{
tol <- 1E-4;
for(i in 1:n)
{
t1 <- (1+(i-1)*r)*log((1+(i-1)*r))
t2 <- (i-1)*(1-r)*log(1-r)
rri <- ((t1+t2)/i*log(i))-cxn
rr <- rri > tol
}
round(rr,4)
}
rr1 <- rr(0.5,0.0242) ; rr1
2023 Mar 08
3
[PATCH] x86/paravirt: convert simple paravirt functions to asm
All functions referenced via __PV_IS_CALLEE_SAVE() need to be assembler
functions, as those functions calls are hidden from gcc. In case the
kernel is compiled with "-fzero-call-used-regs" the compiler will
clobber caller-saved registers at the end of C functions, which will
result in unexpectedly zeroed registers at the call site of the
related paravirt functions.
Replace the C
2004 Mar 26
2
Omegahat down?
I was wondering the same thing.
The traceroute seems to end at their border router, which leads me to
believe that they has a hardware failure.
Hoping that they get it up in a few days.
I've checked around and there are a few mirrors but they all just hang, so I
guess we have to wait...
Mark Fowle
-------------------------------------------------------
Navicom Inc.
One Steelcase Road W
2024 Apr 23
3
[Bug 3682] New: incorrectly thinks that -fzero-call-used-regs should work
https://bugzilla.mindrot.org/show_bug.cgi?id=3682
Bug ID: 3682
Summary: incorrectly thinks that -fzero-call-used-regs should
work
Product: Portable OpenSSH
Version: 9.7p1
Hardware: ARM
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Build system