Displaying 20 results from an estimated 395 matches for "hankin".
2006 May 22
1
R CMD check problem
Hi
I have a package that I'm testing.
It seems to install fine and it works, as far as I can tell.
For example, I can install the package, and use it,
and source the test suite with no errors.
My problem is with R CMD check.
It passes on R-2.2-0:
Robin-Hankins-Computer:~/scratch% R CMD check ./partitions_1.1-0.tar.gz
* checking for working latex ... OK
[snip]
make[1]: Leaving directory `/users/sat/rksh/partitions.Rcheck/tests'
OK
* creating partitions-manual.tex ... OK
* checking partitions-manual.tex ... OK
But it doesn't pass on R-2.3.0,...
2019 May 08
0
openblas
...o. I wasn't able to configure R to use
OpenBLAS using the configure script and options on my Linux Fedora system.
I configure it without external BLAS, then replace the libRblas.dylib (.so
in my case) with a link to the OpenBLAS dynamic link library.
Peter
On Tue, May 7, 2019 at 7:39 PM robin hankin <hankin.robin at gmail.com> wrote:
> thanks Peter, I appreciate your advice here.
>
> ./configure --with-blas="-lopenblas" --without-recommended-packages
>
>
> gives me
>
>
>
>
> Interfaces supported: X11, aqua, tcltk
>
> External...
2003 Feb 13
6
generic handling of NA and NaN and NULL
...t;)}
falls over. help.search("trap") was not very helpful. try() doesn't
help either:
R> try(if(1==NA){print("asdf")})
Error in if (1 == NA) { : missing value where logical needed
QUESTION: how to make f() not give an error under any circumstances?
--
Robin Hankin, Lecturer,
School of Geography and Environmental Science
Tamaki Campus
Private Bag 92019 Auckland
New Zealand
r.hankin at auckland.ac.nz
tel 0064-9-373-7599 x6820; FAX 0064-9-373-7042
2005 Jan 07
1
Visualizing complex analytic functions using domain coloring
Hi
has anyone coded up domain colouring for visualizing complex analytic
functions
(such as elliptic functions)?
[
the idea is to depict a complex function f(z) using a filled.contour()
variant
in which the hue is given by Arg(f(z)), and the saturation by Mod(f(z)).
]
--
Robin Hankin
Uncertainty Analyst
Southampton Oceanography Centre
European Way, Southampton SO14 3ZH, UK
tel 023-8059-7743
2019 May 08
4
openblas
...under winbuilder and all but one
of the checks). I've downloaded and installed openblas 0.3.7 but I
am not 100% sure that it is being used by R.
Using
./configure --with-blas="-lopenblas"
Then running R to discover the PID I get:
Rd % lsof -p 17960|egrep -i blas
R 17960 rhankin txt REG 1,8 189224 33471762
/Users/rhankin/Rd/lib/R/lib/libRblas.dylib
But it is not clear to me how to interpret this. Am I using openblas
as intended? I suspect not, for I cannot reproduce the error. Can
anyone advise?
hankin.robin at gmail.com
2003 May 02
3
letters to numbers conversion
...t;
[2,] "d" "e" "f"
[3,] "g" "h" "i"
into
R> simple.example.numeric
[,1] [,2] [,3]
[1,] 1 2 3
[2,] 4 5 6
[3,] 7 8 9
[ie "a" becomes 1, ..., "z" becomes 26]
?
--
Robin Hankin, Lecturer,
School of Geography and Environmental Science
Tamaki Campus
Private Bag 92019 Auckland
New Zealand
r.hankin at auckland.ac.nz
tel 0064-9-373-7599 x6820; FAX 0064-9-373-7042
2001 Oct 18
1
tapply problem
...essors. Is there a neat vectorized method I
could use?
The best I can come up with is "tapply(x$Q1A,x$name,mean,na.rm=T)" but
this works question-by-question and I would like a reduced data frame
with the same column headings.
this is driving me crazy; thanks in advance!
--
Robin Hankin, Lecturer,
School of Environmental and Marine Science
Private Bag 92019 Auckland
New Zealand
r.hankin at auckland.ac.nz
tel 0064-9-373-7599 x6820; FAX 0064-9-373-7042
--f9295XO03655.1002013533/r.hankin.sems.auckland.ac.nz--
--
Robin Hankin, Lecturer,
School of Environmental and Marine Scie...
2007 Jan 16
5
"[[" gotcha
...re elements supplied than there are to replace
>
The error is given because after B[[1]] <- a, the variable B is
just a scalar and
not a matrix (why is this?)
What's the bulletproof method for assigning matrices to a list (whose
length is
not known at runtime)?
--
Robin Hankin
Uncertainty Analyst
National Oceanography Centre, Southampton
European Way, Southampton SO14 3ZH, UK
tel 023-8059-7743
2019 Mar 01
2
pcre problems
OK thanks Tomas, but I get
OK~ sudo apt-get build-dep r-base
Reading package lists... Done
E: Unable to find a source package for r-base
OK~
hankin.robin at gmail.com
On Fri, Mar 1, 2019 at 8:47 PM Tomas Kalibera <tomas.kalibera at gmail.com> wrote:
>
> On 3/1/19 7:10 AM, robin hankin wrote:
> > thanks for this guys.
> >
> > I only compiled pcre myself as a last resort, because of the
> > ./configure fail...
2019 Mar 01
2
pcre problems
OK thanks Tomas, but I get
OK~ sudo apt-get build-dep r-base
Reading package lists... Done
E: Unable to find a source package for r-base
OK~
hankin.robin at gmail.com
On Fri, Mar 1, 2019 at 8:47 PM Tomas Kalibera <tomas.kalibera at gmail.com> wrote:
>
> On 3/1/19 7:10 AM, robin hankin wrote:
> > thanks for this guys.
> >
> > I only compiled pcre myself as a last resort, because of the
> > ./configure fail...
2006 May 23
1
package installation problem
(this after asking the package author)
Hi
I cannot install the rmvnorm package under R-2.3.0, or R-2.3.1 beta.
It installs fine under R-2.2.1.
transcript for installation under R-2.3.0 follows.
Robin-Hankins-Computer:~/scratch% R --version
R version 2.3.0 (2006-04-24)
Copyright (C) 2006 R Development Core Team
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under the terms of the
GNU General Public License. For more information about
these matters, see ht...
2006 Apr 06
1
R CMD check for packages in a bundle
...orm, adapt
Contains: emulator calibrator approximator
Title: Bayesian Analysis of Computer Code Output
BundleDescription: Bayesian analysis of computer code software. The
bundle contains routines that evaluate the formulae of Kennedy,
O'Hagan, and Oakley.
License: GPL
Author: Robin K. S. Hankin <r.hankin at noc.soton.ac.uk>
Maintainer: Robin K. S. Hankin <r.hankin at noc.soton.ac.uk>
URL: http://www.noc.soton.ac.uk/JRD/SAT/pers/rksh.html
octopus:~/scratch/BACCO/calibrator% cat DESCRIPTION.in
Package: calibrator
Description: Performs Bayesian calibration of computer models a...
2019 Mar 01
1
pcre problems
On 3/1/19 9:03 AM, robin hankin wrote:
> OK thanks Tomas, but I get
>
>
> OK~ sudo apt-get build-dep r-base
> Reading package lists... Done
> E: Unable to find a source package for r-base
> OK~
It seems you need to enable source code? repositories on your system
(and then run apt-get update).
You can enable...
2019 Mar 01
1
[Rd] pcre problems
On 3/1/19 9:03 AM, robin hankin wrote:
> OK thanks Tomas, but I get
>
>
> OK~ sudo apt-get build-dep r-base
> Reading package lists... Done
> E: Unable to find a source package for r-base
> OK~
It seems you need to enable source code? repositories on your system
(and then run apt-get update).
You can enable...
2003 Jun 23
3
right assignment ("->") and functions
...2}
R> f1 -> f2
R> f2(4)
[1] 16
R>
R> function(x){x^2} -> f3
function(x){x^2} -> f3
R> f3(4)
Error: couldn't find function "f3"
Why does right assignment "->" work in the first but not the second
case? Can anyone else reproduce this?
--
Robin Hankin, Lecturer,
School of Geography and Environmental Science
Tamaki Campus
Private Bag 92019 Auckland
New Zealand
r.hankin at auckland.ac.nz(nospam)
tel 0064-9-373-7599 x6820; FAX 0064-9-373-7042
2019 Mar 01
1
pcre problems
....launchpad.net/marutter/rdev/ubuntu
bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is
therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user
configuration details.
root at limpet:/etc/apt#
hankin.robin at gmail.com
hankin.robin at gmail.com
On Fri, Mar 1, 2019 at 9:19 PM Tomas Kalibera <tomas.kalibera at gmail.com> wrote:
>
> On 3/1/19 9:03 AM, robin hankin wrote:
> > OK thanks Tomas, but I get
> >
> >
> > OK~ sudo apt-get build-dep r-base
> >...
2006 Oct 13
5
combinatorics
Hi
How do I generate all ways of ordering sets of indistinguishable items?
suppose I have two A's, two B's and a C.
Then I want
AABBC
AABCB
AACBC
ABABC
. . .snip...
BBAAC
. . .snip...
CBBAA
[there are 5!/(2!*2!) = 30 arrangements. Note AABBC != BBAAC]
How do I do this?
--
Robin Hankin
Uncertainty Analyst
National Oceanography Centre, Southampton
European Way, Southampton SO14 3ZH, UK
tel 023-8059-7743
2006 Feb 22
3
elements that appear only once
...want "ash" and "elm", because there is only one ash and
only one elm in my wood.
My Best Effort:
> names(table(a)[table(a)==1])
[1] "ash" "elm"
>
This doesn't seem particularly elegant to me; there must be a better
way!
anyone?
--
Robin Hankin
Uncertainty Analyst
National Oceanography Centre, Southampton
European Way, Southampton SO14 3ZH, UK
tel 023-8059-7743
2002 Jun 13
2
fisher.test FEXACT memory bug "should not occur" (PR#1662)
This is a bad bug as reported by Robin Hankin,
it is still in "R-patched" ...
##- From: Robin Hankin <r.hankin@auckland.ac.nz>
##- To: r-help@stat.math.ethz.ch
##- Subject: [R] possum sleeping: thanks and fisher.test() FEXACT error
##- Date: Thu, 13 Jun 2002 16:46:26 +1200
## .....
## Example slighlty modified (MM)
d4 <-...
2002 Nov 26
5
unexpected behaviour of rnorm()
...in the distribution. For
me, the most noticable one is at about 3.6.
Do others get this? Is it an optical illusion? It can't be right,
can it? Or maybe I just don't understand the good ol' Gaussian very
well.
anyone got an explanation?
[linux redhat 7.1; R-1.6.1]
--
Robin Hankin, Lecturer,
School of Geography and Environmental Science
Tamaki Campus
Private Bag 92019 Auckland
New Zealand
r.hankin at auckland.ac.nz
tel 0064-9-373-7599 x6820; FAX 0064-9-373-7042
as of: Wed Nov 27 09:15:00 NZDT 2002
This (linux) system up continuously for: 454 days, 14 hours, 57 minutes
-.-...