An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20080917/0e26dfd9/attachment.pl>
Command Prompt Question
3 messages · Farr, David, Duncan Murdoch, Peter Dalgaard
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.
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.
prompt.prefix You'd think that ?example would find it soon enough...
O__ ---- Peter Dalgaard ?ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907