Giter Site home page Giter Site logo

rprofile-custom-prompt.r's Introduction

This repository offers .Rprofile to customize the prompt in your Rstudio.

The .Rprofile files are adapted from https://lapsedgeographer.london/2020-11/custom-r-prompt/ and https://gist.github.com/jthomasmock/22e851343f31203170547144ff35e8e1.

To successfully change the prompt in your Rstudio, you need to first install 'usethis' and 'emoji' packages locally on your machine.

The 'emoji' package can be found from either on CRAN or https://github.com/EmilHvitfeldt/emoji.

Then, you need to run

usethis::edit_r_profile()

in your R console. And copy and paste the .Rprofile you want in your .Rprofile.

Last but not the least, save your .Rprofile and then restart R. And right from the get-go you’ll have a prompt that tells you the time (well technically the last time R completed anything, if R hasn’t done anything for a while it won’t update until you execute some code).

rprofile-custom-prompt.r's People

Contributors

xinxxxin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.