Displaying 20 results from an estimated 300 matches similar to: "Debugging dynloaded C-code with gdb"
2001 Mar 26
1
Problems with R CMD COMPILE within Makefile (PR#885)
Dear R-developpers
This concerns a problem I posted about half a year ago on the R-help list
and to which I got some answer by Duncan Temple Lang (see below), but the
basic problem still continues. Even though I managed a workaround which is
sufficient for me Martin Maechler asked me to send a toy example of the
problem to R-bugs. So that's what I try here.
The following Makefile will not
2000 Sep 04
2
problems with R COMPILE in make
Dear R helpers
I have a problem with R COMPILE. While the Makefile consisting of the lines
SOURCES = imageio.c procbase.c readargs.c regSegs.c goodiesPH.c \
generalAnalysis.c edgeAggregation.c utilities.alga.c \
cs.parametrizing.c
tst.so: $(SOURCES)
R SHLIB -o $@ $(SOURCES)
works fine, the Makefile with the target replaced by
imageio.o: imageio.c
R COMPILE imageio.c
results in
2000 Sep 04
2
problems with R COMPILE in make
Dear R helpers
I have a problem with R COMPILE. While the Makefile consisting of the lines
SOURCES = imageio.c procbase.c readargs.c regSegs.c goodiesPH.c \
generalAnalysis.c edgeAggregation.c utilities.alga.c \
cs.parametrizing.c
tst.so: $(SOURCES)
R SHLIB -o $@ $(SOURCES)
works fine, the Makefile with the target replaced by
imageio.o: imageio.c
R COMPILE imageio.c
results in
1999 Jul 12
2
how to find index of maximum?
Dear R-users,
Is there a simple way to find the index of the maximum of a vector?
Ex.
1 3 6 2
result: 3
Thanks for any help, Peter
____________________________________________________________
Peter Holzer phone: + 41 1 632 46 34
Seminar fuer Statistik, SOL F7 fax: + 41 1 632 10 86
(Sonneggstr. 33) <holzer at stat.math.ethz.ch>
ETH (Federal
2000 Jan 17
1
How to change several elements of an array simultaneously?
I have a matrix `m' and two vectors `rs' and `cs'. I want to change m at the
positions (rs[1], cs[1]), (rs[2], cs[2]), ... to 1. Obviously I can do that by
> m[rs + (cs-1) * dim(m)[1]] <- 1
but I would just be interested whether I am missing a more "intuitive" way
of doing that.
Thanks in advance, Peter
____________________________________________________________
1999 Feb 10
1
problems with read.table
Dear R users,
I have the following problem:
I have a table in ASCII-format, separated with commas. I can read it as
long as no field contains a comma itself. If one does, read.table doesn't
function even though that field is double-quoted.
Ex.:
File "test.csv":
Name,Strasse,PLZ
Jsaac,Gossauerstrassee 29,9100
Roth-Bernasconi,"20, ch. des Fauvettes",1212
adressen <-
1998 Sep 03
2
a nasty error
Dear R-developers
The basic function seq doesn't work properly:
> seq(1,6,by=3)
[1] 1 4 7
Looking at the source code of seq.default I found that strange fuzz thing
"+ 0.4". Taking that away the seq works fine.
My question is: Why has this fuzz thing been added?
If it was for some rounding problems I would suggest to replace "0.4" by
something much smaller.
Peter
2000 Mar 30
1
Efficiency of local functions
Dear R-users
In order to speed up the performance of my program I tried to make a
function f2 (that is only called from function f1) local to f1. In that way I
pass one argument less to f2, a huge matrix. (This matrix isn't changed
inside f2, so - afaik - it is passed by reference and size doesn't matter.)
Still I would have expected that f1 would be a little faster, but the
opposit
2009 Sep 02
6
SXCE 121 Kernel Panic while installing NetBSD 5.0.1 PVM DomU
Hi all!
I am running SXCE 121 on a dual quad-core X2200M2 (64 bit of course).
During an installation of a NetBSD 5.0.1 PVM domU, the entire machine
crashed with a kernel panic. Here''s what I managed to salvage from
the LOM console of the machine:
Sep 2 18:55:19 glaurung genunix: /xpvd/xdb@41,51712 (xdb5) offline
Sep 2 18:55:19 glaurung genunix: /xpvd/xdb@41,51728 (xdb6) offline
2000 Feb 11
1
Creating efficiently a subset of a matrix
Dear R-helpers
I have the following problem: given a m x n matrix A, I want to have just a
m x k submatrix B, with B[i,] = A[i, offset[i] + 1:k], e.g. from
> offset <- c(0, 0, 1)
> a <- matrix(1:9, 3)
> a
[,1] [,2] [,3]
[1,] 1 4 7
[2,] 2 5 8
[3,] 3 6 9
the submatrix b
1 4
2 5
6 9
I can do this with a for loop or with sapply
> b <-
2000 Jan 13
0
problems with understanding behaviour of glm
Dear R users,
I don't understand, what happens in glm in the following example (note that
in S-Plus this example finishes with an almost perfect fit, but also 49
warnings):
> fit.small <- glm(SKR.ein.aus ~ ., family = binomial, data = daten, maxit=100)
Error in (if (is.empty.model(mt)) glm.fit.null else glm.fit)(x = X, y = Y, : inner loop 2; can't correct step size
In addition:
2005 May 13
4
Encryption
Hi All,
I am using rsync to backup our office server to our Internet server (RHE).
As an association for doctors we are looking at providing a backup service
for their practices using rsync. As it would be patient data it would need
to be encrypted. I have found a few options, namely
esync
wurt
rsyncrypto
Does anyone have experience with the above and perhaps like to recommend
one? On the
2003 Apr 16
1
lmcompatibility question
Hello I was wondering if there is a parameter that can be set in order
to be able to run samba and communicate with a windows domain controller
which sets a registry key called lmcompatibility to 5.
I am running samba 2.2.5, and realize I may need to upgrade to a newer
version. Could you give me a heads up on this capability.
Thank you!
Erika Holzer
2006 Jun 23
7
malloc small pieces of memory
Hi
I have a Problem with wine. I have one Program, that allogaces many
small pieces with "malloc()" in the memory. "many" means over 2 Mio,
"small" means "from 8 to 128 bytes" in size.
Running this Program on Windows gives me ~300MB Memory Usage (according
to one of the values in the Tast manager). In Linux, "top" shows me a
physical Usage of
1999 Oct 05
0
SAMBA digest 2259
What is this???????????????????????????????????????
> -----Original Message-----
> From: samba@samba.org [mailto:samba@samba.org]
> Sent: Tuesday, October 05, 1999 3:06 AM
> To: Bernhard Bruscha
> Subject: SAMBA digest 2259
>
>
> SAMBA Digest 2259
>
> For information on unsubscribing see http://samba.org/listproc/
> Topics covered in this issue include:
2004 Jul 30
0
reply start with a kiss, then move on to...
ibuae~kundgebungrequestinfo
computergphone'
am-,er''ica d`r`^ugs & 0v^ernig~'ht d'e_,liver~
optimgdasyatidae http://www.morning-meds.com
At this announcement Rob began to quiver with excitement, and sat staring
eagerly at the Demon, while the latter increased in stature and sparkled and
glowed more brilliantly than ever
-----Original Message-----
From: Mica
2005 Jan 28
0
Oplocks with concurrent access from same client
I am observing the following behaviour with samba-2.2.12 (Yes, I know,
it's old) and MS-Access XP on a Win2K box:
The client opens a .mdb file and gets a level2 oplock.
Then it opens the .mdb file again and loses the oplock (at least I
assume it does: The server sends an SMBlockingX request to the client
and waits for another SMBlockingX request from the client before sending
the Reply to
2008 Dec 05
0
resync onnv_105 partial for 6713916
Author: Darren Moffat <Darren.Moffat at Sun.COM>
Repository: /hg/zfs-crypto/gate
Latest revision: 957d30a3607ed9f3cbe490da5894d1e1b2104033
Total changesets: 28
Log message:
resync onnv_105 partial for 6713916
Files:
usr/src/Makefile.lint
usr/src/Targetdirs
usr/src/cmd/Makefile
usr/src/cmd/Makefile.cmd
usr/src/cmd/acctadm/Makefile
usr/src/cmd/acctadm/acctadm.xcl
1998 Jun 06
1
R-beta: makefile command line for recreating dynload demo dll
Hi,
I have gnuwin32 (b18) and the rw0613b.zip version of R.
With regards to (re)making the dynload dll demo given (zero.dll) could
anyone tell me what the command line for the makefile should be.
ie,
make -f Makefile.in ...?
Thanks for any help
--
Douglas
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
1998 Aug 22
1
R-beta: re -n -v wr0613b - windows dynload
When I use the -v I can modify the size of the heap, as assessed by
gc(), but the -n key seems to be without effect ?
On a machine with 48 mB ram I can load the libraries without problem,
but on my own 36 mB ram machine, I get dynload problems with the larger,
eg survival4.
Any suggestions ?
Troels
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list