Displaying 20 results from an estimated 2000 matches similar to: "On 'R CMD INSTALL' with multiple architectures"
2006 Jul 19
1
Test for equality of coefficients in multivariate multipleregression
Dear Berwin,
Simply stacking the problems and treating the resulting observations as
independent will give you the correct coefficients, but incorrect
coefficient variances and artificially zero covariances.
The approach that I suggested originally -- testing a linear hypothesis
using the coefficient estimates and covariances from the multivariate linear
model -- seems simple enough. For
2005 Mar 29
1
improved pairs.formula?
Dear all,
I would like to suggest changing the pairs.formula command such that a
command like
pairs(GNP ~ . - Year - GNP.deflator, longley)
would behave in a similar fashion as
lm(GNP ~ . - Year - GNP.deflator, longley)
i.e., make a pairwise scatterplot of GNP and all other variables in
the (longley) dataframe except for Year and GNP.deflator. The above
command, with the
2011 Aug 03
1
expand.gird with constraints?
Hi, R users,
Here is an example.
k <- c(1,2,3,4,5)
i <- c(0,1,3,2,1)
if k=1, then j=0 from i
if k=2, then j=0, 1 from i
if k=3, then j=0, 1, 2, 3 from i
if k=4, then j=0, 1, 2 from i
if k=5, then j=0, 1 from i
so i'd like to create a list like below.
> list
k j
1 1 0
2 2 0
3 2 1
4 3 0
5 3 1
6 3 2
7 3 3
8 4 0
9 4 1
10 4 2
11 5 0
12 5 1
I tried expand.grid, but I
2014 Jan 11
1
Fortran BLAS giving bad results
Hello r-devel,
When compiling Fortran code containing BLAS functions and calling it using
dyn.load, I am getting incorrect results. A small example with which I can
reproduce the problem is below.
I am running on OSX Mavericks (upgraded R, Xcode, etc per instructions on
this list), but I do not think it is related since the check on my
"blupsurv" package on r-forge seems to be showing
2008 Feb 13
0
On Section 2.5:Sub-architectures in the R Installation and Administration manual
Dear all,
there are a few issues regarding Section 2.5: Sub-architectures in the
R Installation and Administration manual (referring to Version 2.6.2)
that I would like to raise:
1.) The manual states:
@code{R CMD INSTALL} will detect if more that one build is installed
and try to install packages with the appropriate library objects
for each. This will not be done if the package
2008 May 07
0
Fwd: Re: Solution of function
Forgot to send one copy to R help. Sorry
Megh Dal <megh700004@yahoo.com> wrote: Date: Wed, 7 May 2008 02:45:09 -0700 (PDT)
From: Megh Dal <megh700004@yahoo.com>
Subject: Re: [R] Solution of function
To: Berwin A Turlach <berwin@maths.uwa.edu.au>
Hi Berwin,
Thanks for having look on my problem. However on ipop() function I see following:
ipop solves the quadratic
2024 Feb 16
1
Packages sometimes don't update, but no error or warning is thrown
Hey everyone,
Thanks for all the input. It's happening again. This time for the packages "DBI", "parallelly", "segmented", "survival", "V8". So, RStudio shows updates for those and updating them via RStudio leads to this output:
```
> install.packages(c("DBI", "parallelly", "segmented", "survival",
2023 May 18
1
suprising behaviour of tryCatch()
... or just put the R expression inside curly brackets, e.g.
tryCatch({
sexsnp[i] = fisher.test(table(data[,3], data[,i+38]))$p
}, error=function(e) print(NA))
Exercise: Compare
> list(a = 2)
$a
[1] 2
with
> list({ a = 2 })
[[1]]
[1] 2
and
> list(b = { a = 2 })
$b
[1] 2
BTW, note how the latter two assigned a <- 2 to the global environment.
/Henrik
On Thu, May 18, 2023 at
2008 Oct 07
0
splinefun gives incorrect derivs when extrapolating to the (PR#13139)
--MP_/kvy20nVajVG/n.8m=_ZjLAX
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
On Tue, 7 Oct 2008 19:31:03 +0800
Berwin A Turlach <berwin at maths.uwa.edu.au> wrote:
> The attached patch (against the current SVN version of R) implements
> the latter strategy. With this patch applied, "make check
> FORCE=FORCE" passes
2020 Feb 08
0
Development version of R fails tests and is not installed
The only observation I can make is that the change to round() was made
in r77727 whereas your R-devel appears to be r77715 (so would not
exhibit the fixed behaviour). My guess is that there was a perpetual
installation failure after r77715 but that the test folder was still
retrieved and used.
On Sat, 8 Feb 2020 at 19:27, Berwin A Turlach <berwin.turlach at gmail.com> wrote:
>
>
2003 Aug 21
1
R is mentioned on Linux Today
Hi all,
people who don't follow Linux Today regularly may want to check out:
http://linuxtoday.com/developer/2003082000626OSSVDV
My apologies if this is considered spam.
Cheers,
Berwin
========================== Full address ============================
Berwin A Turlach Tel.: +61 (8) 9380 3338 (secr)
School of Mathematics and Statistics +61
2001 Nov 02
1
Summary --- testing for existence of file.
Many thanks to those who answered my question about how to test
for the existence of a file: Berwin Turlach, Jari Oksanen, Henrik
Bengtsson, Uwe Ligges, and Joerg Maeder.
The simplest solution is to use the built-in (!!!) function
file.exists() which returns TRUE if the file exists, and FALSE
if it doesn't. Like, duhhhhhh!!! It's exactly what I wanted.
Special thanks to Berwin Turlach
2012 Mar 16
1
quadprog error?
I forgot to attach the problem data, 'quadprog.Rdata' file, in my prior
email.
I want to report a following error with quadprog. The solve.QP function
finds a solution to the problem below that violates the last equality
constraint. I tried to solve the same problem using ipop from kernlab
package and get the solution in which all equality constraints are
enforced. I also tried an old
2020 Feb 16
0
round(x, dig) [was "Development version of R fails tests .."]
I?disagree?with?what?is?assessed?as?"correct"?in?vignette?of?package?'round'.
With
x?<-?9.18665
,?what?is?actually?stored?in?'x'?is?a?number?that?is?slightly?larger?than?9.18665.?So,?as?said?in?the?vignette,?it?is?closer?to?9.1867?than?9.1866.
sprintf("%.4f",?x)
giving
"9.1867"
is?correct,?as?it?is?a?string?representing?the?_exact_?number?9.1867.
2023 Nov 07
1
non-linear regression and root finding
Thanks a lot, Berwin. Unfortunately, pK1 may well be negative and as I
understand the literature it may be poorly defined as such, and also
seems to be at a boundary, since when lower is set to say rep(-4,3) pK1
is returned as -4 while pK2 and pK3 are undisturbed. Perhaps the point
is that pK1 is not carrying any information at the pH around 5. Fair
enough, I guess. Only, I believe I need
2020 Feb 09
0
Development version of R fails tests and is not installed
On Sat, Feb 8, 2020 at 9:27 AM Berwin A Turlach
<berwin.turlach at gmail.com> wrote:
>
> G'day all,
>
> I have daily scripts running to install the patched version of the
> current R version and the development version of R on my linux box
> (Ubuntu 18.04.4 LTS).
>
> The last development version that was successfully compiled and
> installed was "R Under
2016 Jan 12
1
Small inaccuracy in the Writing R Extensions manual
G'day Duncan,
On Tue, 12 Jan 2016 07:32:05 -0500
Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
> On 11/01/2016 11:59 PM, Berwin A Turlach wrote:
> > G'day all,
> >
> > In Chapter 1.4 (Writing package vignettes) the Writing R Extensions
> > manual states:
> >
> > By default @code{R CMD build} will run @code{Sweave} on all
> >
2016 Apr 17
1
Building R-patched and R-devel fails
On 17.04.2016 11:01, Prof Brian Ripley wrote:
> On 17/04/2016 07:25, Berwin A Turlach wrote:
>> G'day all,
>>
>> probably you have noticed this by now, but I thought I ought to report
>> it. :)
>
> Already fixed for Unix by the time this reached me. Since that version
> of Survival has been put into 3.2 patched, that also needed its
> Makefile.in
2020 Feb 08
1
round(x, dig) [was "Development version of R fails tests .."]
>>>>> Hugh Parsonage
>>>>> on Sat, 8 Feb 2020 21:12:43 +1100 writes:
> The only observation I can make is that the change to
> round() was made in r77727 whereas your R-devel appears to
> be r77715 (so would not exhibit the fixed behaviour). My
> guess is that there was a perpetual installation failure
> after r77715 but that
2006 Jul 23
3
Making a patch
Dear R developers,
is there a preferred format or strategy for making a patch to
contribute to a package that is maintained by R-core? Berwin Turlach
and I have written a very minor extension to lmeControl to allow it to
pass an argument to nlminb for the maximum number of evaluations of
the objective function. I've edited the nlme/R/lme.R and
nlme/man/lmeControl.Rd files. I can diff the