[R-SIG-Mac] newbie- launch X11 application from a R tcltk GUI

Byron Ellis ellis at stat.harvard.edu
Sun Aug 21 01:06:00 CEST 2005


Oh, sorry, we meant "open" the OS X terminal command, not the  
function inside R

i.e. system("open /Applications/visone-1.0")


On Aug 20, 2005, at 3:57 PM, Simone Gabbriellini wrote:

> my last question (I swear)
> I still have a problem with open,
>
> I create a connection
> conn<-file("/Applications/visone-1.0", "r")
>
> then I try to open it
>
> open(conn)
>
> but nothing happens... :(
>
> thank you very much
> simone
>
> Il giorno 21/ago/05, alle ore 00:39, Jan de Leeuw ha scritto:
>
>
>> depends on $PATH. if foo is in $PATH then open
>> will work. open-x11 looks in /usr/X11R6/bin
>> even if it's not  in $PATH
>> On Aug 20, 2005, at 15:19 , Byron Ellis wrote:
>>
>>
>>
>>> Actually, for an X11 app, wouldn't it be "open-x11 foo" instead?
>>>
>>> On Aug 20, 2005, at 3:06 PM, Jan de Leeuw wrote:
>>>
>>>
>>>
>>>
>>>> open foo
>>>>
>>>> On Aug 20, 2005, at 14:58 , Simone Gabbriellini wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> Dear List,
>>>>> I'm developing a tcltk GUI with R tcltk package.
>>>>> One of the function I want to put into my GUI is the ability to
>>>>> launch an X11 application and I am wondering the command I need to
>>>>> accomplish my task.
>>>>>
>>>>> thank you,
>>>>> Simone
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> It was simple, but you know, it's always simple when you've done
>>>>> it.
>>>>>       -- Simone Gabbriellini (after solving a problem with a trick
>>>>> suggested on the list)
>>>>>          R-help (August 2005)
>>>>>          fortune("Gabbriellini")
>>>>>
>>>>> _______________________________________________
>>>>> R-SIG-Mac mailing list
>>>>> R-SIG-Mac at stat.math.ethz.ch
>>>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> ==========================================================
>>>> Jan de Leeuw, 11667 Steinhoff Rd, Frazier Park, CA 93225,
>>>> 661-245-1725
>>>>                                   http://www.cuddyvalley.org/
>>>> dunklen.mov
>>>> ==========================================================
>>>>                                       Und die Einen sind im Dunkeln
>>>>                                       Und die Andern sind im Licht
>>>>                                       Doch man sieht nur die im
>>>> Lichte
>>>>                                       Die im Dunkeln sieht man
>>>> nicht       (Brecht)
>>>>
>>>> _______________________________________________
>>>> R-SIG-Mac mailing list
>>>> R-SIG-Mac at stat.math.ethz.ch
>>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>>>
>>>>
>>>>
>>>>
>>>
>>> ---
>>> Byron Ellis (ellis at stat.harvard.edu)
>>> "Oook" -- The Librarian
>>>
>>>
>>>
>>>
>>>
>>
>> ==========================================================
>> Jan de Leeuw, 11667 Steinhoff Rd, Frazier Park, CA 93225,  
>> 661-245-1725
>>                                  http://www.cuddyvalley.org/
>> dunklen.mov
>> ==========================================================
>>                                      Und die Einen sind im Dunkeln
>>                                      Und die Andern sind im Licht
>>                                      Doch man sieht nur die im Lichte
>>                                      Die im Dunkeln sieht man
>> nicht       (Brecht)
>>
>>
>>
>>
>>
>
> It was simple, but you know, it's always simple when you've done it.
>       -- Simone Gabbriellini (after solving a problem with a trick
> suggested on the list)
>          R-help (August 2005)
>          fortune("Gabbriellini")
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>

---
Byron Ellis (ellis at stat.harvard.edu)
"Oook" -- The Librarian



More information about the R-SIG-Mac mailing list