• The_Ferry@lemmy.world
    link
    fedilink
    English
    arrow-up
    14
    ·
    1 year ago

    I like and despise R… WHY DO I HAVE TO COPY THE TEXT FROM MY CONSOLE INTO A SCRIPT TO ACTUALLY SAVE IT AS AN .R FILE???

    • Acters@lemmy.world
      link
      fedilink
      English
      arrow-up
      15
      ·
      1 year ago

      Because it’s a console, not an IDE. But I see your frustration and does seem ridiculous

      • The_Ferry@lemmy.world
        link
        fedilink
        English
        arrow-up
        9
        arrow-down
        1
        ·
        1 year ago

        Maan, I am way too much of a himbo chemical engineering student yo understand what IDE means, had to channel my inner parent and ask a software guy for help

    • flyos@jlai.lu
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      You don’t really have to. You could save the workspace along with the history of you commands to load it at a later time, and never have a script at all.

      The reason nobody really does that (except maybe if they use R once in every decade) is that it’s not really viable in the middle-term. That is because it doesn’t distinguish between failed attempts and actual, final code and so quickly becomes a mess.