This uses implicit fortran conventions, that is integers for variables prefixed with i through n and reals for others

make_call_args(...)

Arguments

...

list of variable names, as is

Examples

make_call_args(no,ni,x,y,w,theta,ng,mg,aa,ne,nx,nlam,ulam,thr,maxit,verbose,ao,ia,kin,nlp,jerr)
#>  [1] "INTEGER(no)"    "INTEGER(ni)"    "REAL(x)"        "REAL(y)"       
#>  [5] "REAL(w)"        "REAL(theta)"    "INTEGER(ng)"    "INTEGER(mg)"   
#>  [9] "REAL(aa)"       "INTEGER(ne)"    "INTEGER(nx)"    "INTEGER(nlam)" 
#> [13] "REAL(ulam)"     "REAL(thr)"      "INTEGER(maxit)" "REAL(verbose)" 
#> [17] "REAL(ao)"       "INTEGER(ia)"    "INTEGER(kin)"   "INTEGER(nlp)"  
#> [21] "INTEGER(jerr)"