Hi all,
im triyng to implement a bayesian model with R and c++.
I have a strange problem. I can't reproduce the error with a small
script and then i post the original one.
The problem is after the line
for(MCMC_iter2=0;MCMC_iter2For the first 34 iterations all work fine, after, all the
Can you add some details?
Suppose i have the package Model.tar.gz and my writable are is in
user/area, what i have to do next to install the package?
Il 04/09/13 00:04, Geoff Jentry ha scritto:
One problem is that i have not the privileges to install a package.
If you have a writable area y
Hi all
I have a R code that incorporates a C++ programm. I compiled the C++
code with the following:
R CMD SHLIB Model.cpp -Wall funzioni.cpp
it seems to work fine but when i run the R code i get this error message
Error in dyn.load(paste(dir_func, "Model.so", sep = "")) :
unable to load
One problem is that i have not the privileges to install a package.
Il 03/09/13 23:14, Dirk Eddelbuettel ha scritto:
On 3 September 2013 at 22:48, gianluca.mastranto...@yahoo.it wrote:
| Hi all
|
| I have a R code that incorporates a C++ programm. I compiled the C++
| code with the following
First of all, thanks for your help.
I did all the things you told me. I was able to load the library, but then
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object
'/lustre/work/gjona2/Wrap/BayesWrap/libs/BayesWrap.so':
libR.so: cannot open shared object file: No
just for completion
i need to use
library(Model, lib.loc="user/area/myRLib")
because if i use
library(Model)
i get this message
Error in library("BayesWrap") : there is no package called 'BayesWrap'
Il 05/09/13 11:59, gianluca.mastranto...@yahoo.it ha scritto:
t; brian
>
>
>
>
> On Thu, Sep 5, 2013 at 4:38 PM, Prof Brian Ripley
> mailto:rip...@stats.ox.ac.uk>> wrote:
>
> On 05/09/2013 21:28, gianluca.mastranto...@yahoo.it
> <mailto:gianluca.mastranto...@yahoo.it> wrote:
>
> just for completion
>