1. Error regarding missing R_io.so
a) Make sure you have the most recent version of AFNI.
b) Make sure you have the most recent version of R.
c) Copy and paste the following at the R prompt:
first.in.path <- function(file) {
ff <- paste(strsplit(Sys.getenv('PATH'),':')[[1]],'/', file, sep='')
ff<-ff[lapply(ff,file.exists)==TRUE];
#cat('Using ', ff[1],'\n');
return(gsub('//','/',ff[1], fixed=TRUE))
}
source(first.in.path('AFNIio.R'))
(ll <- find.in.path('R_io.so'))
dyn.load(ll)
Report to us: (1) the output of the last two lines; (2) your computer OS version (and 32- or 64-bit?); (3) the second line from the output of the following command line at the terminal:
afni -ver
2. Fix for "segfault error" on Mac when running any R-related program
For those who encounter the following error on Mac OS when running R-related programs (3dMVM, 3dLME, 3dMEMA, ...)
> *** caught segfault ***
> address ..., cause 'memory not mapped'
> ...
here is the solution:
1) Remove everything under /Library/Frameworks/R.framework/
2) Delete R.app under /Applications/
3) Reinstall R (for Mac OS 10.9.x right now, consider installing the development version at [
r.research.att.com])
Gang
Edited 3 time(s). Last edit at 06/05/2014 04:22PM by Gang.