Displaying 10 results from an estimated 10 matches for "byng".
Did you mean:
bang
2011 Nov 21
2
a^b when a is large and b < 1 (64bit R on windows 7)
Hi,
I'm getting some strange behaviour when trying to use the power operator
(a^b) when a is large and b is less than one:
big <- .Machine$double.xmax
big
big^0.5
sqrt(big)
> big <- 1.797693134862315708384e+308
> big^0.5
[1] Inf
> sqrt(big)
[1] 1.340781e+154
I'm guessing that this behaviour is not expected, or am I missing
something about ^?
Cheers
Martyn
>
2011 Jun 09
2
Rtools - "The setup files are corrupted" message when trying to install
Hi,
Apologies if this is the wrong list to be sending this question to.
I am trying to install a copy of the R tools required to create /
compile packages on windows. After downloading Rtools from
http://www.murdoch-sutherland.com/Rtools/ windows keeps complaining that
"The setup files are corrupted".
This has happened with both the Rtools213.exe and the Rtools212.exe
downloads, and
2016 Mar 07
0
ALLOCATE in a FORTRAN subroutine
...ersely makes it much more difficult to shoot yourself in the foot - and the Fortran compilers tend to pick up more problems at compile time than the C ones).
Martyn
-----Original Message-----
From: MAURICE Jean - externe [mailto:jean-externe.maurice at edf.fr]
Sent: 07 March 2016 15:46
To: Martyn Byng <martyn.byng at nag.co.uk>
Cc: r-devel at r-project.org
Subject: RE: ALLOCATE in a FORTRAN subroutine
Hi Martyn,
Many thanks for your answer. If I make it short :
we can, once we know how to do it, 'drive' R from within FORTRAN for example to do a
Myarray = seq(0, mydimension)
in...
2011 May 20
2
Calling Rscript from Makevars
Hi,
I am trying to package some code to use with R and wanted to call
Rscript from within the Makevars file (I am trying to automate the
setting of the location of a third party library depending on what is
available / the system the package is being installed on).
If I just have a simple Makevars containing
PKG_LIBS= -lnag_nag -L/fserver/nagprod/FL22/fll6a22df/lib
the package is built
2011 Nov 14
1
unable to get "R CMD" to work as expected on a 64 bit windows machine
Hi,
I've just downloaded and installed R 2.14.0 using the windows binary on
a 64bit windows machine running windows 7.
Rterm / RGui work as expected, as does
R CMD --help
and
R CMD BATCH --help
however
R CMD check --help
returns no information and I seem to be unable to check a package.
Various other options also seem to not be working as expected, i.e.
R CMD REMOVE aa
(where aa is
2010 Nov 09
1
Installing the latest version of BRugs
Hi,
I am trying to install the latest version of the BRugs package on a 32
bit windows machine which, due to the set up, won't allow me to install
it via the usual R GUI.
Can anyone point me to a link from which I can download the relevant
files that allow me to install it manually (most pages flagged by Google
point back to a message saying it was removed from CRAN and to look in
the
2003 Apr 04
0
R crashes on calling a Fortran routine (PR#2728)
Full_Name: martyn byng
Version: 1.6.2
OS: windows 2000 (professional)
Submission from: (NULL) (62.231.145.253)
I am having problems calling a fortran routine from within R. When the routine
is called, R exits with an application error:
"The instruction at 0x004a8b7d referenced memory at 0x200000015. The memory
cou...
2016 Mar 07
4
ALLOCATE in a FORTRAN subroutine
Hi Martyn,
Many thanks for your answer. If I make it short :
we can, once we know how to do it, 'drive' R from within FORTRAN for example to do a
Myarray = seq(0, mydimension)
in R once we have compute mydimension in FORTRAN. Is that correct ?
If yes : it's too 'complicated' for the time I am hired (I mean I have been hired to do FORTRAN code not to learn R !).
Second
2003 Apr 03
1
Calling Fortran routines
Hi,
I am having problems calling a fortran routine from within R. When the
routine is called, R exits with an application error:
"The instruction at 0x004a8b7d referenced memory at 0x200000015. The memory
could not be written".
The R code used to call the routine is:
.Fortran("GTEST",a=as.integer(1),b=as.integer(3),c=as.integer(-10),d=as.inte
ger(0),e=as.integer(0))
The
2016 Mar 04
0
ALLOCATE in a FORTRAN subroutine
Hi,
Until you get a more definitive answer, I will make an attempt to give some advice.
When using an assumed sized array (i.e. REAL*8 array1(*)) you still need to allocate the memory prior to calling the Fortran subroutine, so you would still need to know its maximum length.
Arrays created in a Fortran subroutine via the use of the ALLOCATE statements are not simple arrays (in the sense of C