Displaying 20 results from an estimated 1000 matches similar to: "suppress startup messages from default packages"
2012 Mar 12
1
Faceted bar plot shows wrong counts (ggplot2)
I have encountered a problem with faceted bar plots. I have tried to
create something like the example explained in the ggplot2 book (see pp.
126-128):
library(ggplot2)
mpg4 <- subset(mpg, manufacturer %in%
c("audi", "volkswagen", "jeep"))
mpg4$manufacturer <- as.character(mpg4$manufacturer)
mpg4$model <- as.character(mpg4$model)
base <-
2011 Sep 29
1
F and Wald chi-square tests in mixed-effects models
I have a doubt about the calculation of tests for fixed effects in
mixed-effects models.
I have read that, except in well-balanced designs, the F statistic that
is usually calculated for ANOVA tables may be far from being distributed
as an exact F distribution, and that's the reason why the anova method
on "mer" objects (calculated by lmer) do not calculate the denominator
df nor a
2012 Jun 12
1
Two-way linear model with interaction but without one main effect
Hi,
I know that the type of model described in the subject line violates
the principle of marginality and it is rare in practice, but there may
be some circumstances where it has sense. Let's take this imaginary
example (not homework, just a silly made-up case for illustrating the
rare situation):
I'm measuring the energy absorption of sports footwear in jumping. I
have three models (S1,
2012 Apr 27
1
TikzDevice
Dear R'ers,
I have trouble installing tikzDevice in Ubuntu. When I use install.packages("tikzDevice"), it gives error message:
ERROR: dependency ‘filehash’ is not available for package ‘tikzDevice’
* removing ‘/usr/local/lib/R/site-library/tikzDevice’
Then I tried filehash installation, I get the message:
"package ‘filehash’ is not available (for R version 2.13.1)"
2012 May 17
2
MANOVA with random factor
Dear All
I would need to perform a MANOVA with both fixed (group, sex, group*sex) and
random (brood) effects. I wonder if this is at all possible and if R does that.
At the moment, I only know that I can run a classic MANOVA with R.
Thank you
David
______________________________________________
David Costantini, PhD
http://www.davidcostantini.it
NERC Postdoctoral research associate
2011 Sep 23
2
tikzDevice install problem
Hi everybody!
I'm trying to install the tikzDevice package, and I keep on getting the
> ERROR: dependency ‘filehash’ is not available for package ‘tikzDevice’
I tried install.packages('filehash') and I get
> package ‘filehash’ is not available
Does anybody have the same problem or any hint?
thank youhelena
[[alternative HTML version deleted]]
2004 Oct 20
2
par() defaults in Rprofile
Dear List,
I've tried to set default par() in .Rprofile by putting the following in
the .First function:
setHook(packageEvent("graphics", "onLoad"),
function(...) {graphics::par(cex.axis=1.5, cex.lab=2, las=1)}
)
My goal was to set par() defaults without opening a device everytime at
startup. However, the next plot I create doesn't show these
2012 Jun 12
4
replacing NA for zero
Dear R users,
I have a very basic query, but was unable to find a proper anwser.
I have the following data.frame
x y
2 0.12
3 0.25
4 0.11
6 0.16
7 0.20
and, due to further calculations, I need the data to be stored as
x y
1 0
2 0.12
3 0.25
4 0.11
5 0
6 0.16
7 0.20
8 0
How do
2012 May 19
3
anovas ss typeI vs typeIII
Hi all,
I have been struggling with ANOVAs on R. I am new to R, so I created a simple data frame, and I do some analyses on R just to learn R and then check them on SPSS to make sure that I am doing fine. Here is the problem that I've run into:
when we use the aov function, it uses SS Type I as default (on SPSS it is Type III). Then I used the Anova function under cars package using the
2013 Jan 08
1
GLMM post- hoc comparisons
Hi All,
I have data about seed predation (SP) in fruits of three differents colors (yellow, motted, dark) and in two fruiting seasons (2007, 2008). I performed a GLMM (lmer function, lme4 package) and the outcome showed that the interaction term (color:season) was significant, and some combinations of this interaction have significant Pr(>|z|), but I don't think they are the right
2004 Jul 21
2
add more data to a data file, problem with .Rprofile
Hi,
Is there a way to incorporate an R object x to a file already containing R objects?
It seems that 'save' is not capable to do this. If I save x to a file containing
previously saved data, then I will lose this data.
I use the funcion hsv in .Rprofile but it is recognized. Couriously, if I source .Rprofile
when R is already running I do not get any error message.
Thank you.
2004 Apr 28
2
Rtemp directories accumulating over time
Hola!
There is a nuisance that the number of directories with name starting
Rtmp (and always empty) in my temp directory is increasing over time.
I put the following in my .Rprofile:
tmp0001 <- tempdir()
setHook( packageEvent("base","onUnload"),
function(...) unlink( tmp0001, recursive=TRUE) )
which solves part of the problem, but not all. So there are also
2006 Jan 04
1
R newbie configuration
I think I did enough reading on my
Own about startup ( part of the morning
And most of this afternoon )
to not feel uncomfortable asking
for confirmation of my understanding of this startup stuff.
Obviously, the startup process is more complicated
Than below but, for my R newbie purposes,
It seems like I can think of the startup process as follows :
Suppose my home directory =
2011 Mar 24
1
debug R device plot
Hi there,
I was doing great with R, ggplot and tikzDevice, when suddenly it stopped
working.
I can do a plot just fine on the R online graphics device. I can also open a
tikzdevice via tikz(). However, the plot (both ggplot and R graphics plot)
call leads to the error:
"createLockFile(lockname): cannot create lock file"
I see that this is related to my OS, namely Ubuntu 10.04. I
2005 Aug 11
1
Registering S3 class from external package
The package I'm working on can extract data from external
packages but would otherwise have no dependency on them.
However, I desire to be able to dispatch based on an
external S3 class if its package is attached (.First.lib).
My code is S4-based and its package has NAMESPACE.
Registering the external class prior to the other
package being attached doesn't seem to work so I am
attempting
2012 Mar 27
1
read.octave fails with data from Octave > 3.2.X
Hi,
I'm afraid that the function read.octave from package "foreign" has
some problems with the ASCII data format exported by new versions of
Octave (later than 3.2.X). It fails even for a simple case as:
[Octave code:]
octave:1> x=1;
octave:2> save -ascii testdata.mat x
[Now in R:]
> octavedata <- read.octave('testdata.mat')
Mensajes de aviso perdidos
In
2013 Jul 25
2
ask help!
Hi,
In the R console, I have the following:
> runif(10)
Error in runif(10) :
'.Random.seed' is not an integer vector but of type 'list'
>
Can someone advise me of the solution of the problem?
Mei-Yuan Chen
Department of Finance
NCHU, aiwan
2012 Feb 22
6
Loop
Dear all,
I have a (probably very basic) question. I am imputing data with the mice
package, using 10 chains. I can then write out the 10 final values of the
chains simply by
name1 <- complete(imp, 1)
:
:
name10 <- complete(imp,10)
Not a big deal, I just wanted to do that in a little loop as follows:
for (i in 1:10){
set[i] <-
2009 Jul 02
1
package post install instructions
Hello,
I've looked in tools:::.install_packages for some sort of hook that
would let packages developers point to further instructions after a
package is installed. For example, some packages need to setup
environment variables, ...
Is there something I have missed ?
Romain
--
Romain Francois
Independent R Consultant
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|-
2007 Jan 15
1
Conflict in .Rprofile documentation FAQ vs. Help?
Hi folks,
I note that in the general FAQ's we have
7.25 Why did my .Rprofile stop working when I updated R?
Did you read the NEWS file? For functions that are not in the base
package you need to specify the correct package namespace, since the
code will be run before the packages are loaded. E.g.,
ps.options(horizontal = FALSE)
help.start()
needs to be