Dear all,
on the help page for '?sort':
'Method "shell" uses Shellsort ([...] from Sedgewick (1996))'
but in the references it is Sedgewick (1986). 1986 seems correct:
http://dx.doi.org/10.1016/0196-6774(86)90001-5
Thank you,
Enrico
--
Enrico Schumann
Lucerne, Switzerland
http://enrico
Hi,
I make heavy use of verbose statements in my code, verbose output that
can be enabled/disabled via an argument. Here is a dummy example:
foo <- function(n=10, verbose=FALSE) {
res <- 0;
for (k in 1:n) {
if (verbose) cat("Iteration ", k, "...\n", sep="");
res <- res + k;
if
Dear all,
I have a C++ code. To create a shared object from this particular code, I
had to install a Fortran library on my computer (Mac). The compiled code
runs fine on my computer. However, if I try to dyn.load() said shared
object on a computer that does not have the Fortran library installed,
Hi,
I'm making some progress with this, but have hit a sticking point and am
looking for a hint. Most of the compilation seems to be going ok, after some
liberal use of f2c, but I'm getting compile errors in src/main/connections.c :
connections.c:926:43: error: use of undeclared identifier 'SS
On May 23, 2013, at 23:07 , Jony Hudson wrote:
> Hi,
>
> I'm making some progress with this, but have hit a sticking point and am
> looking for a hint. Most of the compilation seems to be going ok, after some
> liberal use of f2c, but I'm getting compile errors in src/main/connections.c :
>
>
On May 23, 2013, at 4:18 PM, Xiao He wrote:
> Dear all,
>
> I have a C++ code. To create a shared object from this particular code, I
> had to install a Fortran library on my computer (Mac). The compiled code
> runs fine on my computer. However, if I try to dyn.load() said shared
> object on a
Oops, Sorry, did not reply-all:
Thanks for the reply Simon,
I have a follow-up question:
So after I run the first code you suggested on a computer, the shared
object will use the Fortran run-time included in R. Does this code change
the shared object itself? Meaning if I send this object to yet