Displaying 20 results from an estimated 600 matches similar to: "NAs introduced by coercion"
2008 Jun 05
1
(baseline) logistic regression + gof functions?
?
Hallo,
which function can i use to do (baseline) logistic regression +
goodness
of fit tests?
so far i found:
# logistic on binary data
lrm combined with resid(model,'gof')
# logistic on binary data
glm with no gof-test
# baseline logit on binary data
2012 Jun 08
1
Fwd: How to best analyze dataset with zero-inflated loglinear dependent variable?
Dear netters,
Sorry for cross-posting this question. I am sure R-Help is not a
research methods discussion list, but we have many statisticians in
the list and I would like to hear from them. Any function/package in R
would be able to deal with the problem from this researcher?
---------- Forwarded message ----------
From: Heidi Bertels
Date: Tue, Jun 5, 2012 at 4:31 PM
Subject: How to best
2004 Jul 28
2
problem with the .Rhistory
Hello,
The history function doesn't seems to work when I am working with R.
I have a .Rhistory file in my working directory and I have tried
savehistory(file = ".Rhistory")
or the command given in the history help :
.Last <- function()
if(interactive()) try(savehistory(".Rhistory"))
and I get the same error message
Error in
2000 Jun 29
3
Overal plot title after mfrow and .Rhistory questions.
Hello everyone,
I had a few questions that I have not been able to figure out despite a lot of
reading.
1) Adding a title to a multiplot figure:
If I plot multiple plots with
>par(mfrow=c(2,6))
how do I add an overall title to the figure, not the individual plots?
2) Saving histories on the fly:
Is there a .Rhistory equivalent to
>save.image()
? I would like to be able to save the
2002 Sep 19
3
savehistory directories and quitting R (PR#2038)
#
# r-bugs@r-project.org
#
######################################################
Because I work in different directories, but always want to save my
.Rhistory in the same place, I have changed the system function savehistory
to this:
function (file = "D:/R50/.Rhistory")
invisible(.Internal(savehistory(file)))
When I use q() to quit R, and it asks me whether I want to
2009 Dec 25
0
problem with .Rhistory
Dear R People:
I just updated to R-2.10.1 on an Ubuntu Karmic Koala and am getting
the following with saving .Rhistory
erin at erin-desktop:~$ R
R version 2.10.1 (2009-12-14)
Copyright (C) 2009 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type
2009 Dec 09
3
.Rhistory in R.app
Dear R users,
I am having a minor but annoying issue with R.app. It doesn't retain
the history information from the previous sessions. By "history," I
mean a record of commands/functions entered into R rather than the
list of objects--that is properly recorded in the .Rdata file as well
as in a workspace file I save separately.
System details:
R version 2.9.0
R.app GUI 1.28
Mac OS
2006 Mar 16
1
autoloading .RData files / .Rhistory file
NOTE: WinXP, R2.2.0
All,
a while back I posted a question about using relative filereferencing.
The responses have allowed me to successfully set up the following
directory structure:
...\data\raw
...\data\derived
...\prog
...\lst
...\log
In the \prog directory I have put an RGui.exe shortcut and "pointed it"
at \prog as the "Start In" location. In the same
2000 Jun 19
1
Up-arrow on rw1010
A quick summary. The reported problem appears to be with (some) previous
histories. If you find that neither up arrow nor ctrl-P work in the Rgui
console, please delete .Rhistory and try again.
We don't know the exact cause, and nothing I can think of can reproduce
this. I have no problem taking histories made with rw1001 and reading them
in rw1010 and vice versa.
If the .Rhistory is really
2003 Nov 20
1
Hidden Rhistory files
Hi all,
I've ecountered a problem in the last few days with my .Rhistory file
not being able to be updated when I quit an R session because its file
attributes under Windows have been set as "Hidden". Recently, I put the
following line in my global Rprofile file:-
history(max.show=Inf)
so that I automatically open the entire history file for a project when
I begin a session, but I
2013 Feb 07
1
Saving history across sessions
I have an environment variable `$R_HISTFILE` pointing to
`/home/my.username/.RHistory` and the following code in my `.Rprofile` in
my home directory:
.Last <- function() {
if (!any(commandArgs()=='--no-readline') && interactive()){
require(utils)
try(savehistory(Sys.getenv("R_HISTFILE")))
}
}
2003 Jun 12
3
defaults in R: packages, .Rhistory
With the current version (rw1070), every time I start R it loads a whole
bunch of packages, many of which I do not need in a typical session:
> search()
[1] ".GlobalEnv" "package:methods" "package:ctest" "package:mva"
[5] "package:modreg" "package:nls" "package:ts" "Autoloads"
[9]
2007 Oct 05
3
Mac GUI and .Renviron
The .Renviron and .First functions do not seem to work the same way on a
Mac OS 10.4 as on a Windows XP machine.
From working in Windows I am used to creating a new directory for each
data analysis project. In the new directory I place
First, an .Renviron file consisting of the following text:
R_HISTFILE="history.txt"
R_HISTSIZE=1000000
Second, an .RData file containing a .First
2000 Jul 13
0
q() again and again and again
Rer's,
Get ready for this intellectual fest!
Linux i686 2.2.14-1mdklinus
R-1.0.1
When I try to q() from my workspace, I get the following responses:
###############################
> q()
Save workspace image? [y/n/c]: y Error: can't save data -- unable to open
./.RData
then:
> save.image()
Error in save(list, file, ascii, oldstyle) :
unable to open file
and finally:
2008 Apr 13
1
.Rprofile, date tagging history, loading packages
Dear R-Helpers,
I'm fiddling with my .Rprofile in Windows XP & R 2.7.0 Beta. I prefer to
manually save my workspace but automatically save my command history via
the .Rprofile. That is working fine once I found that "utils::" was
required before the loadhistory & savehistory functions. What I would
like to do is add a separator line with a date between the histories of
each
2013 Mar 31
1
Storage of automatically loaded workspace and command files
When I close R and answer yes to save workspace, R automatically loads it and apparently also the command history at start up. I would like to know where R stores this information. I know that I can save .RData and .Rhistory files, but I would like to know how(where) R stores this information automatically. I have not found any .RData or .Rhistory files associated with start up.
I am running
2013 Mar 31
1
Where does R store workspace and commands that load on startup
When I close R and answer yes to save workspace, R automatically loads it and apparently also the command history at start up. I would like to know where R stores this information. I know that I can save .RData and .Rhistory files, but I would like to know how(where) R stores this information automatically. I have not found any .RData or .Rhistory files associated with start up.
I am running
2002 Oct 21
1
savehistory directories and quitting R (PR#2038)
Thanks-- as Duncan Murdoch also noted, R_HISTFILE can be used to solve my
problem, as below. BTW it's not easy to find out about R_HISTFILE in the
help system or manuals, though, unless you already know it exists-- it only
seems to be described under startup options, not things to do with history.
However, Duncan's reply did hint at an inconsistency, in that savehistory()
defaults to
2002 Sep 04
1
readline doesn't work even thou cled=TRUE
Can anyone offer suggestion about getting readline to work on Solaris?
(v1.5.1)
When I use the up arrow or ctrl-p to try to repeat the last command
my session just beeps.
It appears that the .Rhistory file that should appear in my startup
directory
is not being created.
Thanks!
The screen shot below shows cled=TRUE and no .Rhistory file created:
$ /apps/R-1.5.1/bin/R
R : Copyright 2002, The
2008 Jul 30
1
odds ratios in multiway tables (stratified)
Hi,
does anyone know of a function to calculate odds ratios in multiway
tables (stratified) (+ the other usual statistics involved)
i mean:
say we have a table r*c*d,
For every d (depth) we have a r*c table,
and in this table the odds ratio's are calculated for every 2*2 subtable
in it.
logically this function would look like):
ORs(multiwaytable)
or
ORs(data$var1r,data$var2c,data$var3d)