Displaying 11 results from an estimated 11 matches for "braunm".
Did you mean:
braun
2006 Dec 12
1
Undefined symbol when trying to dyn.load a shared object
...-L/usr/lib64/R/lib -lR
Next, I try to load the shared object into R using dyn.load("RgslTest.so") and get the following error in R:
> dyn.load("RgslTest.so")
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library '/mnt/san2/braunm/winshare/braunm/Cpractice/RgslTest.so':
/mnt/san2/braunm/winshare/braunm/Cpractice/RgslTest.so: undefined symbol: gsl_sf_hyperg_2F1
I am certain that the file path in the #include statement is correct. It looks like R can't find the gsl function in the C program, even though the compil...
2006 Dec 12
1
include libraries for C code called from R
...RgslTest.o
gcc -shared -L/usr/local/lib64 -o RgslTest.so RgslTest.o -L/usr/lib64/R/lib -lR
When I go into R and enter the command dyn.load("gslTestHG.so"), I get the
following error:
Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared
library '/mnt/san2/braunm/winshare/braunm/Cpractice/RgslTest.so':
/mnt/san2/braunm/winshare/braunm/Cpractice/RgslTest.so: undefined symbol:
gsl_sf_hyperg_2F1
So, it looks like R is not recognizing the function call within my own C
function, even though the library was included.
Note that this is a simpler example of...
2008 Aug 16
4
Lattice: problem using panel.superpose and panel.groups
...in a particular panel.
Thanks in advance for any help you can provide,
Michael
Michael Braun
Homer A. Burnell Career Development Professor
and Assistant Professor of Management Science (Marketing Group)
MIT Sloan School of Management
One Amherst St., E40-169
Cambridge, MA 02139
(617) 253-3436
braunm at mit.edu
2008 Nov 20
3
Turning off compiler optimization
...n someone offer some assistance?
Thanks,
Michael
-------------------------------------------
Michael Braun
Homer A. Burnell Career Development Professor, and
Assistant Professor of Management Science (Marketing Group)
MIT Sloan School of Management
One Amherst St., E40-169
Cambridge, MA 02142
braunm at mit.edu
617-253-3436
2007 Sep 16
1
Using gsl libraries in R packages
...but I cannot find a
description of what they do, what the arguments are, and so forth. Is
examining the source code directly the only way?
Thanks,
Michael
Michael Braun
Assistant Professor of Marketing
MIT Sloan School of Management
One Amherst St., E40-169
Cambridge, MA 02142
(617) 253-3436
braunm@mit.edu
[[alternative HTML version deleted]]
2007 Jan 04
1
Parameter changes and segfault when calling C code through .Call
...9; errors in totally different scenarios.
So I am flummoxed, and don't really know where to go from here.
Best wishes,
MB
------------------------------------------
Michael Braun
Assistant Professor of Marketing
MIT Sloan School of Management
38 Memorial Drive, E56-329
Cambridge, MA 02139
braunm at mit.edu
(617) 253-3436
2008 Jan 25
4
Problem building R with Intel MKL v10 BLAS
...rom the Intel MKL for Linux User's Guide, chapter 5.
So, still no luck linking to the optimized BLAS. I'd appreciate any
suggestions.
Thanks,
Michael
--
Michael Braun
Assistant Professor of Marketing
MIT Sloan School of Management
One Amherst St., E40-169
Cambridge, MA 02142
USA
braunm at mit.edu
+1 (617) 253-3436
2012 May 03
0
Modified Cholesky decomposition for sparse matrices
...ld compute a sparse LDL' decomposition from an existing R function, and quickly modify the output?
Thanks,
Michael
-------------------------------------------
Michael Braun
Associate Professor of Management Science
MIT Sloan School of Management
100 Main St.., E62-535
Cambridge, MA 02139
braunm at mit.edu
617-253-3436
2007 May 29
1
Use of Rf_duplicate
...create a duplicate, is there a way to destroy it manually
before the end of the function, rather than rely on on the R garbage
collector?
Thanks,
Michael
Michael Braun
Assistant Professor of Marketing
MIT Sloan School of Management
One Amherst St., E40-169
Cambridge, MA 02142
(617) 253-3436
braunm@mit.edu
[[alternative HTML version deleted]]
2007 May 25
2
R scripts slowing down after repeated called to compiled code
...gregated relative time spent in each function (more than
80% of the time, it's in the .Call).
So I'm stuck. Can anyone help?
Thanks,
Michael
--
Michael Braun
Assistant Professor of Marketing
MIT Sloan School of Management
One Amherst St., E40-169
Cambridge, MA 02142
(617) 253-3436
braunm at mit.edu
2006 Dec 24
2
FW: Passing lists from R to C, extracting elements, and sending lists back again
...rays). Also, are the functions and macros described in the Rinternals header documented anywhere? I can't seem to find the source code, or a description of what these functions actually do.
Thanks again for any help you can provide.
Best wishes,
Michael Braun
MIT Sloan School of Management
braunm at mit.edu
SEXP r = PROTECT(allocVector(VECSXP,n));
double rm[k][k];
for (i=0; i<n; i=i+1) {
for (a=0; a<k; ++a){ // convert to gsl matrix
for (b=0; b<k; ++b){
ind = b*k + a;
m = REAL(VECTOR_ELT(list,i))[ind];
gsl_matrix_set(mat, b, a, m);
}
} // end conversion...