Displaying 20 results from an estimated 10000 matches similar to: "Mongrel/Rails weird problem with methods"
2007 Jan 04
1
Mongrel/Rails weird problem with methods becoming private
Hi,
I''m new to this list, so apologies if this is a duplicate (or nothing
to do with mongrel!)
Somehow when I run my rails app under mongrel, this code:
> user.interests.include?( interest )
breaks with the following error:
> NoMethodError in Profiles#change_interests
> private method `equal?'' called for #<Interest:0xb767ae8c>
Having spent a fair bit of time
2016 Nov 01
0
libgsl.so.0
The error message mentions (perhaps not very clearly) that the shared
library installed with the gsl R package could not be loaded. Chances
are that the gsl package (and as a consequence the copula package, too)
didn't work before you upgraded. This can happen e.g. if the dependent
system library (libgsl-dev?) is upgraded.
update.packages() doesn't try to load any packages, which
2016 Nov 01
2
libgsl.so.0
On 01/11/16 21:08, Kirill M?ller wrote:
> Did you reinstall the gsl package [1]?
Apparently not. I did a complete update.packages() which reinstalled a
great number of packages (I have a great number in my personal library).
There were complaints about 4 packages, one of which was "copula", but
"gsl" was not one of them.
I would have *thought* that if "gsl"
2016 Nov 01
2
libgsl.so.0
I have just upgraded to the latest R (3.3.2) and thought I should update
my library of contributed packages.
Ran into problems with "copula". Got the error:
> Error in dyn.load(file, DLLpath = DLLpath, ...) :
> unable to load shared object '/home/rolf/Rlib/gsl/libs/gsl.so':
> libgsl.so.0: cannot open shared object file: No such file or directory
So after a bit
2009 Nov 20
1
how to link C code with gsl from R CMD and dyn.load
Hi,
I am writing a function in C that is meant to be called by R. In the C
function, I used a gsl function gsl_stats_mean. The code is as simple as
below
void gsl(double *m, int *dim){
int r, c;
r = dim[0];
c = dim[1];
double mean = gsl_stats_mean(&m[0], 1, r);
Rprintf("mean = %f\n", mean);
}
The C code is succesfully compiled and the output is as follows.
$ R CMD SHLIB
2015 Jan 31
0
Installation of qtiplot in Centos 7
Dear all
I am trying to install qtiplot in Centos 7 (qtiplot is a graph plotting
software similar to Origin). I followed the same step as this mention on
this. http://poolinfo.physik.hu-berlin.de/qtiplot-installer/README.html
At step 8, I experience the following error.
cd fitPlugins && make -f Makefile
make[1]: Entering directory
`/home/rahman/Downloads/qtiplot-0.9.8.9/fitPlugins'
2004 Sep 09
3
Dyn.load of sharing object with GSL library
Following the recommendation of Prof. Ripley, I have created the Makevars
file with the line:
PKG_LIBS="-L/usr/lib/libm -lm -L/usr/local/lib/libgsl -lgsl -L/usr/local/lib
/libgslcblas -lgslcblas"
in the working directory.
Now I have the code file Example3.c which computes the Bessel function value
(the example is taken from the GSL reference book).
I am running:
R CMD SHLIB Example3.c
2004 Jun 01
0
rcmd with a libgsl.a
Dear all, I'm new to R and am trying to create a dll in order to be able to
use the "dyn.load".
I work with some examples and its works fine.
Now, I would like to create a dll that use a lib (libgsl.a). I have linked
its in
a main c program and its works fine too. How can I instruct rcm ... to
include this lib???
The .h file is in mingw\include\gsl and I put #include
2010 Oct 30
1
Trouble installing gsl wrapper
Hi,
I'm trying to install the gsl wrapper source code
(http://cran.r-project.org/src/contrib/gsl_1.9-8.tar.gz) on a Linux
system (OpenSuse 11.1), but encountering the following problem. I've
already installed 'gsl' version 1.14
(ftp://ftp.gnu.org/gnu/gsl/gsl-1.14.tar.gz) on the system. What's
missing? Thanks a lot...
> R CMD INSTALL gsl
* installing to library
2012 Jul 24
1
Trouble with Installing R Package gsl
Dear R users:
I have a problem when installing the R package *gsl*. The procedure is as
follows:
(1) Since it needs a GSL vesion >=1.12, and the GSL library on the serve I
use is too old, I download GSL 1.15 and install it in my own account, such
as $HOME/local/gsl. Because I do not have root access, so it cannot be
installed in standard folder.
(2) Then I download the source code of R
2002 Apr 16
1
Problem with dyn.load()
I tried to dynamically load a c++ function. Everything seems to be OK
when dyn.load() is executed but then I get this error
Error in .C("integral", sumInMean, sumInVar, boundError,
numberSampleClasses, :
C/Fortran function name not in load table
The code of the function is something like this:
#include <cmath>
extern "C" {
#include
2004 Sep 09
1
Adding GSL library path to SHLIB
Dear R-list people,
I asked a similar question a few hours before. I will try to be more specific.
We like to add the GSL library to the file SHLIB in order to make it possible to run the C code using GSL functions from R.
We read that the path to the libgsl.a should be added to the line shlib_libadd=' ' in the file SHLIB but it does not work on our system. Dyn.load fails with error
2006 Dec 12
1
include libraries for C code called from R
I hope that someone on this list can help me with this issue. I have searched
through all of the documentation and mail archives for a solution, but have
been unable to find an answer that addresses my particular problem directly.
Suppose I am writing some C code that I want to access from R through the .C
function. As part of the C function, I want to include an external C library,
such as the
2005 Dec 25
4
Portability and Memory Issues for R-package
I have an upcoming JASA paper with an iid sampling algorithm for Bayesian Generalized Linear models (e.g., Logit, Poisson Regression, and Conditional Logit models with multivariate normal priors). At this point, I have implemented the algorithms in C and hope to make the functions and corresponding source code available through an R package. I have successfully created the code necessary to
2012 Aug 17
2
R package compilation: files in src directory should be ignored if C library is not available
I have written an R package which contains C source code (in the directory pkg/src).
Only a subset of the functions in the pkg/R directory contain a .C() call to the functions in the pkg/src directory. The rest of the package will still work and be useful without the functions containing a .C() call.
To compile the code in pkg/src requires the GSL library. This is detailed in the
2006 Jun 23
3
problem installing gsl package under Ubuntu Breezy Badger
I am trying to install the gls package (a wrapper for GNU scientific library
special functions) package under Ubuntu 5.10. I have gls-bin (the debian GNU
Scientific Library binary package). When I try to install the R package, I
receive the following.
> install.packages("gsl",dependencies=T)
Warning in install.packages("gsl", dependencies = T) :
argument
2011 Jul 07
1
Naive Bayes Classifier
Hi,
Currently I testing the packets that contain built-in features for
classification. Actually I looked packages such as: e1071, Klar, Caret,
CORElearn. However, from what I noticed when building a naive Bayesian
classifier, that they package use of the finite mixture model to estimate P
(x | C) and using a normal distribution. In my research I use binary data
and I want modeled P (x | C), eg the
2006 Jun 30
0
Mongrel-users Digest, Vol 5, Issue 24
>> Can I change my vote to http://samugliestdog.com/Sam162edited.jpg
yikes! how''d that get past my firewall?
+1
On 6/30/06, mongrel-users-request at rubyforge.org
<mongrel-users-request at rubyforge.org> wrote:
> Send Mongrel-users mailing list submissions to
> mongrel-users at rubyforge.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
2006 Jun 30
0
Fwd: Mongrel-users Digest, Vol 5, Issue 22
It''s gotta be Rascal. There''s no fixing Victoria - that''s a re-write from
the ground up.
And Jake a recipe for disaster;
Class Jake < Bat
include Pig
attr_accessor :one_eye
.
.
end
That pig ''ll never fly.
---------- Forwarded message ----------
From: mongrel-users-request at rubyforge.org <
mongrel-users-request at rubyforge.org>
Date:
2007 Jan 23
0
Mongrel-users Digest, Vol 12, Issue 22
On 1/23/07, mongrel-users-request at rubyforge.org <
mongrel-users-request at rubyforge.org> wrote:
>
>
> Date: Mon, 22 Jan 2007 21:48:21 -0800
> From: "Zed A. Shaw" <zedshaw at zedshaw.com>
> Subject: [Mongrel] [ANN] Mongrel 1.0.1 Officially Released
> To: mongrel-users at rubyforge.org
> Message-ID: <20070122214821.4804e941.zedshaw at zedshaw.com>