Displaying 20 results from an estimated 700 matches similar to: "Rcmd SHLIB error"
2008 Oct 23
0
RCMD SHLIB: static libraries and f77 libraries on Windows
Dear R-devel,
I am converting some stand-alone programs (mixed C and F77) to R functions.
I've run into two issues that
I haven't been able to resolve. I've looked at the R-exts manual and
Readme files, but haven't found answers.
(1) Can I link to a (Win32) static library? Is there some option to RCMD
SHLIB that allows this?
I've tried RCMD SHLIB myprog.c -l
2013 Jul 24
2
[LLVMdev] Program compiled with Clang -pg and -O crashes with SEGFAULT
Hi,
I am trying to compile a simple program with Clang 3.3 on Linux and used -pg and -O2 option. The program would crash with segfault. Interestingly if I compile it with -pg option only it works. Do you have any idea why it crashes? And any workaround?
$ cat myprog.c
int main() {
return 0;
}
$ clang -v -pg -O2 myprog.c
clang version 3.3 (tags/RELEASE_33/final)
Target:
2013 Jul 24
0
[LLVMdev] Program compiled with Clang -pg and -O crashes with SEGFAULT
Hi Qiao,
On 24/07/13 08:23, Qiao Yang wrote:
> Hi,
>
> I am trying to compile a simple program with Clang 3.3 on Linux and used -pg and -O2 option. The program would crash with segfault. Interestingly if I compile it with -pg option only it works. Do you have any idea why it crashes? And any workaround?
>
> $ cat myprog.c
> int main() {
> return 0;
> }
>
> $
2004 Mar 31
2
functions & paths
Hi,
I have a couple of quick questions regarding R.
1) I have a ".First" function that automatically loads the quadprog package into the workspace. The .First function resides in R and is only saved if I save the workspace. The exact function is as follows:
.First<-function()
{
library(quadprog)
}
Is there any way that this function can be saved outside of R? That is, is there
2012 Mar 11
1
Problems when building a package for Windows 64
Hello
I have recently installed R 2.14.2 on a brand new pc running Windows 64.
One of things I would like to do is to recompile my R package (with C and
fortran source codes) for this new environment (it works on a mac and on a
linux box). To this end, I had rtools 2.14 downloaded and installed (I
have also added 2.14.2/bin/x64 to PATH so that Rcmd works on a terminal).
On a cmd terminal I
2010 Aug 12
2
Is oprofile still working?
Hi all,
Is anyone using oprofile?
I'm getting segfaults from opreport at the moment, and I'm not sure if
it is opreport, or just me.
In case it is something just plain daft I am doing, here is how it goes:
opcontrol --reset
opcontrol --setup --no-vmlinux
opcontrol --start
... now I run my program, /tmp/myprog ...
opcontrol --dump
opcontrol --shutdown
then I run,
opreport -l
2018 Jul 13
3
Super-verbose failure mode for FileCheck
Hi All,
FileCheck is a great tool for writing tests.
However, it can be also a great tool for hiding the error cause from you, especially if a very common idiom
RUN: ./myprog | FileCheck %s
is used.
If you need to know the output of “myprog” to figure out why your test is failing — then well, good luck,
you would need to manually copy’n paste that line, run it, and then note the output.
2008 Jun 19
1
Need GLIBCXX-3.4.9 for /usr/lib64/libstdc++
I am trying to compile an application on a CentOS 5.0 64-bit machine that gives
me the error:
/usr/local/bin/myprog: /usr/lib64/libstdc++: version `GLIBXX.3.4.9' not found
(required by /usr/local/bin/myprog)
I have gcc 4.2.3.
I've performed a yum install compat-* and glibc*
What am I missing?
Thanks.
Scott
2007 Feb 14
1
lattice graphics and source()
Hi,
I am trying the lattice graphics in R. Let's say, such a little
experiment in file myprog.r:
f <- function(){
x <- 1:10
y <- x^2
xyplot(y ~ x)
}
f()
Then I run the program:
> source("myprog.r")
but nothing happens. Manully run f() at the command line:
> f()
then the figure is shown. This seems to be a bug only associated with
lattice graphics, the
2009 Oct 10
1
Help with OCaml bindings for R interpreter.
Hello.
I've made out a Debian package out of Maxence Guesdon's OCaml/R bindings:
http://yziquel.homelinux.org/topos/debian-ocamlr.html
http://yziquel.homelinux.org/debian/pool/main/o/ocaml-r/
The upstream software itself is on the following page:
http://home.gna.org/ocaml-r/
This binding is dynamically linked to the /usr/lib/R/lib/libR.so and to
the /usr/lib/libRmath.so libraries.
2020 Nov 11
4
crontab query
I need to schedule a process/program every hour on the hour between 9am
and 4pm on the 2nd through the 9th of each month except on Saturday and
Sunday.? So, I tried this entry:
0 9-16 2-9 * 1-5 ./myprog.sh
Unfortunately it runs outside of the 2nd through the 9th and still runs
on Sat. through Sun.
Is there a way to do this (outside the program itself)?
-Frank
2008 May 24
8
Why is wineprefixcreate deprecated?
I understand that it is applied automatically when needed, but there are times when one would want to run it manually. An example is when I want to literally create a new wine prefix such as
env WINEPREFIX="/home/bamm/apps/myprog" wineprefixcreate
to prepare a clean profile for future installation of myprog. I know that running setup with a WINEPREFIX would create the clean profile,
2013 Jan 02
3
problem when installing a R package
Hello all and happy new year !!!
I had a package that worked fine but since I switched to R 2.15.2, It is not
compatible anymore (I have the error message: not installed for
'arch=i386').
I have therefore updated Rtools 2.16 and Path variables as follow:
PATH=C:\Rtools\bin;C:\Perl\bin;C\Rtools\MinGW\bin;C:\PROGRA~1\R\R-2.15.2\bin\i38
2012 Jun 06
1
problem in compililng c code using R CMD SHLIB
Hello all,
I was trying to compile a simple C program hello.c using R CMD SHLIB
hello.c.
MY R software residing in C:\Program Files\R\R-2.15.0, and also I have
downloaded the Rtools 2.15.0 and it is in C:\Rtools, MY file(hello.c) is in
E:\R_dir.
I have followed the procedures given below
1. In a new CMD.exe window I have set the path as
c:\ Rtools\bin; C:\Rtools\MinGW\bin;C:\Program
2019 Aug 08
2
another bizarre thing...
Is this on both EL6 and EL7? If only EL7, it could be control groups causing the issue. The idea of cgroups is to prevent zombie processes, but if you need your program to spawn another process then restart itself while the other process continues to run, you need to launch it in a different control group, or the shutdown of the parent process will also kill the child. In my case, we have an
2011 May 03
1
Compiling Rgraphiz on Windows 7 64bit with R-2.13.0
Hi all,
I am trying to compile Rgraphiz on Windows 7 64bit with R-2.13.0. I have
installed
Rtools213.exe from [1]. The 64bit packages in [2] provided me with the 64 bit
version
of graphviz. After intalling the binary version Rgraphviz 1.30 (in 32bit) it
complains (as
expected) that:
> library(Rgraphviz)
Error: package 'Rgraphviz' is not installed for 'arch=x64'
I
2011 Jan 21
1
glitch in building R package
I follow Alan Lenarcic's very helpful tutorial on building R package for Windows (XP), which could be found in www.stat.columbia.edu/~gelman/stuff_for_blog/AlanRPackageTutorial.pdf<http://www.stat.columbia.edu/~gelman/stuff_for_blog/AlanRPackageTutorial.pdf>. The package involves a small dll compiled from some very simple C++ codes.
The build process seemed to work smoothly, until i
2009 Feb 02
1
Desktop icon
Hi,
With older wine , to have a desktop icon of my program, I was doing, for
example :
wineshelllink --desktop --path
/home/viny/.wine/dosdevices/c:/path/myprog.exe --link MyProg --icon
myprog.xpm --workdir /home/viny/.wine/dosdevices/c:/MyProg
But how to do with current wine version : wineshelllink doesn't exist
anymore ?
Thanks
2013 Jul 18
2
question about Makeconf and nvcc/CUDA
Dear R development:
I'm not sure if this is the appropriate list, but it's a start.
I would like to put together a package which contains a CUDA program on Windows 7. I believe that it has to do with the Makeconf file in the etc directory.
But when I just use the nvcc with the shared option, I can use the dyn.load command, but when I use the is.loaded function, it shows FALSE.
2005 Dec 23
1
can someone help me understand LAM/MPI and Rmpi for use on a cluster
I'm fairly astute at C and R but new to parallelization. Would someone
be willing to provide help in the form of a simple example that parallelizes
an R function from the inside of a C routine?
If so, write me back at izmirlig at mail.nih.gov
Thanks!