.Call("compute_values_cpp")
Also, if you were passing arguments to the C++ function you would need to
declare the function differently.
Do a search on "Rcpp calling C++ functions from R"
HTH,
Eric
On Sun, Dec 3, 2017 at 3:06 AM, Martin Møller Skarbiniks Pedersen <
traxpla...@gmail.com> wrote:
>
Hi,
I have written a small C++ function and compile it.
However in R I can't see the function I have defined in C++.
I have read some web-pages about Rcpp and C++ but it is a bit confusion
for me.
Anyway,
This is the C++-code:
#include
using namespace Rcpp;
// [[Rcpp::export]]
List com
I totally agree with Duncan's last point. I find it hard to reconcile your
early remarks (which indicate a deep knowledge of programming) with the
idea that your code is not built up from combining small(ish) functions.
Small functions would generally be considered best practices. Try searching
on
I have data set up like the following:
control1 <- sample(1:75, 3947398, replace=TRUE)
control2 <- sample(1:75, 28793, replace=TRUE)
control3 <- sample(1:100, 392733, replace=TRUE)
control4 <- sample(1:75, 858383, replace=TRUE)
patient1 <- sample(1:100, 28048, replace=TRUE)
patient2 <- sample(1:50
Removing libopenblas-dev and libopenblas-base solved my problem.
Göran
On 2017-12-01 18:51, Göran Broström wrote:
Thanks: I installed from source and got an error when loading a package:
> library(eha)
Loading required packa
Dear Christian
It is available now. Perhaps the mirror you are using has not quite
caught up yet?
On 02/12/2017 09:37, Christian wrote:
Havin Porblems with R 3.4.2, I am waiting for R 3.4.3 to be available.
Nothing appers on CRAN for R 3.4.3.
When will R 3.4.3 be avalable?
Best C.
--
M
Havin Porblems with R 3.4.2, I am waiting for R 3.4.3 to be available.
Nothing appers on CRAN for R 3.4.3.
When will R 3.4.3 be avalable?
Best C.
--
Christian Hoffmann
Rigiblickstrasse 15b
CH-8915 Hausen am Albis
Switzerland
Telefon +41-(0)44-7640853
_
Hello,
Good time,
I want to write a source code with the model DEA CCR stochastice in R
software. But I could not find any example that guides me. I need this
model for my article.
Where can I find the source code for this model? Is it possible to send me
an example of this source code?
Help me p
On 02/12/2017 5:48 AM, Alexander Shenkin wrote:
Hi all,
I often keep code in separate files for organizational purposes, and
source() that code from higher level scripts. One problem is that those
sourced files often create temporary variables that I don't want to keep
around. I could clean up
Hi all,
I often keep code in separate files for organizational purposes, and
source() that code from higher level scripts. One problem is that those
sourced files often create temporary variables that I don't want to keep
around. I could clean up after myself with lots of rm()'s, but that's
10 matches
Mail list logo