Displaying 20 results from an estimated 1000 matches similar to: "Quartz graphic device can be extremely slow in some cases"
2008 Apr 16
1
Meaning of /, :, and %in% in lmer
Hello,
I asked this question a little while ago (
https://stat.ethz.ch/pipermail/r-help/2008-April/158761.html ) but got no
response. Can anybody explain to me the difference between /, :, and %in% in
the definition of random effects in lmer, such as:
(1|A/B), (1|A:B), (1|B %in% A)?
My understanding is that (1|A/B) is the same as (1|A) + (1|A:B), but I have
not seen this stated explicitly
2008 Apr 04
1
lme4: How to specify nested factors, meaning of : and %in%
Hello list,
I'm trying to figure out how exactly the specification of nested random
effects works in the lmer function of lme4. To give a concrete example,
consider the rat-liver dataset from the R book (rats.txt from:
http://www.bio.ic.ac.uk/research/mjcraw/therbook/data/ ).
Crawley suggests to analyze this data in the following way:
library(lme4)
attach(rats)
Treatment <-
2016 Mar 07
0
Could unit.list() from grid package be made an exported function?
Hi
Subassignment for units has been committed to r-devel.
You should now be able to do things like ...
x <- unit(1:3, "mm")
x[2] <- unit(.5, "npc")
(see grid/tests/units.R for more complex examples)
This works for me for the three stackoverflow scenarios.
Any confirmation that it also works for you would be welcome.
Paul
On 07/03/16 07:34, Wilke, Claus O wrote:
>
2016 Mar 08
1
Could unit.list() from grid package be made an exported function?
Paul,
Subassignment for units has been committed to r-devel.
You should now be able to do things like ...
x <- unit(1:3, "mm")
x[2] <- unit(.5, "npc")
(see grid/tests/units.R for more complex examples)
Yes, I just tried the latest R devel and it works for me. However:
This works for me for the three stackoverflow scenarios.
I ran into an additional problem when
2016 Mar 06
3
Could unit.list() from grid package be made an exported function?
Hello,
certain manipulations of ggplot2 graphs, in particular aligning them, require the function grid:::unit.list(). See e.g. these posts on stackoverflow:
http://stackoverflow.com/questions/34032621/element-replacement-in-grid-unit-vector
http://stackoverflow.com/questions/32580946/setting-absolute-size-of-facets-in-ggplot2/32583612#32583612
http://stackoverflow.com/a/35823179/4975218
Since
2007 Oct 16
2
Bootstrapping Contrasts for Repeated Measures ANOVA
I have executed a Repeated Measures ANOVA with one DV (latency) and
one within subject factor (acoustic condtion: 3 levels) by
bootstrapping my sampling distribution of F from the empirical sample
distribution. I chose to resample because the sample distribution
deviates from normality a lot.
The overall F is significant and now I wish to decompose this with
contrasts to ask if latencies to
2002 Nov 07
0
Finalizer function?
I have some code that calls R's finalizer interface, e.g.,
.Call('R_RegisterFinalizerEx', object, function, TRUE)
This worked pre 1.6, but now I get '.Call function name not in call
table'. Are functions listed in Rinternals.h no longer available in
.Call? Or is this a namespace issue? How do I reference the function?
Thanks.
Tim
--
Timothy H. Keitt
The University of
2002 Nov 09
1
Calling function with proto in Rinternals.h
(Tried this query on r-help with no luck, maybe someone here can help?)
I would like to call the 'RFinalizerEx' function that appears in
Rinternals.h using ".Call". It worked for me in the past, but now I get
an error message something like: 'call function name not in call table'.
I'm using the 1.6.1 rpm from CRAN. Anyone know what's going on? Thanks.
Tim
--
2008 Apr 28
2
F values from a Repeated Measures aov
Hi Folks,
I have repeated measures for data on association time (under 2
acoustic condtions) in male and female frogs as they grow to adulthood
(6 timepoints). Thus, two within-subject variables (Acoustic
Condition: 2 levels, Timepoint: 6 levels) and one between-subject
variable (Sex:male or female).
I am pretty sure my distributions depart from normality but I would
first like to simply run a
2003 Aug 13
4
RAqua
Small things, mostly.
1. Buildproblem. Well-known and annoying. Build fails if debugging is on
(which is the default) because Debugging.h breaks devQuartz.c
compiles. If debugging is switched off on the command line or in
the environment, then devQuartz.c builds, but aquaconsole.c does
not compile, because it needs Debugging.h. I do not want to edit
Apple system files, and not files in the R
2007 Jul 16
1
Problem building R with Sun Studio Compiler
I would like to Build R-2.5.1 on OpenSUSE 10.2 using the SunStudio 12
compilers(http://developers.sun.com/sunstudio/index.jsp)
R builds and passes make check fine without optimising. However, when I try to compile with optimisation turned on
(-fast) the build gets stuck in an infinite loop at the following point:
Sun_Studio/sunstudio12/bin/cc -m64 -shared -Kpic -m64 -fPIC -o grDevices.so
2007 Jun 25
1
R-2.5.0 compilation problem on Linux powerpc
Hello everybody,I am having an error while compiling R-2.5.0 on Linux
powerpc.
This is what I see when I do a make:
gcc -std=gnu99 -shared -L/usr/local/lib -o grDevices.so chull.o devNull.o
devPicTeX.o devPS.o devQuartz.o init.o
../../../../library/grDevices/libs/grDevices.so is unchanged
make[5]: Leaving directory
`/home/vivekv/sw_alg/R-2.5.0/src/library/grDevices/src'
make[4]: Leaving
2003 Aug 12
1
Re: [R-SIG-Mac] cleanest build I can think of
Thanks Byron, I assume you use new Devel Tool updates and nothing from
fink?
Can other people with new dev tools check this (for example Jan?)
It would be nice to update the instuction page (and R-admin in the
future)
some general notes:
1. there is no need to configure with --without-x as X11 can now be
used from inside RAqua
2. please use R-devel and not R-Sig-Mac as we will soon close this
2009 Mar 11
1
Compiling R-2.8.1 on Sparc Solaris 10: libRlapack.so: symbol __vlog_: referenced symbol not found
Hi,
I am compiling R2.8.1 on a Sun M4000 machine with Solaris 10.
I am using Sun Studio 12.
I get the following error:
cc -xtarget=native64 -G -L/usr/sfw/lib/sparcv9 -L/opt/csw/lib/sparcv9 -o
grDevices.so chull.o devNull.o devPicTeX.o devPS.o devQuartz.o init.o
mkdir ../../../../library/grDevices/libs
Warning in solve.default(rgb) :
unable to load shared library
2007 Feb 02
1
Problem installing R-2.4.1 on AIX 5.3
Dear all,
I have some problems to install R-2.4.1 on AIX 5.3.
Configure string:
./configure --with-readline=no LDFLAGS='-bshared' --with-jpeglib=no --with-libpng=no --with-lapack=no --prefix=/cineca/prod/Bioinf/R-2.4.1
configure .site=
#! /bin/sh
CC=xlc
F77=xlf
MAIN_LDFLAGS=-Wl,-brtl
SHLIB_LDFLAGS=-Wl,-G
CXX=xlc
CXXFLAGS=' -g -O'
SHLIB_LDFLAGS=-W1, -G
MAKE=gmake
Configure ends
2012 Nov 28
1
Opening and closing quartz graphic device crashes R
> replicate(1000, {dev.new(); dev.off()})
R(83204,0xacdc1a28) malloc: *** mmap(size=16777216) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
R(83204,0xacdc1a28) malloc: *** mmap(size=16777216) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
...
*** caught bus error
2008 Apr 05
2
pearson's correlation
Hello,
I used the function cor to calculate the pearson correlation coefficient between variables. However, the resulting values do not correspond to the outcome of my excel-calculations, for which I used the formula Cor(x,y)=Cov(x,y)/(SD(x)*SD(y))
So my question is: How does the function "cor" compute the pearson correlation coefficient?
Thank you in advance,
Ake Nauta
2009 Feb 13
2
Identifying graphics files produced by R
Oftentimes, I see graphs on the web that *look* like they've been
produced by R, but I can never be sure. Or can I? I notice that
PostScript files include a "%%%Creator: R Software" line, but do R
graphics drivers encode any identifying information in GIF or PNG
files more commonly used on the web? And of so, would such evidence
necessarily be obliterated in post-processing (e.g
2008 Apr 06
2
Executing a telnet session from R
Colleagues
I am working in a Linux OS with R 2.6.2.
I need to execute a telnet session to another Linux machine from R,
perform some operations, then return to the original computer. When I
am in an R session, this is easy to accomplish by typing:
system("telnet -l username machinename")
I am then asked for my password; once that is entered, I am connected
to the remote
2008 May 23
0
A problem about the Japanese font of OSX
Many Japanese were troubled with the setting of the font.
I added the following to .Rprofile first.
setHook(packageEvent("grDevices", "onLoad"),
function(...){
grDevices::quartzFonts(sans=grDevices::quartzFont(
c("Hiragino Kaku Gothic Pro W3",
"Hiragino Kaku Gothic