Re: [Rd] Display instruction text on package load

From: Thomas J. Leeper <thosjleeper_at_gmail.com>
Date: Sun, 08 Apr 2012 08:13:18 -0500

Great! I will look into .onAttach, .onLoad, and packageStartupMessage.

Thanks so much!

-Thomas

On Sat, Apr 7, 2012 at 4:27 PM, Thomas J. Leeper <thosjleeper_at_gmail.com>wrote:

> I'm currently working on a new package for R that interfaces with an API.
> Most of the package's functionality requires users to supply an access key
> that allows the package to work with the API. I want to display text
> immediately upon loading the package that instructs/reminds users to enter
> their access key before attempting to do anything (as the package won't
> really work without it). I've searched the relevant help files for creating
> packages but haven't been able find anything about how to do this. As an
> example, library(Zelig) does what I'm trying to achieve.
>
> Thanks for your help! And sorry if there's an obvious answer to this that
> I am oblivious to.
> -Thomas
>
> --
> Thomas J. Leeper
>
> PhD Candidate, ABD
> Department of Political Science
> Northwestern University
> leeper_at_u.northwestern.edu
> http://www.thomasleeper.com
>
>

-- 
Thomas J. Leeper

PhD Candidate, ABD
Department of Political Science
Northwestern University
leeper_at_u.northwestern.edu
http://www.thomasleeper.com

	[[alternative HTML version deleted]]

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Sun 08 Apr 2012 - 13:15:04 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 08 Apr 2012 - 20:50:40 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive