Dear prof. Brian Ripley,
Thanks for help!
I compiled using the command:
MAKEFLAGS="FCFLAGS=-fopenmp" R CMD SHLIB hello.f90
I use linux mint Maya, R 3.0.1 and gfortran 4.6.3.
Thanks,
Fábio Mathias Corrêa
Universidade Estadual de Santa Cruz
Departamento de Ciências Exatas e da
Dears,
I am writing a code in Fortran using OpenMP directives.
When compiling the code in gfortran 4.4 does not occur any problem.
When compiling the code in gfortran 4.6, an error message appears.
In other compilers the error does not occur.
A small example.
## Code in Fortran
subr
Dears,
I am writing a code in Fortran using OpenMP directives.
When compiling the code in gfortran 4.4 does not occur any problem.
When compiling the code in gfortran 4.6, an error message appears.
In other compilers the error does not occur.
A small example.
## Code in Fortran
subr
Dears,
I am writing a code in Fortran using OpenMP directives.
When compiling the code in gfortran 4.4 does not occur any problem.
When compiling the code in gfortran 4.6, an error message appears.
In other compilers the error does not occur.
A small example.
## Code in Fortran
subr
e or directory
ERROR: lazy loading failed for package ‘Bayesthres’
* removing ‘/home/fmc/Bayesthres.Rcheck/Bayesthres’
Best wishes
Fábio Mathias Corrêa
Departamento de Estatística
Universidade Estadual de Santa Cruz
- Mensagem original
De: Simon Urbanek
The inst has CITATION only.
Best wishes
Fábio Mathias Corrêa
Departamento de Estatística
Universidade Estadual de Santa Cruz
What is in inst? Make sure you have no binaries there.
Cheers,
Simon
>
>
> Fábio Mathias Corrêa
> Departamento d
Dear,
I am using Ubuntu linux and R2.12.0
The trial version is in my home.
\home\Bayesthres~$
To perform the R CMD check
\home~$ R CMD check Bayesthres
Within the directory Bayesthres, have:
Directories: inst, man, R and src
Files: DESCRIPTION AND NAMESPACE
Best wishes
Fábio
... but th
tadual de Santa Cruz
- Mensagem original
De: Simon Urbanek
Para: Fabio Mathias Corrêa
Cc: r-devel@r-project.org
Enviadas: Quarta-feira, 15 de Dezembro de 2010 13:41:34
Assunto: Re: [Rd] Namespace File
On Dec 15, 2010, at 6:57 AM, Fabio Mathias Corrêa wrote:
> Dear colleagues,
>
Dear colleagues,
Problem solved with:
".First.lib" <- function(lib, pkg)
{
library.dynam("Bayesthres", package = pkg, lib.loc = lib)
return(invisible(0))
}
Fábio Mathias Corrêa
Departamento de Estatística
Universidade Estadual de Santa Cruz
_
Dear Colleagues,
I am developing a library. However I am having the following problem with the
file NAMESPACE.
My file contains:
useDynLib(Bayesthres, vuA)
export(Bayesthres,
random.effects,
fixed.effects,
)
exportClasses("Bayesthres")
My function is:
Avuall <- function(Z
Dear,
I used the command in the terminal to compile code FORTRAN with directive OpenMP
export PKG_FCFLAGS=-fopenmp
It functioned perfectly for pure code FORTRAN.
However, when I call a function in C in code FORTRAN, the function in C is not
compiled.
The following error appears
~/Fortran/pa
ipley
> Assunto: Re: [Rd] Changing options in R CMD SHLIB
> Para: "Fabio Mathias Corrêa"
> Cc: r-devel@r-project.org
> Data: Terça-feira, 20 de Outubro de 2009, 5:08
> Please see the manual -- 'Writing R
> Extensions'. If you want to use
> custom compi
Dear,
I managed to use directives OpenMP in R.
To compile I used the gfortran directly. For example:
gfortran-shared-O2 teste.f90-fopenmp-fPIC
By using the code in R, it works perfectly!
However, I need to use some specific libraries of R, for use in C functions in
Fortran 95.
When compiling
I use linux Mint and R.2.9.2
Thank you!
Fábio Mathias Corrêa
Estatística e Experimentação Agropecuária/UFLA
--- Em ter, 20/10/09, Prof Brian Ripley escreveu:
> De: Prof Brian Ripley
> Assunto: Re: [Rd] Changing options in R CMD SHLIB
> Para: "Fabio Mathias Co
Dear,
When trying to use directive OpenMP in my code, I observed that the directive
ones were being considered as commentaries.
Compiling with command R CMD SHLIB xxx.f95 - fopenmp and calling the function
in the R verified that threads was not being considered.
I was to observe the options of
Dear,
I wrote a code in Fortran using OpenMP. When testing the code in Fortran it was
working. However, changing the code for the R, it does not indicate the use of
threads, it should indicate.
I know that the R accepts the directives of OpenMP, but I can not use them
correctly in R.
Below is a
Dear,
I looked in the list something on as to compile a code with access the High
Performance FORTRAN using R CMD SHLIB, but I did not find. Would like to know
if the accepted R this type of language?
Thanks!
Fábio Mathias Corrêa
Estatística e Experimentação Agropecuária/UFLA
Thanks very much!!!
Fábio Mathias Corrêa
Estatística e Experimentação Agropecuária/UFLA
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
_
The problem is that arrays are the same size. The only difference is how they
were built!
The way to build the matrix should not influence in the outcome!
Below is the commented code in MatLab!
Neural Information Processing - Letters and Reviews Vol.8, No.2, August 2005
function Y = geninv(G)
I'm implementing a function to compute the moore-penrose inverse, using a code
from the article: Fast Computation of Moore-Penrose Inverse Matrices. Neural
Information Processing - Letters and Reviews. Vol.8, No.2, August 2005
However, the R presents an error message when I use the geninv.
The
Thanks very much!!!
Fábio Mathias Corrêa
Estatística e Experimentação Agropecuária/UFLA
--- Em sex, 14/8/09, Simone Giannerini escreveu:
> De: Simone Giannerini
> Assunto: Re: [Rd] Problem with function in fortran 95
> Para: "Fabio Mathias Corrêa"
> Cc:
I am writing a function in fortran 95, but the intrinsic function MATMUL is not
working properly. Here's an example.
SUBROUTINE mymult(x,y,res,m,n)
IMPLICIT NONE
INTEGER :: m,n
REAL :: x, y, res
DIMENSION :: x(m,n), y(n,m), res(m,m)
res = MATMUL(x,y
I tried the manual R Installation and Administration to change the gcc compiler
to icc and ifort for gfotran. However I could not find the correct path for the
R to identify the icc and ifort.
In which file I define the change of compiler?
Thanks very much!!!
Fábio Mathias Corrêa
Estat
Thanks very much!
Fábio Mathias Corrêa UFLA
--- Em qua, 1/7/09, Kjell Konis escreveu:
De: Kjell Konis
Assunto: Re: [Rd] Matrix with random number
Para: "Fabio Mathias"
Cc: r-devel@r-project.org
Data: Quarta-feira, 1 de Julho de 2009, 8:30
Hi Fa
Thanks Mr. Barry Rowlingson
However, the matrix appears to zeros!
Notice the code below! Please!
Code in fortran
subroutine mat(x,l,c,a)
integer l,c
double precision x(l,c), a
integer i,j
do j = 1, c
do i = 1, l
call fseedi()
x(i,j) = myrbeta(a,1,2
Hello!
I have a program in Fortran and would like to build a matrix with random
numbers, I have a function in C.
However, I have problems with the use of function in R.
Code to compile: R CMD SHLIB mat.f myrbeta.c -o func.so
Code in C.
#include
#include
void F77_SUB(fseedi)(void){
Hello!
I have a program in Fortran and would like to build a matrix with random
numbers, I have a function in C.
However, I have problems with the use of function in R.
Code to compile: R CMD SHLIB mat.f myrbeta.c -o func.so
Code in C.
#include
#include
void F77_SUB(fseedi)(void){
How to set the nlme() function to return the answer without the intercept
parametrization?
#=
library(nlme)
Soybean[1:3, ]
(fm1Soy.lis <- nlsList(weight ~ SSlogis(Time, Asym, xmid, scal),
How to set the nlme() function to return the answer without the intercept
parametrization?
#=
library(nlme)
Soybean[1:3, ]
(fm1Soy.lis <- nlsList(weight ~ SSlogis(Time, Asym, xmid, scal),
subroutines only need to be called once, fseedi at the beginning of
your FORTRAN code and fseedo at the end.
HTH,
Kjell
On 13 févr. 09, at 17:32, Fabio Mathias wrote:
> Hi!!!
> It would like to know if it exists a form to use the functions to
> generate variates in FORTRAN with the sam
Hi!!!
It would like to know if it exists a form to use the functions to
generate variates in FORTRAN with the same easiness I use that them in
C? Or not?
If yes. They would have some example? I would like to use the functions rbeta,
rlnorm and others!
Sorry my english..rsrsrs
Thanks!!!
  Â
31 matches
Mail list logo