Message-ID: <48D143B3.7030900@stats.uwo.ca>
Date: 2008-09-17T17:51:47Z
From: Duncan Murdoch
Subject: Command Prompt Question
In-Reply-To: <2C33EE53C9FDEB4EB315D9EAE457C5240121F1D3@DE08EV801.global.ds.honeywell.com>
On 9/17/2008 1:42 PM, Farr, David wrote:
> Could someone please tell me how to stop the package/function name from
> being included before the command prompt? This started happening today
> after I made some changes to my Rprofile.site file and I don't know why.
> For example: if I enter example(AIC), instead of just getting the
> regular '>' before each output line, I get 'AIC>' instead. I only want
> the '>' and have searched everywhere and can't find an option to change
> this.
That's been normal behaviour for example() for a long time. See
?example to see how to disable it.
Duncan Murdoch
>
>
> Thanks
>
> David
>
>
>
> -----------------------
>
>
>
> AIC> lm1 <- lm(Fertility ~ . , data = swiss)
>
>
>
> AIC> AIC(lm1)
>
> [1] 326.0716
>
>
>
> AIC> stopifnot(all.equal(AIC(lm1),
>
> AIC+ AIC(logLik(lm1))))
>
>
>
> AIC> ## a version of BIC or Schwarz' BC :
>
> AIC> AIC(lm1, k = log(nrow(swiss)))
>
> [1] 339.0226
>
>
>
>
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.