Displaying 20 results from an estimated 1000 matches similar to: "advice on writing/maintaining an R package with a version control system"
2010 Aug 20
1
Package repository on Linux machine and upgrading R
Dear list,
I remember running into a thread on this topic in one of the R mailing
lists before but I can't seem to find it now. Basically, I remember a
discussion on how one can set up where R packages can be installed so
that when we upgrade the R version on the machine, the packages are
still accessible. One can back up this package location as well and
bring it to a new computer. I
2011 Aug 09
2
build 32-bit R on x86_64?
Dear R-Devel,
I'm using Ubuntu on an x86_64 machine and would like to have both the
32-bit and 64-bit versions of R built from source. By default,
following the usual build procedures yields 64 bit R. Looking at
[these](http://cran.r-project.org/doc/manuals/R-admin.html#Sub_002darchitectures),
I thought I could build 32-bit R by executing
r_arch=32 ./configure
and building R like usual
2010 May 18
1
proportion of treatment effect by a surrogate (fitting multivariate survival model)
Dear R-help,
I would like to compute the variance for the proportion of treatment
effect by a surrogate in a survival model (Lin, Fleming, and De
Gruttola 1997 in Statistics in Medicine). The paper mentioned that
the covariance matrix matches that of the covariance matrix estimator
for the marginal hazard modelling of multiple events data (Wei, Lin,
and Weissfeld 1989 JASA), and is implemented
2009 Sep 23
2
R + C + Lapack toy regression example
dear list,
since matrix manipulations is often of interest in statistical
computations, i'd like to get a working example of using Lapack for
regression. However, i run into an error.
My matrix-lapack-example.c file:
#include <R_ext/Lapack.h>
void reg(const char* trans, const int* m, const int* n,
const int* nrhs, double* a, const int* lda,
double* b, const int*
2007 Nov 19
1
mulitmodal distributions
Hello,
I see that "mclust" is a pacakge that handles fitting mixtures of normals.
Are there any other packages out that that can handle mixtures of gammas or
other exponentials?
Additionally, are there any packages out there that can fit bimodal
distributions without mixtures? i.e., Cobb et al. 1983 using moment
recursion relations?
Thank you!
mw
Marion Wittmann, Ph.D.
2015 Oct 09
2
R 3.2.2 64 bit compilation error on AIX
Dear list,
I'm following the instructions provided here to compile R 64 bit on
AIX 6.1. I did
export OBJECT_MODE=64
export CC="gcc -maix64 -pthread"
export CXX="g++ -maix64 -pthread"
export FC="gfortran -maix64 -pthread"
export F77="gfortran -maix64 -pthread"
export CFLAGS="-O2 -g -mcpu=power6"
export FFLAGS="-O2 -g -mcpu=power6"
2015 Oct 09
2
R 3.2.2 64 bit compilation error on AIX
One other note: I'm also using the latest src/main/dcf.c that was
giving an issue on AIX previously; see
[this](https://stat.ethz.ch/pipermail/r-devel/2015-September/071781.html)
thread.
Thanks.
On Thu, Oct 8, 2015 at 6:51 PM, Vinh Nguyen <vinhdizzo at gmail.com> wrote:
> Please note that if I don't specify those variables, then R 32 bit
> compiles fine. Thanks.
>
> --
2015 Sep 21
2
segfault with readDCF on R 3.1.2 on AIX 6.1 when using install.packages
Here's an update:
I checked the ChangeLog for R, and it seems like readDCF was changed
in 3.0.2. I went on a whim and copied src/main/dcf.c from R 2.15.3
over to 3.2.2, and R compiled fine and install.packages now work for
me.
This is probably not ideal, but it at least makes R usable on AIX for
me. Would definitely like to help figure out what's wrong with the
new dcf.c on AIX.
2015 Oct 09
2
R 3.2.2 64 bit compilation error on AIX
>>>>> Vinh Nguyen <vinhdizzo at gmail.com>
>>>>> on Thu, 8 Oct 2015 20:21:32 -0700 writes:
> Ahh, sorry for not googling the error message. Found
> [this](http://r.789695.n4.nabble.com/Error-compiling-R-2-10-1-on-AIX-td1017862.html)
> post that suggests modifying /src/extra/tre/tre-internal.h
>
2015 Sep 21
5
segfault with readDCF on R 3.1.2 on AIX 6.1 when using install.packages
Hi,
Note that one significant change to read.dcf() that happened since R
3.0.2 is the addition of support for arbitrary long lines (commit
63281), which never worked:
dcf <- paste(c("aa: ", rep(letters, length.out=10000)), collapse="")
writeLines(dcf, "test.dcf")
nchar(read.dcf("test.dcf"))
# aa
# [1,] 8186
The culprit being line
2014 Nov 11
2
segfault with readDCF on R 3.1.2 on AIX 6.1 when using install.packages
Dear list (re-posting from r-help as r-devel is probably more appropriate),
I was able to successfully compile R on our AIX box at work using the
GNU compilers following the instructions on the R Administration
guide. The output can be seen at here
(https://gist.github.com/nguyenvinh/504321ea9c89d8919bef) and yields
no errors .
However, I get a segfault whenever I try to use the
2009 Sep 03
1
building r packages for windows on a mac/linux
--- On Thu, 3/9/09, Vinh Nguyen <vinhdizzo at gmail.com> wrote:
> hi hin-tak,
>
> i'm trying to build r packages for windows on a
> mac/linux. i guess
> this used to possible and supported, but is no longer
> supported. i
> ran into this post of yours,
> https://stat.ethz.ch/pipermail/r-devel/2009-July/053971.html,
> and hope
> u don't mind me
2015 Sep 22
2
segfault with readDCF on R 3.1.2 on AIX 6.1 when using install.packages
On Mon, Sep 21, 2015 at 2:48 PM, Duncan Murdoch
<murdoch.duncan at gmail.com> wrote:
> On 21/09/2015 4:50 PM, Herv? Pag?s wrote:
>> Hi,
>>
>> Note that one significant change to read.dcf() that happened since R
>> 3.0.2 is the addition of support for arbitrary long lines (commit
>> 63281), which never worked:
>>
>> dcf <- paste(c("aa:
2015 Sep 22
1
segfault with readDCF on R 3.1.2 on AIX 6.1 when using install.packages
On Tue, Sep 22, 2015 at 1:46 AM, Duncan Murdoch
<murdoch.duncan at gmail.com> wrote:
> However, Herve's second example does illustrate a bug I can reproduce:
> one character out of 10000 was read incorrectly. Could you please try
> his final patch and see if it fixes your AIX problems?
Just tried the latest dcf.c from R-dev and install.packages no longer
segfaults from
2010 Nov 04
1
[Roxygen-devel] Roxygen: @example tag does not work for me
> -----Urspr?ngliche Nachricht-----
> Von: roxygen-devel-bounces at lists.r-forge.r-project.org [mailto:roxygen-
> devel-bounces at lists.r-forge.r-project.org] Im Auftrag von Vinh Nguyen
> Gesendet: Donnerstag, 4. November 2010 04:04
> An: roxygen-devel at r-forge.wu-wien.ac.at
> Betreff: Re: [Roxygen-devel] Roxygen: @example tag does not work for me
>
> Try @examples
2011 May 13
1
Embedding R's math expressions fonts for graphics generated by pdf() and postscript()
Dear list,
First, I am not writing to ask about embedding Computer Modern font in
graphics produced by R.
I am generating plots to be saved using pdf() and postscript() in R,
and I make use of some math expressions that are provided by R,
namely, some greek letters. My question is, do I need to embed the
fonts that include these math symbols (say, if they are going out for
publication, to have
2018 Feb 05
1
pulling recessions out of a hydrograph
Dear R community,
I'm hoping someone out there has perhaps done this and can share their code
and/or expertise with me.
I need to pull recession periods out of a hydrograph - can anyone help me
with this?
I want to create a subset from streamflow data that consists of just the
recession curves - the decreasing runoff after the passage of a peak flow.
would really appreciate any help on
2006 Jun 27
1
compositional time series
Dear R users,
i am wondering if anyone has some hints for this problem (i have not found a clear answer after searching the R-mailing list archive, 'help.search' in R, and R-Wiki, and the like...):
let's assume that i have 4 periods compositional time series data:
t=1, A=0.1; B=0.5; C=0.4
t=2, A=0.2; B=0.4; C=0.4
t=3, A=0.5; B=0.3; C=0.2
t=4, A=0.4; B=0.3;
2015 May 06
2
IdntoAscii issue with KERNEL32.dll on 64-bit R on Windows Server 2003 x64 SP2
Dear list,
With the new R 3.2.0 on the aforementioned platform, I get the following
pop-up error when I enter "?update.packages" using R64:
"The procedure entry point IdnToAscii could not be located in the dynamic
link library KERNEL32.dll"
That is, my command never gets executed. This does NOT happen with R32.
I previously noticed this error starting with R 3.0.0 with the
2010 May 18
2
survey package: weights used in svycoxph()
Dear R-help,
Let me know if I should email r-devel instead of this list. This
message is addressed to Professor Lumley or anyone familiar with the
survey package.
Does svycoxph() implement the method outlined in Binder 1992 as
referenced in the help file? That is, are weights incorporated in the
ratio term (numerator and denominator) of the estimating equation? I
don't believe so since