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 14, 2015 06:09AM
hi Gang and Andrew

Did this ever get sorted? I have come across this same problem. From what I can tell, when readline() is used in non-interactive mode it simply returns an empty string, which is causing the above error. I found that by replacing the calls to readline() with calls to scan()
I can get the AFNI R programs to work with R CMD BATCH--using scan(n=1) for lines containing integers and scan(what="character", n= 1) for lines containing strings (for instance, the name of the covariate file). Is there an easier workaround for this?

thanks

James
Subject Author Posted

1dSVAR questions

giuseppe pagnoni November 09, 2011 03:42PM

Re: 1dSVAR questions

Gang Chen November 10, 2011 10:06AM

Re: 1dSVAR questions

giuseppe pagnoni November 12, 2011 05:01AM

Re: 1dSVAR questions

Gang Chen November 14, 2011 11:59AM

Re: 1dSVAR questions

Anonymous User May 30, 2012 02:42PM

Re: 1dSVAR questions

gang May 30, 2012 05:31PM

Re: 1dSVAR questions

Andrew_Lynn April 25, 2015 03:00PM

Re: 1dSVAR questions

gang April 27, 2015 02:44PM

Re: 1dSVAR questions

Andrew_Lynn April 27, 2015 05:33PM

Re: 1dSVAR questions

gang April 27, 2015 06:00PM

Re: 1dSVAR questions

jkeidel May 14, 2015 06:09AM

Re: 1dSVAR questions

gang May 14, 2015 03:05PM

Re: 1dSVAR questions

jkeidel May 14, 2015 05:44PM

Re: 1dSVAR questions

Andrew_Lynn May 18, 2015 11:07AM

Re: 1dSVAR questions

jkeidel May 20, 2015 06:51AM