[R] Error in structure(.External(.C_dotTclObjv, objv), class = "tclObj") when selecting (HTTP mirrors) in update.packages()

2016-05-16 Thread Jennifer Lyon
Hi: When I try to run update.packages() and double click on the last option (HTTP mirrors), I receive the error message: Error in structure(.External(.C_dotTclObjv, objv), class = "tclObj") While I can reliably reproduce the error, if I double click quickly enough (decreased time between the two

[R] hist: argument '...' is not made use of

2014-02-22 Thread Jennifer Lyon
Hi: When converting some code to use plot = F in a call to hist(), I received the following warning (with a much simplified example). moo<-1:10 hist(moo, las=1, plot=F) Warning message: In hist.default(moo, las = 1, plot = F) : argument '...' is not made use of >From the help page, I was able t

Re: [R] using apply with sparse matrix from package Matrix

2012-09-04 Thread Jennifer Lyon
On Tue, Sep 4, 2012 at 10:58 AM, Martin Maechler wrote: >>>>>> Jennifer Lyon >>>>>> on Fri, 31 Aug 2012 17:22:57 -0600 writes: > > > Hi: > > I was trying to use apply on a sparse matrix from package Matrix, > >

[R] using apply with sparse matrix from package Matrix

2012-08-31 Thread Jennifer Lyon
Hi: I was trying to use apply on a sparse matrix from package Matrix, and I get the error: Error in asMethod(object) : Cholmod error 'problem too large' at file ../Core/cholmod_dense.c, line 106 Is there a way to apply a function to all the rows without bumping into this problem? Here is a si

[R] Calling str() on mlogit object gives warnings

2011-11-01 Thread Jennifer Lyon
Hi: When I call str() on an mlogit object, I seem to get warnings. This code is from an example provided in the mlogit documentation: library(mlogit) data("Train", package="mlogit") tr<-mlogit.data(Train, shape="wide", choice="choice", varying=4:11, sep="", alt.levels=c(1,2), id="id") ml.train<-m

[R] Discrepancy in help for object.size() and question on how to round object sizes

2010-07-25 Thread Jennifer Lyon
I think there is a discrepancy In the help for object.size(). In the usage section there is the comment: ## S3 method for class 'object_size': while in the value section there is the text: An object of class ‘"object.size"’ ... And R itself says: > class(object.size(letters)) [1] "object_size

Re: [R] Why does smoothScatter clip when xlim and ylim increased?

2010-02-07 Thread Jennifer Lyon
On Sat, Feb 6, 2010 at 6:15 AM, Duncan Murdoch wrote: > On 06/02/2010 7:51 AM, Jennifer Lyon wrote: >> Hi: >> >> Is there a way to get smoothScatter to not clip when I increase the xlim >> and >> ylim parameters? >> Consider the following example: >> &

[R] Why does smoothScatter clip when xlim and ylim increased?

2010-02-06 Thread Jennifer Lyon
Hi: Is there a way to get smoothScatter to not clip when I increase the xlim and ylim parameters? Consider the following example: set.seed(17) x1<-rnorm(100) x2<-rnorm(100) smoothScatter(x1,x2) #Now if I increase xlim and ylim notice that the plot seems to be clipped at the former xlim, and ylim