Install RMatlab on Solaris using gcc

Well, things become complicated in this environment. Rmatlab enables inter-programming between Matlab and R, it uses mex (the matabl compiler) during installation to be installed within R as shared library, so that it can be used in matlab as well. Howerver, mex in Solaris hardcoded to use Solaris’s its own CC compiler, which we do not have. So I have to hack mex (the matlab compiler wrapper) to compile Rmatlab for R, using GCC on Solaris where there is no Solaris CC (Damn complicated).  

Continue reading