From 40e72b36efbd373c06c07b87d590c03a79f3ffee Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Fri, 14 Nov 2014 11:24:38 +0100 Subject: Include loading 'utils' in Rprofile --- README.md | 6 ++++-- Rprofile | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ef9c82a..c6555bd 100644 --- a/README.md +++ b/README.md @@ -121,8 +121,10 @@ gmkin() ``` You can also put these two commands into an `.Rprofile` file in the working directory -where you start R. For your convenience, you can find such a file [here](Rprofile?raw=true). -On Windows, you can save this file to the directory where you would like to start gmkin +where you start R. For some reason, the `utils` package also needs to be loaded when +you do this from an .Rprofile file. For your convenience, you can find such a +file [here](Rprofile?raw=true). On Windows, you can save this file to the +directory where you would like to start gmkin by right clicking on the link to this file, choose `save target as` or similar, and choose `.Rprofile.` as the name. This will lead to the creation of a file named `.Rprofile` which will be executed when you start R within this directory. diff --git a/Rprofile b/Rprofile index 2ab9f0e..7d24f98 100644 --- a/Rprofile +++ b/Rprofile @@ -1,2 +1,3 @@ require(gmkin) +require(utils) gmkin() -- cgit v1.2.1