Displaying 20 results from an estimated 700 matches similar to: "lattice graphics and source()"
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
2004 Feb 24
6
be careful: using attach in R functions
Hi there,
I have just found that the ``attach'' function
can get you into trouble when called many times.
For example, you have a simulation routine called ``f()'',
in which you used ``attach'' and no corresponding ``detach''.
Then you call this function many times. You will find that
the system performance get slower and slower,
because you are making the R
2001 Jul 16
1
polyroot() (PR#751)
In a bug report from Nov.28 2000, Li Dongfeng writes:
-----
I have found that the polyroot()
function in R-1.1.1(both solaris
and Win32 version) gives totally
incorrect result. Here is the offending
code:
# Polyroot bug report:
# from R-1.1.1
> sort(abs(polyroot(c(1,-2,1,0,0,0,0,0,0,0,0,0,-2,5,-2,0,0,0,0,0,0,0,0,0,1,-2))))
[1] 0.8758259 0.9486499 0.9731015 1.5419189 1.7466214 1.7535362
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
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
2010 Dec 18
1
Rcmd SHLIB error
I am getting this error message when I try to run Rcmd SHLIB myprog.c.
There appears to be a missing / between etc and i386 in the path. I
am on Windows Vista and am using R version 2.12.1 Patched (2010-12-16
r53864) and just downloaded Rtools 2.12 today. Is this a bug in R?
How can I resolve this?
C:\tmp2>Rcmd SHLIB myprog.c
cygwin warning:
MS-DOS style path detected:
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,
2009 Nov 17
2
Need help in samba configuration
We have ClearCase database on unix and users on windows.
We are creating Unix users locally on that Clearcase server. Samba is also
installed on that server.
User windows machines are part of domain. Groups,usres are created on
domain and same users,groups are created on unix server.
Now problem is occuring when a windows user is changing the password for
his domain login. as soon as user is
1999 Sep 09
1
read.table bug
Suppose we have a data file containing:
"Smith, John", 120, 90
"Thomson, Peter", 110, 85
there are 3 variables in it. If we use
x <- read.table("tmp.txt", sep=",")
to read the data to a data.frame,
the result will be 4 columns.
Splus 4.0 have no problem with this kind
of data.
Li Dongfeng
1999 Sep 09
1
read.table bug
Suppose we have a data file containing:
"Smith, John", 120, 90
"Thomson, Peter", 110, 85
there are 3 variables in it. If we use
x <- read.table("tmp.txt", sep=",")
to read the data to a data.frame,
the result will be 4 columns.
Splus 4.0 have no problem with this kind
of data.
Li Dongfeng
2000 Aug 23
1
png device on Solaris
Hi,
I compiled R 1.1.0 source on SUN Sparc
solaric 2.5.1, using gcc 2.95.2.
I need to use R to publish graphics to the web,
the NEWS in this version said that there is a new
png() device on X11(). But when I tried
> png()
I got this error.
Error in png() : No png support in this version of R
Can anyone tell me how to compile png support
on solaris/unix? The new bitmap() device
2005 Jul 06
1
ATA not sending data to asterisk?
Hi,
I've just setup a second asterisk system and am having a wierd
problem. If I am on the same network as the system it works fine...
if I am outside coming in from the internet through a NAT I get the
following:
I can place calls.... I can hear the asterisk system. The asterisk
system does not seem to hear me. When I do a tcpdump I don't even see
the ATA sending anything to the
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
2009 Dec 07
5
confint for glm (general linear model)
Hi,
I have a glm gives summary as follows,
Estimate Std. Error z value Pr(>|z|)
(Intercept) -2.03693352 1.449574526 -1.405194 0.159963578
A 0.01093048 0.006446256 1.695633 0.089955471
N 0.41060119 0.224860819 1.826024 0.067846690
S -0.20651005 0.067698863 -3.050421 0.002285206
then I use confint(k.glm)
2006 Mar 03
2
FCKEditor Image uploading feature
Hello,
I followed instructions on
http://www.joshuamcharles.com/rails/fckeditor.html
Added FCKEditor to my rails app which works great, but I''m not able to
upload images using the WYSISYG editor.
Is there a way to enable this feature in rails app? If not, where is the
images folder that FCK looks into it for images, so I can upload my images
manully there?
Thanks,
- Dunnil
--------------