[R] cacheSweave fails when used in conjunction with rjags

2010-03-25 Thread Roger Levy
in my .Rnw document. Best many thanks in advance. Roger -- Roger Levy Email: rl...@ling.ucsd.edu Assistant Professor Phone: 858-534-7219 Department of Linguistics Fax: 858-534-4789 UC San DiegoWeb: http://ling.ucsd.edu/~rlevy

Re: [R] accessing column and row numbers inside splom in lattice

2010-02-03 Thread Roger Levy
Many thanks, Dieter, that is a useful bit of information! Best Roger On Jan 31, 2010, at 2:03 AM, Dieter Menne wrote: Roger Levy-2 wrote: When using splom() in the lattice package, I would like to be able to access the row and column number of each individual pairs plot , I found

[R] accessing column and row numbers inside splom in lattice

2010-01-30 Thread Roger Levy
panel function, but it is not trivial because panel.pairs() calls several lattice-internal functions which are not exported. So if there is a better way, I would be grateful to know! Many thanks, Roger -- Roger Levy Email: rl...@ling.ucsd.edu Assistant Professor

[R] unable to install rjags on 64-bit Debian Linux (etch)

2008-11-09 Thread Roger Levy
While I have been able to install rjags on my Windows computer, oddly I have been unable to install rjags successfully on my 64-bit Linux compute server (etch, Linux kernel 2.6.18). I am required to specify the JAGS module directory upon installation; when doing this within R, I get:

Re: [R] unable to install rjags on 64-bit Debian Linux (etch)

2008-11-09 Thread Roger Levy
Sebastian P. Luque wrote: Hi Roger, On Sat, 08 Nov 2008 14:31:01 -0800, Roger Levy [EMAIL PROTECTED] wrote: While I have been able to install rjags on my Windows computer, oddly I have been unable to install rjags successfully on my 64-bit Linux compute server (etch, Linux kernel 2.6.18). I

Re: [R] unable to install rjags on 64-bit Debian Linux (etch)

2008-11-09 Thread Roger Levy
[EMAIL PROTECTED] wrote: Quoting Prof Brian Ripley [EMAIL PROTECTED]: On Sat, 8 Nov 2008, Roger Levy wrote: While I have been able to install rjags on my Windows computer, oddly I have been unable to install rjags successfully on my 64-bit Linux compute server (etch, Linux kernel 2.6.18

Re: [R] loading an updated version of a package during an active R session?

2008-04-10 Thread Roger Levy
Prof Brian Ripley wrote: On Wed, 9 Apr 2008, Roger Levy wrote: I am developing a package and I want to be able to load an updated version of the package from within an active R session. Suppose, for example, I have a function f within a package X. In my active R session, I have already

[R] loading an updated version of a package during an active R session?

2008-04-09 Thread Roger Levy
I am developing a package and I want to be able to load an updated version of the package from within an active R session. Suppose, for example, I have a function f within a package X. In my active R session, I have already loaded X. Then I change the R source code of f within X and rebuild

[R] if/else for plot/lines?

2007-12-07 Thread Roger Levy
not obvious how. Many thanks, Roger -- Roger Levy Email: [EMAIL PROTECTED] Assistant Professor Phone: 858-534-7219 Department of Linguistics Fax: 858-534-4789 UC San DiegoWeb: http://ling.ucsd.edu/~rlevy

[R] interaction of shingles and tapply()

2007-11-27 Thread Roger Levy
I'm interested in a version of tapply() that operates with shingles instead of factors. For instance: x - c(1,1,2,2,3,3) y - c(1,1,1,0,0,0) s - shingle(x,intervals=cbind(c(0.5,1.5),c(2.5,3.5))) # the following function should exist! tapply.shingle(x,s,mean) # returns the vector c(0.75,0.25)