AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
May 02, 2013 01:38PM
yep sure can, I don't need the new bells and whistles in R 3.0.0.

I'd still have a look at line 23 in AFNIio.R since it returns true regardless of whether the R_io.so loads successfully or not.

For example consider the following:
R version 2.15.3 (2013-03-01) -- "Security Blanket"
Copyright (C) 2013 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> find.in.path <- function(file) { #Pretty much same as first.in.path
+ ff <- paste(strsplit(Sys.getenv('PATH'),':')[[1]],'/', file, sep='')
+ ff <- ff[lapply(ff,file.exists)==TRUE];
+ aa <- gsub('//','/',ff[1], fixed=TRUE)
+ if (is.na(aa)) aa <- NULL
+ return(aa)
+ }
> ll <- find.in.path('R_io.so')
> dd <- try(dyn.load(ll), silent=TRUE)
> dd
DLL name: R_io
Filename: /Volumes/opt/software/afni/R_io.so
Dynamic lookup: TRUE
> exists('dd')
[1] TRUE
#### Now try something I know doesn't exist and so will throw an error
> dd <- try(dyn.load(paste(ll, "1", sep="")), silent=TRUE)
> dd
[1] "Error in dyn.load(paste(ll, \"1\", sep = \"\")) : \n unable to load shared object '/Volumes/opt/software/afni/R_io.so1':\n dlopen(/Volumes/opt/software/afni/R_io.so1, 6): image not found\n"
attr(,"class")
[1] "try-error"
attr(,"condition")
<simpleError in dyn.load(paste(ll, "1", sep = "")): unable to load shared object '/Volumes/opt/software/afni/R_io.so1':
dlopen(/Volumes/opt/software/afni/R_io.so1, 6): image not found>
> exists('dd')
[1] TRUE
Subject Author Posted

r version?

Colm Connolly April 30, 2013 01:35PM

Re: r version?

gang April 30, 2013 03:54PM

Re: r version?

Colm Connolly April 30, 2013 04:14PM

Re: r version?

gang May 01, 2013 09:52AM

Re: r version?

Colm Connolly May 01, 2013 03:15PM

Re: r version?

gang May 02, 2013 10:44AM

Re: r version?

Colm Connolly May 02, 2013 01:38PM

Re: r version?

ziad May 03, 2013 09:50AM

Re: r version?

rick reynolds April 30, 2013 04:02PM

Re: r version?

tarazlee May 09, 2013 08:25PM

Re: r version?

rick reynolds May 09, 2013 09:19PM

Re: r version?

tarazlee May 14, 2013 11:59AM

Re: r version?

rick reynolds May 14, 2013 12:32PM

Re: r version?

tarazlee May 16, 2013 01:19PM

Re: r version?

Anonymous User May 16, 2013 01:29PM

Re: r version?

tarazlee May 21, 2013 06:25PM

Re: r version?

Brock Kirwan June 04, 2013 05:45PM

Re: r version?

gang June 04, 2013 07:31PM

Re: r version?

Brock Kirwan June 04, 2013 11:56PM

Re: r version?

Rodrigo Patino July 22, 2013 07:27PM

Re: r version?

gang July 23, 2013 10:02AM

Re: r version?

Rodrigo Patino July 23, 2013 01:20PM

Re: r version?

rick reynolds July 23, 2013 08:17PM

Re: r version?

rick reynolds July 23, 2013 01:39PM

Re: r version?

Rodrigo Patino July 23, 2013 05:53PM

Re: r version?

gang July 23, 2013 06:10PM

Re: r version?

paranoidandroid January 13, 2014 10:19AM

Re: r version?

gang January 13, 2014 06:35PM