similar to: DCUHRE - Multiple integration

Displaying 20 results from an estimated 60000 matches similar to: "DCUHRE - Multiple integration"

2004 Jul 27
1
Integration with "adapt"
Hi all, I need to calculate a multidimensional integration on R. I am using the command "adapt" (from library adapt), although sometimes I get the following error message: Ifail=2, lenwrk was too small. -- fix adapt() ! Check the returned relerr! in: adapt(3, linf, lsup, functn = Integrando1) I guess it happens because the domain of integration is too small, although I tried a
2004 Nov 11
0
ROracle SQL length limitation
Hi All, This question was brought up some time ago but I never saw a reply so I'd like to bring it up again. When using ROracle package (version 0.5-5), I am unable to run any queries that are greater than 4000 characters in length. If I do, I get the following message: Error in oraPrepareStatement(con, statement, bind=NULL) : RS-DBI driver: (too long a statement -- it must has less than
2004 Nov 10
2
fSeries
Good morning everyone, I use for the first time the package fSeries and i try to run the example given by Diethelm Würtz. But when i run its example which is the following # # Example: # Model a GARCH time series process # # Description: # PART I: Estimate GARCH models of the following type ARCH(2) # and GARCH(1,1) with normal conditional distribution functions. # PART II: Simulate
2003 Apr 26
2
Multiple Integration
Dear all, May I do multiple integration using R? I was looking adapt but it is saying it integrates a scalar function over a multidimensional rectangle. I have integrand of several variable and upper, lower limit too variable. I wanted to see the result using adapt (though it is not for this purpose, I suppose) Func<-function(x){(x[1]*x[2])} adapt(2, lo=c(0,1), up=c(1,x[1]), functn=Func) it
2023 Dec 11
1
Base R wilcox.test gives incorrect answers, has been fixed in DescTools, solution can likely be ported to Base R
While using the Hodges Lehmann Mean in DescTools (DescTools::HodgesLehmann), I found that it generated incorrect answers (see <https://github.com/AndriSignorell/DescTools/issues/97> https://github.com/AndriSignorell/DescTools/issues/97). The error is driven by the existence of tied values forcing wilcox.test in Base R to switch to an approximate algorithm that returns incorrect results - see
2006 Apr 03
1
Integration of C and Fortran
Dear all, I am running R : Copyright 2005, Version 2.2.1 (2005-12-20 r36812) ISBN 3-900051-07-0 On a mac 10.4.5 I am having trouble with my package. The trouble is the following: In my package I have integrated three files in my src folder. 1- simplematch.C a .C file 2- ordering.f a fortran file 3- Makevars : PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) I am not sure if that last file is
2003 Apr 04
0
R crashes on calling a Fortran routine (PR#2728)
Full_Name: martyn byng Version: 1.6.2 OS: windows 2000 (professional) Submission from: (NULL) (62.231.145.253) I am having problems calling a fortran routine from within R. When the routine is called, R exits with an application error: "The instruction at 0x004a8b7d referenced memory at 0x200000015. The memory could not be written". The R code used to call the routine is:
2005 Oct 10
1
passing char to Fortran routine
Hello all, I am using an existing Fortran routine that takes a single character string as argument. The routine echoes the argument that I provide. When working on OS X 3.9 there seems to be no problem, ie the Fortran routine nicely echoes my argument. However, I compiled the same package on a PC (using all the tools provided in the R for windows faq), and the routine only echoes the first letter
2003 Apr 03
1
Calling Fortran routines
Hi, I am having problems calling a fortran routine from within R. When the routine is called, R exits with an application error: "The instruction at 0x004a8b7d referenced memory at 0x200000015. The memory could not be written". The R code used to call the routine is: .Fortran("GTEST",a=as.integer(1),b=as.integer(3),c=as.integer(-10),d=as.inte ger(0),e=as.integer(0)) The
2002 Jan 31
1
Leaps and bound
Hi, I used the bic.surv function, S-PLUS functions developed by Chris Volinsky http://www.research.att.com/~volinsky/bma.html, without problems with S-PLUS. I have to use it with R but I am face with a problem: this function call a fortran routine named "leaps" (answer <- .Fortran("leaps", arguments)). I loaded the leaps library, and the leaps function work well with my R,
2016 May 26
0
Adapting and open-sourcing PGI's Fortran frontend for LLVM
Chad, et al, In addition to Doug’s excellent technical update, I’ll note that we are starting to have some discussions on the DOE side with PGI about establishing a more formal review team made up of some key LLVM stakeholders to help smooth the way for a broader public rollout of the Flang code base and eventual integration. We’ll probably rely on Hal and others here to help us figure out who
2004 Jul 05
1
passing char's from C to Fortran (mac os x)
Hello All, In some package I use a c-routine which calls a fortran routine which expects a char-string as input. As per the writing R-extensions manual, the Fortran routine is declared in C as: void F77_NAME (setoptions) (char **option); and then it is calles as follows: char **option; option = new char*[1]; option[0] = new char[256]; option[0] = strcpy(option[0],"Iteration
2004 Dec 02
3
R and Fortran in Windows
I just joined the list and appologize if this has been answered before but I am trying to interface between R and the Compaq Visual Fortran compiler version 6.6 for Windows. I found the following instructions on the web -- and an example. When I follow these directions exactly. R 2.0.0 crashes. Has anyone had any experience with this? Below are the instructions that I located: Thanks Dan
2016 May 26
0
Adapting and open-sourcing PGI's Fortran frontend for LLVM
No closed doors intended here. Just a recognition that for something like an initial review to be useful, we probably have to be a bit careful in how many people we can reasonably involve before it could get unwieldy, and trying to be respectful of people’s time if we can nail down 90% of issues with a smaller group before going broader. I think we’d be fine with opening up the WebEx presentations
2009 Mar 26
1
Fortran-90 and R
I have some code in Fortran-90 that outperforms my R implementation of the same algorithm (in terms of speed). I wonder whether it is possible to interface R with Fortran-90. that is would like to call a Fortran routine from my R script, passing to the Fortran routine some real numbers array, some scalar real numbers, and an integer number . I have no idea how to do that because Fortran is a
2002 Mar 07
0
Strange problems with external Fortran routine
Here's a solution that took a while to find; I wanted to write it to the list so it'll be available for people in the future. Summary: In external Fortran code, use SUBROUTINEs, don't use FUNCTIONs. A colleague had bizarre things happening in uniroot() (a root finding routine), which she used to call an R function that called a Fortran routine to do some calculations. For example,
2008 Feb 22
1
What exactly does rchkusr() do?
Hi all, I am trying to compile a fortran routine originally written for R from within matlab. It all worked fine, but the newest version of the Fortran code has a call to rchkusr() and I now get a message that this is an undefined symbol. I am under the impression that rchkusr() just serves to let the processor take care of interruption messages (typically, the user frantically
2016 May 27
1
Adapting and open-sourcing PGI's Fortran frontend for LLVM
This process is certainly only open to a select group, so pragmatically it's closed. I can understand that it will certainly not be an easy process once it's public due to the amount of code and complexity. Maybe someone can comment on a specific issue - When we ported our Fortran front-end to target llvm, we found that Fortran ENTRY doesn't map very well to llvm ir. Can anyone who
2016 May 26
2
Adapting and open-sourcing PGI's Fortran frontend for LLVM
> On May 26, 2016, at 1:57 PM, Neely, Rob via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Chad, et al, > > In addition to Doug’s excellent technical update, I’ll note that we are > starting to have some discussions on the DOE side with PGI about > establishing a more formal review team made up of some key LLVM > stakeholders to help smooth the way for a broader
2016 May 26
3
Adapting and open-sourcing PGI's Fortran frontend for LLVM
Hi Chad - We have a functional Fortran compiler, with the PGI front-end bridged directly to LLVM, all of our Fortran runtime libraries integrated, and the Clang driver adapted for use with the Fortran compiler. We're working with a few users at DOE who are trying to compile big applications with a binary version of the compiler. Work is ongoing to migrate the source code into an LLVM-style