Loading ...
Sorry, an error occurred while loading the content.
 

Re: { SPAM } Re: putting visually selected text into a string

Expand Messages
  • Ben Schmidt
    ... You would need to :call system(...), if you didn t. System is a function so needs to live inside an expression, and the :call command is a nice command
    Message 1 of 9 , Dec 2, 2007
      > system("osascript -e 'tell application \"R\" to cmd \"" .command.
      > "\"'")

      You would need to :call system(...), if you didn't. System is a function so needs
      to live inside an expression, and the :call command is a nice command that just
      executes an expression and discards the result (unlike :exe which evaluates the
      expression then executes the result as a command).

      But hey, you have already solved your problem, so no need!

      Ben.





      Send instant messages to your online friends http://au.messenger.yahoo.com


      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_use" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    • Vincent
      This is actually even nicer. Thanks for your help Ben! Best, Vincent ... --~--~---------~--~----~------------~-------~--~----~ You received this message from
      Message 2 of 9 , Dec 2, 2007
        This is actually even nicer. Thanks for your help Ben!

        Best,

        Vincent

        On Dec 2, 4:34 am, Ben Schmidt <mail_ben_schm...@...> wrote:
        > > system("osascript -e 'tell application \"R\" to cmd \"" .command.
        > > "\"'")
        >
        > You would need to :call system(...), if you didn't. System is a function so needs
        > to live inside an expression, and the :call command is a nice command that just
        > executes an expression and discards the result (unlike :exe which evaluates the
        > expression then executes the result as a command).
        >
        > But hey, you have already solved your problem, so no need!
        >
        > Ben.
        >
        > Send instant messages to your online friendshttp://au.messenger.yahoo.com
        --~--~---------~--~----~------------~-------~--~----~
        You received this message from the "vim_use" maillist.
        For more information, visit http://www.vim.org/maillist.php
        -~----------~----~----~----~------~----~------~--~---
      Your message has been successfully submitted and would be delivered to recipients shortly.