Displaying 20 results from an estimated 2000 matches similar to: "(no subject)"
2005 Sep 27
2
Error in "make check-all"
Dear R-users,
i'm a very newbie in linux, but decided to build R from source.
Following the "R Installation and Administration" manual, i did this:
./configure --enable-R-shlib # this option is here because i intend to
build the GNOME console after...
make
make check
no problems in make check, but:
make check-devel #and also
make check-all
indicated some WARNINGs in the log
2005 Oct 11
1
Error: .First.lib failed for 'SBMLodeSolveR'
Dear R-developers,
I am getting the following error message (see bottom of e-mail) and can't make
a clue out of it.
The zzz.R file contains
.First.lib <- function(lib, pkg) library.dynam("SBMLodeSolveR",pkg,lib)
.Last.lib <- function(libpath) library.dynam.unload("SBMLodeSolveR", libpath)
There is a SBMLodeSolveR.so file in the src directory which works if loaded
2009 May 27
1
"Error: package/namespace load failed"
I am writing my first R package, and I have been getting the following series of errors when I run R CMD check:
* checking S3 generic/method consistency ... WARNING
Error: package/namespace load failed for 'REEMtree'
Call sequence:
2: stop(gettextf("package/namespace load failed for '%s'", libraryPkgName(package)),
call. = FALSE, domain = NA)
1: library(package,
2005 Aug 15
2
R CMD check failure on minimal code
I have a peculiar problem that I'm sure is a simple one, but I can't figure
out what my mistake is. Can someone enlighten me? I have a simple file,
class.R:
##
setClass("abc",representation(a = "character", b = "ANY"))
I have a package directory ExpressCGH1 made with package.skeleton. The
package happily builds and installs, but R CMD check fails with
2006 Jan 20
1
R CMD check, NAMESPACE, import: bad error?
I'm seeing errors with R CMD check that I don't understand when
checking a package that uses a NAMESPACE file with an import
directive. The imported package is listed in the DESCRIPTION file in
the Imports field.
DESCRIPTION contains:
Imports: arules
NAMESPACE contains:
import(arules)
The package builds without warnings and installs and loads just fine.
But check has this to
2006 Jun 12
2
about integration of a library into package creation
hello,
i try to create a package , and i call a library in the namespace file
such as : useDynLib(quadprog)
after checking my directory with the command "rcmd check" (i am on
WindowsXP)
i get an error: package / namespace load failed
the path of the library is: D:\R\library\quadprog
the path of the building files is: D:\RBuild\svcR
and the comand i use to compile is: rcmd
2006 Jun 06
1
vague errors on R CMD check for very minimal S4-style package
Hello,
I have a very minimal package "simplepkg" (DESCRIPTION, NAMESPACE, and
R) with S4 classes/methods (defines a class "foo" and a show method for
that class" - both the class and show method are exported). I can
seemingly install the package, then load and use it:
> sessionInfo()
Version 2.3.1 (2006-06-01)
sparc-sun-solaris2.10
attached base packages:
[1]
2013 Jun 09
1
Dyn.load of sharing object with GSL library
Dear R-list,
I want to use shared library of gsl in R(2.15.1) on unix .I have a makefile such as
CC = gcc
CFLAGS = -fPIC -O2
PKG_LIBS -lgsl -lgslcblas -lm -lpthread
?
OBJS_SPB = calc_spb.o k.o dk.o ddk.o
?
?
calc_spb.so : $(OBJS_SPB)
?
????? $(CC) -shared -o calc_spb.so $(LIBS) $(OBJS_SPB)
?
clean :
????? rm -f ../*.o *.o
?
clean.so:
????? rm -f *.so
?
I use R CMD SHLIB calc_spb.c in terminal
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
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
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
2005 Nov 10
0
Problem with C code under R2.2 only.
Dear R developers,
Running a R CMD check under R2.2 gives me the error messages (appended to this
e-mail) while the with R2.1 the check on the same package directory runs fine.
To my knowledge the configuration of R2.2 and R2.1 on my machine are
identical.
* checking S3 generic/method consistency ... WARNING
Error: .First.lib failed for 'SBMLodeSolveR'
Call sequence:
2:
2017 Sep 13
0
(no subject)
On 13/09/2017 5:23 AM, Brayford, David wrote:
> When I try to install gsl in R I get the error Need GSL version >= 1.12 . However, I have version 2.3 of gsl installed on the system, which is picked up earlier in the configure process (see below). Is it possible for someone to fix this error in the configure script?
>
> checking for gsl-config...
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
2010 Jan 22
2
R CMD check error with the GNU Scientific Library
I have been working on an R package that calls C code using .C(). I recently
started including some functions from the GNU Scientific Library in my code.
The code runs fine on my machine when not wrapped in the package. But I get the
following error from "R CMD check"
* checking whether the package can be loaded ... ERROR
Loading required package: splancs
Loading required package: sp
2017 Sep 13
0
(no subject)
On 13/09/2017 9:10 AM, David Brayford wrote:
> Hi Duncan,
>
> The output of gsl-config --version
> 2.3
>
> The output of gsl-config --cflags
> -I/lrz/sys/libraries/gsl/2.3/include
>
> The output of gsl-config --libs
> -L/lrz/sys/libraries/gsl/2.3/lib -lgsl -lgslcblas -lm
>
> gsl_version.h cat output
> #define GSL_VERSION "2.3"
> #define
2005 Jun 23
1
mac osx, g95 package port problem
Hi all,
I have a working package for linux, including fortran 95 code compiled with
g95,
that I need to port to OS X. The package works on Linux and seems to load on
the Mac,
but when I try to run a function that calls C or Fortran I'm told that the
symbol is not loaded.
I'm developing via a shell account on an OS X system, I don't have access to
a desktop.
The set up is:
R
2012 Jun 16
0
R CMD -lgsl -lgslcblas *.c returns a fatal error: gsl/gsl_rng.h no such file or directory exists
Hello,
I tried this posted on the R devel subforum but no help so far. Maybe the
wider net will be fruitful. Probably a pretty simple issue.
The short story goes, I'm writing C source code and compiling it in as *.dll
in the windows terminal by R CMD SHLIB foo.c. It works, I'm on a 64-bit
system. I have the lastest R 2.15.0 and Rtools, and I am using the gcc 4.6.3
compiler.
However,
2012 Jun 09
0
-lgsl -lgslcblas fatal error no such file or directory
Hello,
Novice programmer.
I'm writing C source code and compiling it in as *.dll in the terminal by R
CMD SHLIB foo.c. It works, I'm on a 64 bits windows system. I have the
lastest R 2.15.0 and Rtools using the gcc 4.6.3 compiler.
However, that was a hello world run, and I installed GSL for the 64 bit
system for fast MCMC. The Rcpp package was easy to use, but I opted for a C
with GSL
2006 Dec 24
2
FW: Passing lists from R to C, extracting elements, and sending lists back again
Thank you to everyone who responded to my previous post regarding the integration into R of C programs that use external libraries. I have another issue that I simply have not been able to figure out using documentation, list archives, and so forth.
I have data that is stored in R lists. I would like to pass the list to C code using the .Call function, perform mathematical operations on the