[R-SIG-Mac] problem installing packages from terminal

Federico Calboli f.calboli at imperial.ac.uk
Sat Jun 4 20:18:06 CEST 2005


Hi All,

I tried to install Hmisc from source, but I had errors due to  
permission issues (I enabled root form my box). I tried to install  
from the terminal after su-ing to root, but I get the following:

 > install.packages("locfit")
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... Error in fun(...) : no display name and  
no $DISPLAY environment variable
Error: .onLoad failed in 'loadNamespace' for 'tcltk'

The same command in Debian Linux opens a tcl/tk widget... How can I  
install stuff from the terminal? I'd rather not log out and log in  
again as root to install stuff that needs g77... (I did for Hmisc,  
and worked like a charm). BTW, I installed all the .dmg packages that  
were bundled with R.app.

Cheers,

Federico


Federico C. F. Calboli
Department of Epidemiology and Public Health
Imperial College, St. Mary's Campus
Norfolk Place, London W2 1PG

Tel +44 (0)20 75941602   Fax +44 (0)20 75943193

f.calboli [.a.t] imperial.ac.uk
f.calboli [.a.t] gmail.com



More information about the R-SIG-Mac mailing list