Displaying 20 results from an estimated 3000 matches similar to: "Display instruction text on package load"
2019 Feb 21
5
Return/print standard error in t.test()
Dear Thomas,
it is, unfortunately, not that simple. t.test() returns an object of class "htest" and not all such objects have standard errors. I'm not entirely sure what the point is since it's easy to compute the standard error of the difference from the information in the object (adapting an example from ?t.test):
> (res <- t.test(1:10, y = c(7:20)))
Welch Two Sample
2020 Oct 05
3
Internet access and R CMD make check-devel
I am trying to install R on CentOS (either 7 or 8, behavior is the
same) in an environment behind a firewall and while I am able to run:
R CMD make check
I am unable to run:
R CMD make check-devel
These latter tests fail. The failure occurs in the internet access
if() conditional statement in these two tests:
https://svn.r-project.org/R/trunk/tests/internet.R
2019 Feb 23
1
Return/print standard error in t.test()
>>>>> peter dalgaard
>>>>> on Fri, 22 Feb 2019 12:38:14 +0100 writes:
> It's not a problem per se to put additional information
> into class htest objects (hey, it's S3 after all...) and
> there is a precedent in chisq.test which returns $observed
> and $expected.
It seems the consent is to simply return the SE but *not*
2017 Mar 26
1
Documentation of model.frame() and get_all_vars()
Hi everyone,
This is about documentation for the model.frame() page. The
get_all_vars() function (added in R 2.5.0) is a great addition, but
the behavior of its '...' argument is different from that of
model.frame() with which it is documented and this creates ambiguity.
The current docs read:
\item{\dots}{further arguments such as \code{data}, \code{na.action},
\code{subset}. Any
2015 Jun 05
3
R-devel Digest, Vol 148, Issue 5
It's disappointing that many packages do not have a NEWS file. Perhaps
CRAN should require NEWS or CHANGELOG, as long as the system is being
reformed to potentially accommodate markdown anyway.
-Thomas
Thomas J. Leeper
http://www.thomasleeper.com
On Fri, Jun 5, 2015 at 12:00 PM, <r-devel-request at r-project.org> wrote:
> Date: Thu, 04 Jun 2015 12:39:34 -0400
> From: Duncan
2020 Oct 11
3
Installing bioconduction packages in connection with loading an R package
Dear all,
My gRbase package imports functionality from the bioconductor packages graph, Rgraphviz and RBGL.
To make installation of gRbase easy, I would like to have these bioconductor packages installed in connection with installation of gRbase, but to do so the user must use setRepositories() to make sure that R also installs packages from bioconductor.
Having to call setRepositories causes
2019 Feb 21
0
Return/print standard error in t.test()
Hi John,
Thanks for your reply. Of course I could write a package and of course I
would find that trivial to do. The point is this is a main entry point to R
for probably (at this point) hundreds of thousands of students. I?d like
them to be able to get a basic quantity of interest from a t-test without
four subsequent function calls.
I also don?t really see the point about the object class,
2007 Feb 20
1
Custom per-package options passed down via library() ?
I want to load an in-house library 'differently' in a particular context and,
to achieve this, would like to govern the behaviour of its .onLoad()
function.
In a related context, Frank Harrell and I have been wondering on and off
about how to tell Hmisc to be less verbose in certain situations. He
achieves this by placing information in a custom field in options().
I could do the same
2019 Feb 22
0
Return/print standard error in t.test()
It's not a problem per se to put additional information into class htest objects (hey, it's S3 after all...) and there is a precedent in chisq.test which returns $observed and $expected.
Getting such information printed by print.htest is more tricky, although it might be possible to (ab)use the $estimate slot.
The further question is whether one would really want to do that (change the
2008 Jun 01
2
how to analyze time series structures?
h?, I am preparing undergraduate thesis If you help me this would make me
feel good.
First I need to analyze effect of Dow Jones Industrial average(DJIA)'s
return on Istanbul Stock Exchange(ISE). I want to use Markov-Switching
Bayesian Vector Autoregression Models (MSBVAR) that is used to examine the
effect of a large economy?s stock exchange movement on a small economy?s
stock exchange
2015 Jan 11
0
Bug in URLencode and patch
I believe the implementation of utils::URLencode is non-compliant with
RFC 3986, which it claims to implement
(http://tools.ietf.org/html/rfc3986). Specifically, its percent
encoding uses lowercase letters a-f, which it should use uppercase
letters A-F.
Here's what URLencode currently produces:
library("utils")
URLencode("*+,;=:/?", reserved = TRUE)
#
2009 Oct 30
1
Package zelig
hello all
I am using the R package Zelig for some tobit regression with robust
standard errors.
I have got R version 2.9.2 (2009-08-24)
and Zelig Version: 3.4-5
when i do demo(robust)
It ends like this way
data(coalition)
> # Fit the model with robust standard error
> user.prompt()
Press <return> to continue:
> z.out3 <- zelig(Surv(duration, ciep12) ~ polar + numst2 +
2017 Mar 30
0
get_all_vars() does not handle rhs matrices in formulae
Hello again,
It appears that get_all_vars() incorrectly handles model formulae that
use a right-hand side (rhs) matrix. For example, consider these two
substantively identical models:
# model using named variables
mpg <- mtcars$mpg
wt <- mtcars$wt
hp <- mtcars$hp
m1 <- lm(mpg ~ wt + hp)
# model using matrix
y <- mtcars$mpg
x <- cbind(mtcars$wt, mtcars$hp)
m2 <- lm(y ~ x)
2015 Jun 05
0
NEWS.md support on CRAN
On 05/06/2015 8:16 AM, Thomas J. Leeper wrote:
> It's disappointing that many packages do not have a NEWS file. Perhaps
> CRAN should require NEWS or CHANGELOG, as long as the system is being
> reformed to potentially accommodate markdown anyway.
I think we should all be careful about suggesting work for other
people. This would be a huge amount of work, probably hundreds of hours
2011 Jun 23
1
Class not found when search in .onLoad
Hi,
I am facing with a strange behaviour of isClass and extends when these
are called in .onLoad in both R 2.12.1 and R 2.13.0. This is preventing
my package from doing some object initializations at a proper place
(i.e. in .onLoad).
Suppose one defines two S4 classes in a package, and that one needs to
check the inheritance between these two when loading the package (e.g.
to validate slots
2013 Mar 05
2
Zelig package: Coxph model problems
Hi,
I'm having problems with the Zelig package - when using
the below R displays the follwing message (I'm running R
i386 2.15.3 for Windows and have updated all the Zelig
packages):
z.out<-zelig(Surv(psurv2, pcens2) ~ ren_sup3 + age,
data=data_urgent, model="coxph")
** The model "coxph" is not available with the currently
loaded packages,
** and is not an
2006 Apr 13
4
Wishlist: 'quietly' argument for .onAttach() / .First.lib()
Hi R-devels,
in "Writing R extensions" as well as in the help
to .onAttach(), you mention that one could
use this function to issue a start-up message/banner
for the package.
My little wish for Easter:
a 'quietly'-type argument for .onAttach() / .First.lib()
which is passed through by functions
require() and library() respectively,
and by means of which one could optionally
2019 Jun 26
3
R-Forge > GitHub?
Whereas it is true that one has to contact GitHub to detach a GitHub
repository, it really is no problem (or at least was no problem in 2016). I
wanted to do so when I took over the maintainer role of LaplacesDemon which
only remained on GitHub as a fork on some other person's private account.
So I forked and then contacted GitHub support and simply asked them to
remove the "forked
2018 Mar 04
2
Random Seed Location
The following helps identify when .GlobalEnv$.Random.seed has changed:
rng_tracker <- local({
last <- .GlobalEnv$.Random.seed
function(...) {
curr <- .GlobalEnv$.Random.seed
if (!identical(curr, last)) {
warning(".Random.seed changed")
last <<- curr
}
TRUE
}
})
addTaskCallback(rng_tracker, name = "RNG tracker")
EXAMPLE:
>
2004 Jun 25
2
R 1.9.1 package installation problems
Hello,
I am writing as an administrator, not as an R user, so forgive me if I
am not completely knowledgeable about R.
I have a user who is creating an R package for windows from a Linux
environment using the crossbuild environment by Jun Yan and A.J.
Rossini. The packages she generated worked fine until she tried to
install in R 1.9.1 for Windows. Now when she installs with