- which version of Mac OS X? - Which version of R? (version, architecture) - Officially provided R or compiled by you? Official R is compiled with Apple gcc. - if R was compiled with Apple compiler, who knows what can happen if you link with code compiled with a non Apple gcc? - if the code runs ok on your supervisors iMac: did he use Apple compiler? if so I wouldn't be surprised if your Macports compiler is a possible cause of your troubles. - on 64bit Mac OS X long int is 64bits and int is 32bits; on 32bit Mac OSX both are 32 bits.
/Berend -- View this message in context: http://r.789695.n4.nabble.com/Memory-not-mapped-when-using-C-problem-in-Mac-but-not-in-Linux-tp2993689p2994220.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.