similar to: malloc small pieces of memory

Displaying 20 results from an estimated 100 matches similar to: "malloc small pieces of memory"

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
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
2000 Jan 10
5
bug in glm (PR#397)
Dear R-team As I didn't get any answer to my bug-report last week I have taken the effort and extracted a minimal data set from my data (see below) where the following bug occurs: > glm(SKR.ein.aus ~ ., family = binomial, data = bugdata, na.action = na.omit) Error in names<-.default(*tmp*, value = ynames) : names attribute must be the same length as the vector In addition: Warning
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
2000 Oct 02
4
Debugging dynloaded C-code with gdb
Dear R users I have started to use gdb for debugging dynloaded C code as described in `Writing R Extensions'. Unfortunately I have run into several problems that I haven't been able to solve: - using `n': how comes that the same line of code appears up to three times (and inbetween the next line and maybe even the second next one?) - using `print' resp. `display': How
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 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 Feb 16
2
Embedding samba...
Hi All, I am working on a port of Samba to the uClinux/ColdFire system. This is a port of Linux running on the Motorola ColdFire processors. These processors have no MMU, so no virtual memory. It also means that there is no true fork() call, only a vfork() type primitive is supported. Other than this the fact that there is no MMU is pretty transparent applications, it looks like any other Linux
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
2003 Dec 08
1
3.0.1rc1 won't build - error during make
SuSE SLES 8 SP3 on s/390... gcc-3.2.2-23, glibc-2.2.5-115, Kernel: 2.4.21-83-default I ran ./autogen.sh and ./configure --enable-cups --with-acl-support --with-pam --with-quotas --with-smbmount --with-syslog --with-tdbsam --with-utmp --with-vfs --with-winbind --with-python=python2 With the rc1 code, make ends with: Compiling smbd/quotas.c smbd/quotas.c: In function `get_smb_linux_vfs_quota':
2005 Oct 15
4
Quad BRI with Fedora, anyone?
We have a QuadBRI ISDN card from Digium. We would like to make it work with Fedora Core 4 (maybe FC3), but haven't succeeded. Compilation of bristuff from the Digium homepage fails, both the stable version with asterisk 1.0.9, and the experimental version with asterisk CVS-HEAD. Has anybody here succeeded to make this work? Or could we even be so lucky that somebody made RPMs for this? Lars
1999 Oct 15
1
99.9% uptime
Sorry, forgot to change the subject on my first posting. I was reading a comment this morning about something Microsoft had published to the effect that there were vendors guaranteeing 99.9% uptime for NT. The guy who wrote the reply did the math for what that means, and the results are very interesting. Quote below: OK, now what does a 99.9% uptime guarantee mean? Well, it means that at
1999 Sep 13
2
smbfs mounted files created owned by root?
Hi all. We have been denying NFS access to our Linux et al users since they can of course set their uid to whatever they want. So we tell them to use smbfs. But when I just tried experimenting by mounting my own network share on my Linux box via smbfs, and created a few files, I loo on the serevr and the files are all owned by root?! This has got to be a configuration issue right? -- Mark E
1999 Sep 30
2
How to measure performance?
My problem that I don't know a good practic way to measure performance of my system I need fileserver for Win9x machines with files share with dos applications Friendly speaking I need to choose between WinNT and Linux I know there are a lot of parameters in for ex in smb.conf but how to play with it? may be there are some utilities or etc. Any help will be appreciated Thanks in advance
2005 Aug 24
3
fedora core 3 kernel source - could someone throw the dog a bone!
Ok, don't flame me, I know this is a question with an obvious answer to some, but I am not one of them. Installed FC3, but this time I decide to update since my ISOs are a bit old, so typical yum update Downloaded the FC3 SRPM for my kernel 2.6.12... Installed the SRPM package Ran rpmbuild -bp -target=i686 kernel-2.6.spec Tried to build zaptel - error; You do not