search for: guillot

Displaying 13 results from an estimated 13 matches for "guillot".

2005 Oct 26
1
pb with dyn.load - fortran code now attached
...ied the sequence as much as possible and I end up with the the simple fortran programs and R code atached which give the result below. Any explanation about the strange things below and what I should do to avoid them would help. Gilles ######################################### QUESTION 1: [guillot at laplace guillot]$ R R : Copyright 2005, The R Foundation for Statistical Computing Version 2.2.0 (2005-10-06 r35749) ISBN 3-900051-07-0 >system("R CMD SHLIB ~/tmp/test1.f") g77 -fPIC -g -O2 -c /home/guillot/tmp/test1.f -o /home/guillot/tmp/test1.o gcc -shared -L/usr/local/lib...
2004 Oct 25
5
building a package under windows
...) and I had a trouble at this step (which aim is not documented): C:\Program Files\R\rw2000\src\gnuwin32>make libR.a libRblas.a dlltool -k --as as --dllname R.dll --def R.exp --output-lib libR.a make: *** [libR.a] Error 255 But still, I tried to build my package by C:\Documents and Settings\guillot\Mes documents\package>Rcmd check geneland and got : * checking for working latex ...latex: not found NO * using log directory 'C:/Documents and Settings/guillot/Mes documents/package/ eneland.Rcheck' * checking for file 'geneland/DESCRIPTION' ... OK * checking if this is a s...
2005 Oct 26
0
pb with dyn.load
...ied the sequence as much as possible and I end up with the the simple fortran programs and R code atached which give the result below. Any explanation about the strange things below and what I should do to avoid them would help. Gilles ######################################### QUESTION 1: [guillot at laplace guillot]$ R R : Copyright 2005, The R Foundation for Statistical Computing Version 2.2.0 (2005-10-06 r35749) ISBN 3-900051-07-0 >system("R CMD SHLIB ~/tmp/test1.f") g77 -fPIC -g -O2 -c /home/guillot/tmp/test1.f -o /home/guillot/tmp/test1.o gcc -shared -L/usr/local/lib...
2004 Oct 22
1
building an R package : where and how should my fortran library be loaded ?
...# and include my R functions in it R> package.skeleton(name="Geneland", list=c("mcmcFmodel", "simFmodel", "rdiscr", "tessel.post"), path="/home/guillot/projets/flux/package/", force=T) # copy my fortran code in the tree R> system("cp /home/guillot/projets/flux/package/fortran/*.f /home/guillot/projets/flux/package/Geneland/src/") R> q() 2) In a Unix shell $ R CM...
2005 Jun 14
3
Calling C from Fortran
I would like to call C routines from Fortran under linux as suggested in section 5.6 of the "Writing R extensions" documentation. I'm familiar with Fortran but not with C. I understand the example provided in Fortran: subroutine testit() double precision normrnd, x call rndstart() x = normrnd() call dblepr("X was", 5, x, 1) call rndend() end but I don't understand
2005 Jul 05
1
calling fortran functions CHOL and DPOTRF form Fortran
...to see the source code of this function to check if my call is correct. I've not been able to find it in the R source distribution. Could anyone point the place of that file? Thanks in advance, Gilles -- _________________________________________________________________________ Gilles GUILLOT INRA -D?partement Math?matiques et Informatique Appliqu?es Unit? Mixte de Recherche INRA - INAPG - ENGREF Institut National Agronomique de Paris-Grignon 16, rue Claude Bernard 75231 Paris cedex 5 France phone 33 1 44 08 18 42 fax 33 1 44 08 16 66 http://www.inapg.fr/ens_rech/mathinfo/personnel...
2005 Nov 30
2
R binomial RNG stuck at 1 via Fortran call
...pen to call the binomial RNG within a loop as b = ggrbinom(1.d0,0.5d0) write(*,*) 'b=',b In certain cases, after a few iterations in the loop, b get stuck at 1 Any hint to explain that would help. Gilles -- ??????????????????????????????????????????????????????????????????? Gilles Guillot INRA - MIA Paris Currently working from G?teborg Stochastic Centre Eklandagatan 86 - Rum1439 Chalmers University of Technology SE 412-96 G?teborg Sweden Phone +46 31 772 3514 / Fax +46 31772 3508 www.inapg.inra.fr/ens_rech/mathinfo/personnel/guillot/welcome.html ??????????????????????????????...
2005 Nov 08
1
R build under mandriva 10.2
After upgrading from mandrake 10.1 to mandriva 10.2 I can't build shared archive with R 2.2.0 [guillot at laplace src]$ R CMD SHLIB main.f sub.f wrapper.c gcc -shared -L/usr/local/lib -o main.so main.o sub.o wrapper.o -lg2c -lm -lgcc_s /usr//bin/ld: cannot find -lg2c collect2: ld returned 1 exit status make: *** [main.so] Erreur 1 I guess the information in http://finzi.psych.upenn.edu/R/Rhelp0...
2005 Jun 14
1
Calling C from Fortran
I would like to call C routines from Fortran as suggested in section 5.6 of the "Writing R extensions" documentation. I'm familiar with Fortran but not with C. I understand the example provided in Fortran: subroutine testit() double precision normrnd, x call rndstart() x = normrnd() call dblepr("X was", 5, x, 1) call rndend() end but I don't understand the purpose
2004 Dec 03
2
Status of linux 2.6 support
I'm sure that this question gets asked frequently, but a quick perusal of the list archives shows that it hasn't been asked in a least a month or so, so pardon any repetition. What is the current state of asterisk on linux 2.6? I ask, because I spent yesterday giving it a whirl, and everything seems to go just fine till the very last minute. Zaptel, libpri and asterisk compile just
2011 Feb 08
1
Recuperate Spectrum() amplitude
...6400)])/length(Piezo) Does anyone of you use both Matlab and R and have already find differences in results ? Or does my trouble comes from my own methodology ? Thank you very much in advance for your feedback, -- --------------------------------------------------------------------------- Marie Guillot PhD Student INRA - UR1263 Centre de Recherche de Bordeaux Unit? de Recherche EPHYSE
2005 Nov 30
1
RNG stuck via Fortran call
Having not much success with my previous question I try to reformulate it: I'm simulating a Markow chain in Fortran interfaced with R. Each loop of my Fortran calls various functions of the R RNG through the wrapper given below. In a run of 100 iterations of the Markov kernel, after 20 iterations, the RNG seems like frozen. For example, the first call to the RNG in my loop is:
2004 Jan 19
1
memory limitation with Fortran interface
Hi, I'm using R 7.0 under Linux as a programming interface to Fortran (g77 v0.5.24). Basically, what I want to do is to call a fortran subroutine of mine which performs MCMC computations. Apparently I'm getting into memory management problems. To track the problem I wrote the following small Fortran subroutine (saved as test.f) : subroutine test(n,p) implicit none