[kepler-users] Question about R workflow in Mac OS X

Dan Higgins higgins at nceas.ucsb.edu
Fri Jun 16 13:33:15 PDT 2006


Jim got it right! If you set the DISPLAY env variable in the 
enviroment.plist as suggested and have X11 running prior to Kepler, then 
the R jpeg graphics display works in Kepler when you start by double 
clicking on the .app !

Thanks for the advice Jim!

Dan

Jim Balhoff wrote:
> The reason is that applications you double-click are launched as 
> children of WindowServer, which is not part of your shell login 
> environment.  Environment variables set in shell login files are only 
> set when you run those shells and processes you launch from them.  If 
> you want to set environment variables for your entire GUI console 
> session you need to put them in a property list at 
> ~/.MacOSX/environment.plist.  One unfortunate thing is that you can't 
> reference previously set values for variables using a $ sign in this 
> file.  More information:
>
> <http://developer.apple.com/qa/qa2001/qa1067.html>
>
> Hope this helps,
> Jim
>
>
> On Jun 16, 2006, at 2:31 PM, Dan Higgins wrote:
>
>> Hi Jorge,
>>
>>     I have some more information on your problem.
>>
>>     When I execute the Kepler-1.0.0beta1 application on a PPC Mac by
>> double clicking 'Kepler-1.0.0beta1', I can reproduce the problem that
>> you reported. However, there is also a script for launching Kepler in
>> the distribution called 'kepler.sh'. If I open kepler from the terminal
>> using with './kepler.sh' with X11 running and DISPLAY set, then there is
>> no error and the linear regression example works and displays a plot! I
>> do NOT understand why the behavior should depend on exactly how Kepler
>> is launched! (Perhaps something in how the ENV variables are passed to
>> the app.)
>>
>>     In any case, you might want to try launching Kepler from Terminal
>> with the shell script and see if that works for you.
>>
>> Dan
>>
>
>
> ____________________________________________
> James P. Balhoff
> National Evolutionary Synthesis Center
> Duke University
> 2024 West Main St., Suite A200
> Durham, NC 27705
> USA
>
>
>


-- 
*******************************************************************
Dan Higgins                                  higgins at nceas.ucsb.edu
http://www.nceas.ucsb.edu/    Ph: 805-893-5127
National Center for Ecological Analysis and Synthesis (NCEAS) Marine Science Building - Room 3405
Santa Barbara, CA 93195
*******************************************************************





More information about the Kepler-users mailing list