Milan,

On Jan 12, 2010, at 10:33 , Milan Esner wrote:

 Hi Simon,
 thanks a lot for fast reply.
 Actually I solved the problem now with the command

 defaults write org.R-project.R force.LANG en_US.UTF-8

from R help FAQ Mac OS X. Then all warnings disappeared and I can install the packages.


Ok, great.


I have another problem with installing EBimage package from Bioconductor, but I guess for this I have to ask someone other. I have the error message about GTK framework

/Library/Frameworks/GTK+.framework/Versions/2.14.X11/Resources/lib/ libgtk-x11-2.0.0.dylib: no matching architecture in universal wrapper
Error: package/namespace load failed for 'EBImage'


The 2.14 GTK+ is 32-bit only and I guess you're using 64-bit so it won't work.

So you have two options:

a) use R in 32-bit and all will be well (R --arch=i386 on the command line or the 32-bit R.app GUI)

b) if you really need over 4GB of virtual RAM install 2.18 GTK+ from http://r.research.att.com/libs/ which includes 64-bit GTK+ but then you'll need to compile EBimage from sources while setting PATH= /Library/Frameworks/GTK+.framework/ Resource/bin:$PATH before you do so.

Cheers,
Simon



On Jan 12, 2010, at 4:07 PM, Simon Urbanek wrote:


On Jan 12, 2010, at 5:27 , Milan Esner wrote:

Hello SImon,
I just encountered similar problems like Massimo. I upgraded to 10.6.1 from 10.5.8. I installed a new R 2.10.1 and when I start up the R I have the same message



During startup - Warning messages:
1: Setting LC_CTYPE failed, using "C"
2: Setting LC_COLLATE failed, using "C"
3: Setting LC_TIME failed, using "C"
4: Setting LC_MESSAGES failed, using "C"
[R.app GUI 1.31 (5537) x86_64-apple-darwin9.8.0]

WARNING: You're using a non-UTF8 locale, therefore only ASCII characters will work. Please read R for Mac OS X FAQ (see Help) section 9 and adjust your system preferences accordingly.


and if I want to install some packages I have as well the error message Failed to set default locale



The downloaded packages are in
/var/folders/2z/2zafRZuKHlSXCwfDU3iVNE+++TM/-Tmp-//RtmpVxQHq0/ downloaded_packages
trying URL 
'http://mirrors.softliste.de/cran/bin/macosx/leopard/contrib/2.10/iplots_1.1-3.tgz'
Content type 'application/x-gzip' length 415882 bytes (406 Kb)
opened URL
==================================================
downloaded 406 Kb

tar: Failed to set default locale


Could you help me? Thanks a lot.

Please send us the output of sessionInfo() and your exact settings (Language+Formats) under "International" in the system preferences.

Thanks,
Simon




_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to