Displaying 20 results from an estimated 1100 matches similar to: "dyn.load problem"
1999 Aug 26
0
use dyn.load to redefine R internal fns?
I would like to redefine some R print functions (Rprintf for example) so
that they don't print to stdout, but save the output in a global string
array. I can compile and link my definition of Rprintf into a library and
load it with dyn.load. I don't get an error message, but afterwards the
original function is still valid, my new version isn't executed.
Is there a way to change R
2000 Feb 23
1
Version 0.90.1 bug report on matrix indexing
Hi ,
R Version 0.90.1 on Solaris2.5 and Suse Linux 6.[1,3] crashes some time
after a matrix row or column has been addressed via an incorrect
row/colname:
R : Copyright 1999, The R Development Core Team
Version 0.90.1 (December 15, 1999)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type "?license" or
1999 Oct 06
2
R --nsize 2M runs havoc (under linux)
Dear All,
I am running R version 0.65.0 under
a) Suse-Linux 6.1, and Suse-Linux 6.2, compiler gcc-2.95, CPUs pentium pro
200, 128MB, and pentium II 450, 128MB
b) Solaris 5.7, compiler gcc-2.95, cpu SUN sparc, 4000MB
When I set --nsize to more than 1M, R's internal storage management runs
havoc. gc() indicates the requested sizes, but the overall process size is
much too big: Running R with
2001 Feb 22
1
R-1.2.0: bug report on fn table
> table("NA")
numeric(0)
> table("NaN")
numeric(0)
This should probably return something different, like in
> table("nan")
nan
1
>
or do I misunderstand something?
regards
Joerg.
-- Dr. Joerg Kindermann Knowledge Discovery Team
GMD - German National Research Center for Information Technology -
phone:
2009 Jan 10
2
Problem with compiling shared C/C++ library for loading into R (Linux)
I am using the .Call interface to call c++ code from R. For that, I am
trying to create a dynamic library (mylib.so)
using "R CMD SHLIB" by linking my own c++ code and an external c++
library (blitz++).
The makefile works fine on my Mac, produces mylib.so and I am able to
call .Call() from R, but on a linux
server (I think Debian), I got the following error:
----------
/usr/bin/ld:
2009 Jan 10
2
Problem with compiling shared C/C++ library for loading into R (Linux)
I am using the .Call interface to call c++ code from R. For that, I am
trying to create a dynamic library (mylib.so)
using "R CMD SHLIB" by linking my own c++ code and an external c++
library (blitz++).
The makefile works fine on my Mac, produces mylib.so and I am able to
call .Call() from R, but on a linux
server (I think Debian), I got the following error:
----------
/usr/bin/ld:
2012 Jun 01
1
Error: package 'myLib' is not installed for 'arch=i386'
Hello,
I 'd like to use some functions in myLib. So I do:
library(myLib)
Then I get this message:
Error: package 'myLib' is not installed for 'arch=i386'
> sessionInfo()
R version 2.13.2 (2011-09-30)
Platform: i386-pc-mingw32/i386 (32-bit)
locale:
[1] LC_COLLATE=French_France.1252 LC_CTYPE=French_France.1252
LC_MONETARY=French_France.1252 LC_NUMERIC=C
2011 Sep 14
1
Building R package with precompiled shared library
Dear R users,
we are trying to build a R package that includes a precompiled shared
library, let's say mylib.so. We created the skeleton of the package
and we moved the mylib.so file into the libs folder that we created at
the same level of the folders man and R. Moreover we created the file
NAMESPACE and we added the line useDynLib(mylib, .registration=TRUE).
The building step seems to work
2008 Oct 17
1
[LLVMdev] [Need your help]
Hi,
This is Crystal. I have some questions about llvm-gcc. Could you please give me some advice? Thanks in advance.
Problem description:
Env:
llvm-gcc (GCC) 4.2.1
gcc (GCC) 4.1.2
OS:fedora7
I tried to compile a C programme test.c with llvm-gcc by task:
[root at localhost mylib]# llvm-gcc -emit-llvm test.c -Llibmylib.a -c -o test.bc
[root at localhost mylib]# lli test.bc
after running the command
2001 Dec 05
3
trouble with R CMD INSTALL for building my own library
Hi,
I have built a library that consists of a piece of C code and some R
functions.
To build it into a library that I can load using library() command, I
have followed "Writing R Extensions"
and made sub-directories such as mylib/R and mylib/src. But when I run R
CMD INSTALL mylib, nothing seems to
be happening with src directory, i.e., no C compiling. I have probably
missed
some key
2001 Dec 05
3
trouble with R CMD INSTALL for building my own library
Hi,
I have built a library that consists of a piece of C code and some R
functions.
To build it into a library that I can load using library() command, I
have followed "Writing R Extensions"
and made sub-directories such as mylib/R and mylib/src. But when I run R
CMD INSTALL mylib, nothing seems to
be happening with src directory, i.e., no C compiling. I have probably
missed
some key
2010 Jan 26
1
library.dynam
hi, i'm having some trouble getting a package to load a shared library
object in .onLoad(...)
i have a shared object file, say "mylib.so".
if i start an R session, and via the CLI specify the actual library
via:
> dyn.load("mylib.so")
everything works quite well (i.e. i can then follow with some .Call
(...) methods)
now, i'd like to include this shared library in
2011 May 19
1
r-2.13 fails make check
I am only reporting this because it is the current release branch and
not devel.
R-2.13 from svn revision 55957 builds fine, but fails make check.
This happened with a fresh svn checkout 12 hours ago and it still
happens as of now. Two days ago I could build R-2.13 and it passed
make check on the same system, so I doubt it is a system problem. But
just in case my system details are a fresh
2006 Jun 08
1
[LLVMdev] Profiling dynamically loaded libraries
Hi,
Standard approach to profiling dynamically loaded libraries with
gprof doesn't seem to work with LLVM:
export LD_PROFILE=Mylib.so
export LD_PROFILE_OUTPUT=.
make ENABLE_PROFILING=1 // compiling my project
opt -load Profile/Mylib.so -options...
but no Mylib.so.profile (or gmon.out) is produced. Profiling
libc.so.6 usage by "ls -l", however, works fine.
Could anyone explain
2001 Jan 08
0
R-1.2.0: gdb doesn't find functions in shared lib
I'm trying to debug some C functions I've written for use with R. Until
recently debugging them with gdb was no problem. But since I switched to
R-1.2.0 (from R-1.0.1) gdb can no longer find the entry points of my
functions. It either pretends to set break points but doesn't stop there or
it only stops at the end of the function.
R version R-1.2.0
gdb version GNU gdb 4.18
gcc version
2006 May 17
1
install.packages bug (PR#8873)
Hello,
I've been using R for about 3 years now and I'm pretty sure this is a bug.
I'm using R 2.2.0.
The way R is set up to get packages from CRAN using install.packages is
really convenient --- if you are installing to your system's main package
directory. However, I observe the following problem:
I want package X but it requires package Y. Further, I have neither
package
2003 Apr 01
1
Load and unload libraries
Hi all,
I'm having some problems in loading libraries. I wonder if anyone can
help me with this.
I have created two libraries with the same name at different locations.
I want to use both of them, one at a time.
So I do:
library(mylib,lib.loc1)
(....)
detach('package:mylib')
library(mylib,lib.loc2)
The problem is that, after this, the used library is still the one first
loaded.
2016 Jun 19
2
llvm-bjdump and ELF-ARM/Thumb
Hi Everyone,
When I used llvm-objdump to disassemble an ELF armv7 or thumb I have this error message:
llvm-objdump: warning: invalid instruction encoding
This message appears directly into the output and the output is mostly wrong (the invalid instruction create a shift in the addresses) :
1a6d: ff 2f e1 08 stmeq r1!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, sp} ^
1a71: 30
2015 Oct 29
2
[cfe-dev] [RFC] __attribute__((internal_linkage))
I haven't been able to figure out from this thread why this attribute is necessary at all.
Anonymous or unnamed namespaces were added to C++ for this very purpose, but the ISO C++ Standard does not discuss "linkage" per-se because it is outside the scope of the language specification. But it does describes it in terms of having a hidden name which is "unique" to the
2006 Nov 20
1
[LLVMdev] libstdc++ as bytecode, and compiling C++ to C
On Mon, Nov 20, 2006 at 08:01:23AM -0800, Reid Spencer wrote:
> On Mon, 2006-11-20 at 17:49 +1100, Emil Mikulic wrote:
> > I've compiled all the object files that make up libstdc++ and libsupc++
> > into LLVM bytecode:
> > http://goanna.cs.rmit.edu.au/~emil/libstdcxx.tar.bz2 (438KB)
> >
> > A simple test program, x.cpp:
> >
> > #include