Displaying 20 results from an estimated 1000 matches similar to: "who frees dd and xd in X11_Open?"
2008 Apr 28
2
X11 window title setting in X11() Device (PR#11325)
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Hi,
I think I have found a very little bug in the new version of the X11()
device in R 2.7.0, more precisely in the devX11.c file.
The problem is that when you open a new window with X11(), the title
of the window (the WM_NAME property) is not immediately set. It seems
that the window is created, then it
2010 Mar 05
2
[PATCH] R ignores PATH_MAX and fails in long directories (PR#14228)
Full_Name: Murray Stokely
Version: 2.10.1
OS: Linux
Submission from: (NULL) (216.239.45.4)
The Defn.h header includes limits.h for PATH_MAX and then checks if it hasn't
been defined and if not sets something manually. Some of the R code uses
PATH_MAX but a lot of other functions in unix/sys-unix.c and main/startup.c just
hardcodes a limit of 256 characters.
In my environment this is not
2011 Mar 17
1
Segmentation fault when using "plot" function
I frequently get a segmentation fault error when using the "plot" command.
It happens about half the time.
We are running an old version of R (R version 2.8.0 (2008-10-20) on Linux.
I did a quick search for this problem and didn't find anything. Apologies if
I missed it.
*** Process received signal ***
Signal: Segmentation fault (11)
Signal code: Address not mapped (1)
2005 Aug 18
1
RE: [PATCH] supporting non-NX/XD capable processors onx86_64 xenlinux
I have always needed the rm_nx_xd patch to boot Xen / Dom0 on the ES7000
x86_64 but the system boots without any issues on plain vanilla Linux
2.6.
> -----Original Message-----
> From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-
> bounces@lists.xensource.com] On Behalf Of Keir Fraser
> Sent: Thursday, August 18, 2005 4:49 AM
> To: Nakajima, Jun
> Cc: Jerone Young;
2001 Sep 06
2
file.copy() problems on WinNT (PR#1085)
For some files, file.copy() doesn't copy these files correctly.
Here you will find a file (Bitmap, 769Kb) to reproduce the problem:
http://www.statistik.uni-dortmund.de/leute/ligges/R/test1.bmp
Using
file.copy("c:/test1.bmp", "c:/test2.bmp", overwrite = TRUE)
produces a second file with the size of ~1.4 Mb:
http://www.statistik.uni-dortmund.de/leute/ligges/R/test2.bmp
2001 Nov 18
1
Configuration: libpng needs zlib, but ...
I noticed that congigure reported libpng as "not found" although a
recent version exists.
Further looking into this issue told me, that the test failed because
the test
from R.m4
AC_CHECK_LIB(png, png_create_write_struct, [
BITMAP_LIBS="${BITMAP_LIBS} -lpng -lz"
AC_DEFINE(HAVE_PNG)
], , ${LIBS})
], AC_MSG_RESULT([no]))
])
did
2011 Apr 18
4
How to get R to compile with PNG support
Dear R devel list,
Good morning; I'm with the Sage (http://www.sagemath.org) project.
(Some of you might have seen my talk on this at last summer's useR
conference).
We have some rudimentary support for using R graphics in various
cases, which has proved useful to many of our users who want to go
back and forth between R and other capabilities within Sage.
Unfortunately, the way we
2016 Nov 13
1
Memory leak with tons of closed connections
Using dup() before fdopen() (and calling fclose() on the connection
when it is closed) indeed fixes the memory leak.
FYI,
Gabor
Index: src/main/connections.c
===================================================================
--- src/main/connections.c (revision 71653)
+++ src/main/connections.c (working copy)
@@ -576,7 +576,7 @@
fp = R_fopen(name, con->mode);
} else { /* use
2005 Jul 13
2
RE: Re: [Xen-changelog] Fix NX/XD enable on secondary CPUs.
Whether the processor is in 32 or 64-bit mode, if NX is used, then
EFER_NX needs to be set. If NX isn''t used, then it''s a "Don''t care". I
think bad things happens if you set the NX bit in the page table and
don''t have EFER_NX set...
--
Mats
> -----Original Message-----
> From: xen-devel-bounces@lists.xensource.com
>
2005 Jul 13
2
Re: [Xen-changelog] Fix NX/XD enable on secondary CPUs.
Xen patchbot -unstable <patchbot-unstable@lists.xensource.com> writes:
> Fix NX/XD enable on secondary CPUs.
> Signed-off-by: Keir Fraser <keir@xensource.com>
I think I have this problem with PAE as well. Machine is SMP
(hyperthreaded). PAE dom0 boots fine on CPU #0. PAE domU is bound to
CPU #1 by default and boots to the login prompt as well, but only with
NX disabled (and
2001 Feb 05
2
Project "Muncher" the next step in wine
Ok, It's a lame name but it was the best I could come up with after
spinning around in a desk chair for a few minutes. Here is the general
idea behind it.
Once, in an interview, Steve Balmber, the CEO of Microsoft threw some
standard MS FUD out about Linux being a poor choice becaue each distro
tends to "mutate" linux and has no solid direction
I thought "Wouldn't
2002 Sep 24
1
backup NT box to SAMBA box using xcopy, smbclient, robocopy, or DD command ???
What is the best way to backup my NT 4.0 Server box
that is only 8GB to my NEW SAMBA file server that
I have added to the domain?
Xcopy? Smbclient? Robocopy? DD command in Linux?
I found some good info. on Google about Robocopy that is supposed
to be great and will paste the information below.
Also, can someone SEND me the latest copy of ROBOCOPY VERSION 1.92
please. I have a really old
1998 Oct 27
0
Unix R core dumps if $HOME is not set.
One of my colleagues was/is trying to run R via a WWW perl script. The way
our system is configured (and I have no control over this), he ends up
in a process where the HOME environment variable is not set. When he
tries to run R all he gets is a core dump.
A regular user can verify this by just unsetting the HOME variable and
trying to run R.
The problem is in the system.c file, in the
1999 Nov 04
1
R_OpenSiteFile: Do not use a null ptr as filename in fopen (PR#312)
I get crashes when I call R without any arguments and having no
environment variables R_PROFILE and RPROFILE.
The reason is, that in unix/sys-common.c in R_OpenSiteFile() fopen
is called with a null ptr as filename (because this is the outcome
of getenv()).
Although most compilers seem to interpret this as "file not found",
this is an undefined behavior concerning to all C standards
2001 Feb 13
0
devX11.c -- questions about expose events and XBell
Hi, sorry for lumping this together... Both these issues are rather
small, and I'm not sure either qualifies as a bug...
1) After a window id created in X11_Open and mapped, you "gobble the
expose events". Not true, you gobble any event that comes along!
The code below fixes this by using *XCheckTypedEvent*. Hmm, I'm
not sure this right already, but better...
***
2000 Aug 17
2
Install Error on SGI Irix 6.5 (PR#637)
Hi,
I'm using R since Version 0.99 on a SGI Indigo 2 with Irix 6.5. I could compile
all Versions of R until 1.1.0.
When I try to compile Version 1.1.0 or 1.1.1 I get an error in the directory
/R-1.1.1/src/unix/X11. Trying to compile the file rbitmap.c in this directory
with the gcc compiler command
gcc -I. -I../../../src/include -I../../../src/include
-I../../../src/include/R_ext
2019 Apr 30
2
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
Hi Peter
Yes, that looks roughly right to me. I would be in favour of your
option (b), partly because it is probably easiest and partly because
that retains the basic graphics device startup logic pattern that is
replicated across all(?) graphics devices.
Paul
On 28/04/19 11:39 AM, peter dalgaard wrote:
> I had a look at the current code, and AFAICT it has essentially the same structure
2019 Apr 25
2
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
Thanks Professor Dalgard.
If you have a different way to fix the bug then I'd be happy to test
it.
Or whatever. I understand that maybe some data was being referenced
before it had been initialized. I could also support moving the
R_ProcessEvents call in another place, but it seems one would also
like to generate some kind of warning message, at the location of the
bad reference, rather than
2012 Feb 09
1
Constraint on one of parameters.
Dear all,
I have a function to optimize for a set of parameters and want to set a
constraint on only one parameter. Here is my function. What I want to do is
estimate the parameters of a bivariate normal distribution where the
correlation has to be between -1 and 1. Would you please advise how to
revise it?
ex=function(s,prob,theta1,theta,xa,xb,xc,xd,t,delta) {
expo1=
2008 Jun 11
2
problem with as.Date
Data into R from Excel csv file
xd<-read.csv("court.dates1.txt",as.is=T, header = F)
> str(xd)
'data.frame': 5 obs. of 1 variable:
$ V1: chr "6/6" "5/27" "5/16" "5/2" ...
>xd
V1
1 6/6
2 5/27
3 5/16
4 5/2
5 4/29
cdates <- as.Date(xd, format = " %m/ %d")
Error in as.Date.default(xd, format = " %m/