[Rd] Straight-quotes for usage and examples sections in PDF docs?

2012-08-06 Thread Mike Lawrence
Is there any way to ensure that quotation marks are left as straight quotes and not converted to curly quotes in the \usage and \examples sections when the pdf versions of the docs are created? __ R-devel@r-project.org mailing list https://stat.ethz.ch/m

Re: [Rd] Function works when custom defined but not when part of a package

2010-09-28 Thread Mike Lawrence
Ah, "forgot" is a bit too generous. Seems I failed to get that far in the Extensions manual because I never dealt with S4 classes until now. Thanks for the pointer. Mike -- Mike Lawrence Graduate Student Department of Psychology Dalhousie University Looking to arrange a meeting? Check

[Rd] Function works when custom defined but not when part of a package

2010-09-27 Thread Mike Lawrence
Hi folks, I'm not sure if this is a bug or not so I thought I'd check here first. I came across it while working on an update to my package where I try to get AICtab slot from the summary of an lmer object ( summary(my_lmer)@AICtab ). The attached contains a minimal example, where the code below

[Rd] save() file size (PR#13816)

2009-07-09 Thread Mike . Lawrence
Full_Name: Mike Lawrence Version: 2.9.0 OS: OS 10.5.7 Submission from: (NULL) (208.98.203.100) When using save() I notice that sometimes saving smaller objects yield larger file sizes. x=data.frame( expand.grid( id=factor(1:1000) ,trial=1:24

Re: [Rd] Aggregate factor names

2007-09-27 Thread Mike Lawrence
Understood, but my point is that the naming I suggest should be the default. One should not be 'punished' for being explicit in calling aggregate. On 27-Sep-07, at 1:06 PM, Gabor Grothendieck wrote: > You can do this: > > aggregate(iris[-5], iris[5], mean) > > &g

[Rd] Aggregate factor names

2007-09-27 Thread Mike Lawrence
another.iv ,yet.another.iv ) ,some.function ) ) -- Mike Lawrence Graduate Student, Department of Psychology, Dalhousie University Website: http://memetic.ca Public calendar: http://icalx.com/public/informavore/Public "The road to wisdom? Well, it's plai

Re: [Rd] SWF animation method

2007-08-08 Thread Mike Lawrence
-page +0+0 im01.png -page +0+0 > im01.png -loop 0 mov.gif > > Max > >> -Original Message- >> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Romain Francois >> Sent: Wednesday, August 08, 2007 11:11 AM >> To: Mike Lawrence >> Cc: r

[Rd] SWF animation method

2007-08-08 Thread Mike Lawrence
#x27;m a little too newb to do this myself I think). Mike -- Mike Lawrence Graduate Student, Department of Psychology, Dalhousie University Website: http://memetic.ca Public calendar: http://icalx.com/public/informavore/Public "The road to wisdom? Well, it's plain and simple to express:

Re: [Rd] Suggestion to extend aggregate() to return multiple and/or named values

2007-07-13 Thread Mike Lawrence
,ifelse(i==1,'x',paste ('x',i,sep=''))) for(j in 1:num.cells){ temp[j,length(temp)]=FUN.out[[j]][i] } } return(temp) } On 13-Jul-07, at 1:29 PM, Mike Lawrence wrote: > Hi all, > > This

[Rd] Suggestion to extend aggregate() to return multiple and/or named values

2007-07-13 Thread Mike Lawrence
agg(z,Ind,mean) #should be identical to aggregate aggregate(z,Ind,summary) #returns an error agg(z,Ind,summary) #returns named columns #Make a function that returns multiple unnamed values summary2=function(x){ s=summary(x) names(s)=NULL return(s) } agg(z,Ind,summary2) #returns