R-SIG-Mac Digest, Vol 77, Issue 2
3 naps yesterday so sore, had to take dilaudid at 2:00 am - eyes on fire can barely move at the moment
On 2-Jul-09, at 6:00 AM, r-sig-mac-request at stat.math.ethz.ch wrote:
Send R-SIG-Mac mailing list submissions to r-sig-mac at stat.math.ethz.ch To subscribe or unsubscribe via the World Wide Web, visit
https://stat.ethz.ch/mailman/listinfo/r-sig-mac or, via email, send a message with subject or body 'help' to r-sig-mac-request at stat.math.ethz.ch You can reach the person managing the list at r-sig-mac-owner at stat.math.ethz.ch When replying, please edit your Subject line so it is more specific than "Re: Contents of R-SIG-Mac digest..." Today's Topics: 1. tcltk and R 2.9.1 (Linda Rutledge) 2. Re: tcltk and R 2.9.1 (Simon Urbanek) 3. RSwitch (cstrato) 4. Re: RSwitch (Steve Lianoglou) 5. Komodo, SciViews-K, and 64 bit R (Jonathan Greenberg) 6. Re: Komodo, SciViews-K, and 64 bit R (Philippe Grosjean) ---------------------------------------------------------------------- Message: 1 Date: Wed, 1 Jul 2009 10:52:25 -0400 From: "Linda Rutledge" <lrutledge at nrdpfc.ca> Subject: [R-SIG-Mac] tcltk and R 2.9.1 To: <r-sig-mac at stat.math.ethz.ch> Message-ID: <421F6B7FA2F482478B7A78A63BE813D4042872 at fisher.nrdpfc.ca> Content-Type: text/plain; charset="iso-8859-1" Hi, When I try to load the Geneland GUI in R 2.9.1 for Mac OS 10.4.11 (with X11 installed from the installation disk) it always comes up with the error "Loading Tcl/Tk interface ... Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared library '/Library/Frameworks/R.framework/ Versions/2.9/Resources/library/tcltk/libs/i386/tcltk.so': dlopen(/Library/Frameworks/R.framework/Versions/2.9/Resources/ library/tcltk/libs/i386/tcltk.so, 10): Library not loaded: /usr/ X11R6/lib/libX11.6.dylib Referenced from: /Library/Frameworks/R.framework/Versions/2.9/ Resources/library/tcltk/libs/i386/tcltk.so Reason: no suitable image found. Did find: /usr/X11R6/lib/libX11.6.dylib: mach-o, but wrong architecture Error : .onLoad failed in 'loadNamespace' for 'tcltk' Error: package 'tcltk' could not be loaded" I do not have this problem with my laptop that is running R 2.9.0. Is there some bug in the R2.9.1 version that prevents tcltk from loading? Is there a way to fix this? Thanks ------------------------------ Message: 2 Date: Wed, 1 Jul 2009 13:01:12 -0400 From: Simon Urbanek <simon.urbanek at r-project.org> Subject: Re: [R-SIG-Mac] tcltk and R 2.9.1 To: Linda Rutledge <lrutledge at nrdpfc.ca> Cc: r-sig-mac at stat.math.ethz.ch Message-ID: <D027EF4C-9618-455C-8C82-EEE1E2B1EBC7 at r-project.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes On Jul 1, 2009, at 10:52 AM, Linda Rutledge wrote: Hi, When I try to load the Geneland GUI in R 2.9.1 for Mac OS 10.4.11 (with X11 installed from the installation disk) it always comes up with the error "Loading Tcl/Tk interface ... Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared library '/Library/Frameworks/R.framework/ Versions/2.9/Resources/library/tcltk/libs/i386/tcltk.so': dlopen(/Library/Frameworks/R.framework/Versions/2.9/Resources/ library/tcltk/libs/i386/tcltk.so, 10): Library not loaded: /usr/ X11R6/lib/libX11.6.dylib Referenced from: /Library/Frameworks/R.framework/Versions/2.9/ Resources/library/tcltk/libs/i386/tcltk.so Reason: no suitable image found. Did find: /usr/X11R6/lib/libX11.6.dylib: mach-o, but wrong architecture Error : .onLoad failed in 'loadNamespace' for 'tcltk' Error: package 'tcltk' could not be loaded" I do not have this problem with my laptop that is running R 2.9.0. Is there some bug in the R2.9.1 version that prevents tcltk from loading? Is there a way to fix this? Yes, re-install X11. You failed to supply any details so we can only speculate, but my guess would be that you upgraded from ppc to intel at some point (or installed some other X11) and thus your X11 doesn't have intel binaries. But, again, without any details (sessionInfo(), machine type and preferably output of "file /usr/X11R6/lib/ libX11.6.dylib") it's only a wild guess. Cheers, Simon ------------------------------ Message: 3 Date: Wed, 01 Jul 2009 23:26:41 +0200 From: cstrato <cstrato at aon.at> Subject: [R-SIG-Mac] RSwitch To: r-sig-mac at stat.math.ethz.ch Message-ID: <4A4BD491.7060001 at aon.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Dear Simon, On my Mac (10.4.11) I have installed different versions of R and thus like RSwitch very much. However, in my case it works only when I am logged in as administrator. Since I am usually logged in as normal user I have to: logout -> login as admin -> run RSwitch -> logout -> login as user I know this tool is unsupported but do you think there is a possibility for an update? Best regards Christian _._._._._._._._._._._._._._._._._._ C.h.r.i.s.t.i.a.n S.t.r.a.t.o.w.a V.i.e.n.n.a A.u.s.t.r.i.a e.m.a.i.l: cstrato at aon.at _._._._._._._._._._._._._._._._._._ ------------------------------ Message: 4 Date: Wed, 1 Jul 2009 17:33:18 -0400 From: Steve Lianoglou <mailinglist.honeypot at gmail.com> Subject: Re: [R-SIG-Mac] RSwitch To: cstrato <cstrato at aon.at> Cc: r-sig-mac at stat.math.ethz.ch Message-ID: <FFF8FFE2-F300-4626-B40F-E2EF83411B23 at gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Hi, On Jul 1, 2009, at 5:26 PM, cstrato wrote: Dear Simon, On my Mac (10.4.11) I have installed different versions of R and thus like RSwitch very much. However, in my case it works only when I am logged in as administrator. Since I am usually logged in as normal user I have to: logout -> login as admin -> run RSwitch -> logout -> login as user I know this tool is unsupported but do you think there is a possibility for an update? You can *probably* get this behavior by changing the permissions on your R.framework directory. By default, I think it's set to: drwxrwxr-x 9 root admin 306 Jun 29 10:39 /Library/Frameworks/ R.framework/ Since the RSwitch program monkeys around with which symlinks point to what in that folder, you'll need admin rights to use it. I'm guessing that if you chown or chgrp that directory such that your logged in user has the rights to change stuff in there, you can then use the app as a non admin .. w/o an app update :-) HTH, -steve -- Steve Lianoglou Graduate Student: Physiology, Biophysics and Systems Biology Weill Medical College of Cornell University Contact Info: http://cbio.mskcc.org/~lianos/contact ------------------------------ Message: 5 Date: Wed, 01 Jul 2009 14:35:01 -0700 From: Jonathan Greenberg <greenberg at ucdavis.edu> Subject: [R-SIG-Mac] Komodo, SciViews-K, and 64 bit R To: r-sig-mac at stat.math.ethz.ch Message-ID: <4A4BD685.4010202 at ucdavis.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed MacRers: I've been having a bit of trouble getting SciViews working cleanly with R64 (from the AT&T website) -- first off, what is the proper "sudo ln -s" statement to get it working with MacOS X? Secondly, is there any way to get Komodo/Sciviews-K to work with "R64.app" besides simply renaming that to R.app? Thanks! --j -- Jonathan A. Greenberg, PhD Postdoctoral Scholar Center for Spatial Technologies and Remote Sensing (CSTARS) University of California, Davis One Shields Avenue The Barn, Room 250N Davis, CA 95616 Cell: 415-794-5043 AIM: jgrn307, MSN: jgrn307 at hotmail.com, Gchat: jgrn307 ------------------------------ Message: 6 Date: Thu, 02 Jul 2009 07:10:25 +0200 From: Philippe Grosjean <phgrosjean at sciviews.org> Subject: Re: [R-SIG-Mac] Komodo, SciViews-K, and 64 bit R To: Jonathan Greenberg <greenberg at ucdavis.edu> Cc: "r-sig-mac at stat.math.ethz.ch Mac List" <r-sig-mac at stat.math.ethz.ch> Message-ID: <4A4C4141.7060808 at sciviews.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hello, The "ln -s" command you talk about is to make a symbolic link to Komodo Edit (its installer fails to do that, despite there are a couple of useful command line options provided). Open a terminal window on your Mac and type this, providing you installed Komodo Edit.app in /Applications (all on one line): sudo ln -s /Applications/Komodo\ Edit.app/Contents/MacOS/komodo /usr/bin/komodo You will be prompted for administrative password. R can now open documents directly inside Komodo. For your second question, indeed, we should support 64-bit R too, and including R64.app and R --arch x86_64/R --arch ppc64. For the moment, you can do the changes by yourself like this: - Open the toolbox in Komodo: View -> Tabs -> Toolbox - Navigate to SciViews-K/GUI/Menus/R/Start R folder in the toolbox. - Copy R app (Mac) entry (right-click -> copy in context menu) - Select 'Start R' folder again and right-click -> paste) - Select the pasted 'R app (Mac)' entry and right-click -> properties - In the Properties dialog box, rename it to 'R64 app (Mac)', and in Command: change it to 'open -a /Application/R64.app ....' Restart Komodo Edit. You should be able to connect to your R 64-bit application. P.S.: untested, please report back your results P.S.2: you should better use the SciViews-Help mailing list (http://r-forge.r-project.org/mail/?group_id=194) and/or the feature request in the SciViews Tracker (http://r-forge.r-project.org/tracker/?group_id=194). ..............................................<?}))><........ ) ) ) ) ) ( ( ( ( ( Prof. Philippe Grosjean ) ) ) ) ) ( ( ( ( ( Numerical Ecology of Aquatic Systems ) ) ) ) ) Mons-Hainaut University, Belgium ( ( ( ( ( .............................................................. Jonathan Greenberg wrote: MacRers: I've been having a bit of trouble getting SciViews working cleanly with R64 (from the AT&T website) -- first off, what is the proper "sudo ln -s" statement to get it working with MacOS X? Secondly, is there any way to get Komodo/Sciviews-K to work with "R64.app" besides simply renaming that to R.app? Thanks! --j ------------------------------ _______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac End of R-SIG-Mac Digest, Vol 77, Issue 2 ****************************************