History of AFNI updates  

|
May 30, 2014 10:40AM
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.
Subject Author Posted

R-related issues

gang May 30, 2014 10:40AM

Re: R-related issues

pshuk July 01, 2014 03:19PM

Re: R-related issues

rick reynolds July 01, 2014 08:45PM

Re: R-related issues

pshuk July 02, 2014 09:41AM

Re: R-related issues

rick reynolds July 02, 2014 09:44AM

Re: R-related issues

pshuk July 02, 2014 09:59AM

Re: R-related issues

rick reynolds July 02, 2014 10:32AM

Re: R-related issues

kw_42 November 27, 2017 08:42AM

Re: R-related issues

ptaylor November 27, 2017 10:10AM

Re: R-related issues

rick reynolds November 27, 2017 11:46AM