[R-SIG-Mac] Error exec program in 64 bit R from terminal
dutangc at gmail.com
Fri Dec 18 23:40:29 CET 2009
I think you need to download R 64bit from there http://r.research.att.com/exp/
Le 18 déc. 2009 à 20:58, Matthew Pittinsky a écrit :
> My apologies in advance if this has been asked and answered, but I
> can't seem to find the information I need.
> I am trying to run an R program from the terminal. As a trivial
> example, I run R --arch=x86_64 CMD BATCH /Users/mpittinsky/Desktop/
> test.r /Users/mpittinsky/Desktop/testoutput.txt, where the test.r
> program is the loading of a library (just to debug). The library in
> question loads when I run the command from R64 console. (The "real"
> program involves a set of data cleaning and analysis functions).
> I receive the errors:
> /Library/Frameworks/R.framework/Resources/bin/R: line 231: /Library/
> Frameworks/R.framework/Resources/bin/exec/x86_64/R: No such file or
> /Library/Frameworks/R.framework/Resources/bin/R: line 231: exec: /
> Library/Frameworks/R.framework/Resources/bin/exec/x86_64/R: cannot
> execute: No such file or directory
> These directories do not, indeed, exist. Only an i386 directory
> does and the above program works fine when the arch specified is i386.
> I installed R using the latest version at http://cran.r-project.org/bin/macosx/
> , so I am on 2.10.0. I am running Mac OS 10.6.2.
> Thanks in advance for any suggestions.
> Matthew Pittinsky, Ph.D.
> Assistant Professor
> Arizona State University
> School of Social and Family Dynamics, Program in Sociology
> office: Social Sciences 217
> phone: 480-727-9163
> email: mpittinsky at asu.edu
> web: www.public.asu.edu/~mpittins
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
Ph.D. student at ISFA, Lyon, France
More information about the R-SIG-Mac