Displaying 20 results from an estimated 10000 matches similar to: "install-packages"
2004 Sep 19
1
Namespace problem
Now I try to add some C and Fortan code to my package, so the NAMESPACE
file is
useDynLib(eha)
importFrom(survival, Surv)
export(mlreg.fit, risksets)
but I get
.....
* checking R files for library.dynam ... OK
* checking S3 generic/method consistency ... WARNING
Error in .try_quietly({ : Error in library(package, lib.loc = lib.loc, character.only = TRUE, verbose = FALSE) :
2003 Jun 16
0
new package: eha
A few days ago I uploaded to CRAN a new package called 'eha', which
stands for 'Event History Analysis'. Its main focus is on proportional
hazards modeling in survival analysis, and in that respect eha can
be regarded as a complement and an extension to the 'survival'
package. In fact eha requires survival. Eha contains three functions
for proportional hazards
2003 Jun 16
0
new package: eha
A few days ago I uploaded to CRAN a new package called 'eha', which
stands for 'Event History Analysis'. Its main focus is on proportional
hazards modeling in survival analysis, and in that respect eha can
be regarded as a complement and an extension to the 'survival'
package. In fact eha requires survival. Eha contains three functions
for proportional hazards
2010 Dec 10
1
survreg vs. aftreg (eha) - the relationship between fitted coefficients?
Dear R-users,
I need to use the aftreg function in package 'eha' to estimate failure times for left truncated survival data. Apparently, survreg still cannot fit such models. Both functions should be fitting the accelerated failure time (Weibull) model. However, as G?ran Brostr?m points out in the help file for aftreg, the parameterisation is different giving rise to different
2017 Dec 01
0
R 3.4.3 is released
Thanks: I installed from source and got an error when loading a package:
--------------------------------------------------------------------
> library(eha)
Loading required package: survival
Error: package or namespace load failed for ?eha? in dyn.load(file,
DLLpath = DLLpath, ...):
unable to load shared object
'/usr/local/lib/R/site-library/eha/libs/eha.so':
2004 Sep 20
0
[Old '.so' file
I noticed the same thing as I reported below, when I upgraded from
R-2.0.0-alpha-20040918 to today's beta version:
'R CMD check' failed as before; but after cleaning 'src' from .o and .so
files, it worked again. So the two-day-old '.so' file is obviously different
from today's. Has compiler directives changed in the two last days? Or what
is happening?
G?ran
On
2003 Jun 20
3
namespaces not available
This happened to me with R-1.7.0, Linux RH9:
------------------------------------------------------------------
> q()
Save workspace image? [y/n/c]: y
Warning messages:
1: namespaces may not be available when loading
2: names in persistent strings are currently ignored
gb at lasker:~/R/test$ R
R : Copyright 2003, The R Development Core Team
Version 1.7.0 (2003-04-16)
R is free software
2004 Jan 08
0
New version of eha
A new version of 'eha' (0.92-1) is now on CRAN. From the ChangeLog:
0.92-1 (January 7, 2004)
* mlreg: Geometric distribution (i.e., constant baseline discrete
hazard) added. Not for frailty models, yet (on the TODO list).
* mlreg: New argument, 'n.points', added to 'control'. Controls
the number of points used in the Gauss-Hermite quadrature.
* mlreg: Stricter
2006 Jun 28
0
New version of eha
A new version (0.96.3) of the package 'eha' is now on CRAN. Apart from
some bug fixes, there are some news. The most noteworthy are: (i)
'plot.Surv' has a few new options, (ii) 'weibreg' now can fit null
models (i.e., only scale and shape) and covariates are no longer
automatically centered (although this is still the default), (iii) there
is a new function,
2004 Jan 08
0
New version of eha
A new version of 'eha' (0.92-1) is now on CRAN. From the ChangeLog:
0.92-1 (January 7, 2004)
* mlreg: Geometric distribution (i.e., constant baseline discrete
hazard) added. Not for frailty models, yet (on the TODO list).
* mlreg: New argument, 'n.points', added to 'control'. Controls
the number of points used in the Gauss-Hermite quadrature.
* mlreg: Stricter
2020 Jul 15
2
Openblas?
On 2020-07-15 14:36, Dirk Eddelbuettel wrote:
>
> G?ran,
>
> This is not an easy email to reply to because it _contains nothing
> reproducible_.
Thanks Dirk,
Sorry about that, but my real question was (see below): "Is the problem
that openblas uses C versions of blas?" That is, do I need to change
F77_CALL(name)(...);
to
cblas_name(...);
everywhere? And if so, is
2017 Dec 01
3
undefined symbol: sgemv_thread_n
Den 2017-12-01 kl. 20:24, skrev Dirk Eddelbuettel:
>
> On 1 December 2017 at 19:55, G?ran Brostr?m wrote:
> | Hello,
> |
> | the following is a part of a question asked on R-help. I realized that
> | it is better suited for asking here. Apologies for the cross-posting!
> |
> | I'm on Ubuntu artful, and upgraded with 'apt'. Then
> |
> |
2005 Oct 14
1
expm1, R-2.2.0 and Windows
A user of 'eha' told me that it failed to load in R-2.2.0 on Windows,
and ideed, I checked and it fails with the error message "The
procedure entry point expm1 could not be located in the dynamic link
libary R.dll". I'm using expm1 (from the C math library on Linux, I
would guess) in a couple of C functions.
This didn't happen with R-2.1.1 (and it doesn't happen with
2011 May 21
1
predict 'expected' with eha package
I am unsure what is being returned, and what is supposed to be
returned, when using 'predict' with "type='expected'" for an aftreg
survival model. The code below first generates a weibull model, then
uses predict to create a vector of the linear predictors, then
attempts to create the 'expected' vector, which is empty. The final
two steps in the code generate a
2019 Sep 11
1
Fw: Calling a LAPACK subroutine from R
On 2019-09-11 22:16, Avraham Adler wrote:
> Can you write a small C function that calls LAPACK call that fro your
> Fortran code? Yes, an extra step but maybe less traumatic than rewriting
> parts of LAPACK directly.
Yes, I know how to do that, but I find it somewhat bizarre that it is
impossible to call a Fortran subroutine from Fortran. And rewriting
'dgemv' was simple:
2018 Jul 05
2
Segfault on ubuntu 18.04
I am running R 3.5.1 on ubuntu 18.04, installed via apt. When I run R
from the bash prompt, I get (reinstalling r-base doesn't help)
> devtools::install_github("goranbrostrom/eha", build_vignettes = TRUE)
*** caught segfault ***
address 0x68456, cause 'memory not mapped'
Traceback:
1: dyn.load(file, DLLpath = DLLpath, ...)
2: library.dynam(lib, package,
2018 Jul 07
2
Segfault on ubuntu 18.04
On 2018-07-07 06:27, Dirk Eddelbuettel wrote:
>
> On 7 July 2018 at 00:51, G?ran Brostr?m wrote:
> | My repo is
> |
> | deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/
> |
> | Is that wrong?
>
> That repo will give you R and key R packages like Matrix lme4. (And you
> chose to ignore this repo by compiling R yourself ...).
Not really: I installed
2003 May 17
1
R indentation
I use Gnu emacs 21, Linux RH9 and R-1.7.0. I have succeeded to get the
recommended indentation of 4 in C thru customization as described in
'R-exts', p.73, but I can't get it to work in R code. Can someone help,
for instance by sending me the appropriate lines in '.emacs'?
Thanks!
---
G?ran Brostr?m tel: +46 90 786 5223
Department of Statistics
2010 Feb 05
3
AFTREG with ID argument
Dear all,
I have some trouble using the "id"-argument with aftreg (accelerated
failure time regression analysis from the eha library).
As far as I understand it, the id argument is used to group
individuals together if there are time-varying covariates and the
data is arranged in counting process style.
Unfortunately, i cannot figure out how to use the "id"-argument. The
2008 Jan 23
2
Parametric survival models with left truncated, right censored data
Dear All,
I would like to fit some parametric survival models using left
truncated, right censored data in R. However I am having problems
finding a function to fit parametric survival models which can handle
left truncated data.
I have tested both the survreg function in package survival:
fit1 <- survreg(Surv(start, stop, status) ~ X + Y + Z, data=data1)
and the psm function in package