similar to: [R-pkg-devel] Run garbage collector when too many open files

Displaying 19 results from an estimated 19 matches similar to: "[R-pkg-devel] Run garbage collector when too many open files"

2018 Aug 07
1
Run garbage collector when too many open files
Dear Luke, Thanks. See below On 07-08-18 17:07, luke-tierney at uiowa.edu wrote: > In R 3.5 and later you should not need to gc() -- that should happen > automatically within the connections code. Could you elaborate on what has changed in R 3.5? As far as I can tell my problem also occurs in R 3.5 (my computer is still on 3.4.4; but I assume the solaris CRAN machine isn't). And
2018 Aug 07
0
[R-pkg-devel] Run garbage collector when too many open files
In R 3.5 and later you should not need to gc() -- that should happen automatically within the connections code. Nevertheless, I would recommend redesigning your approach to avoid hanging onto open file connections as these are a scarce resource. You can keep around your temporary files without having them open and only open/close them on access, with the close run in an on.exit or a
2018 Aug 07
0
Run garbage collector when too many open files
In my package [1] I open handles to temporary files from c++, pointer to the objects containing those handles are returned to R as external pointer objects. The files are deleted when the corresponding R-object is deleted and the garbage collector runs: a <- lvec(10, "integer") rm(a) Then when the garbage collector runs the file is deleted. However, on some platforms (probably
2006 Jul 22
1
Why the contrain does not work for selecting a particular range of data?
Dear: Continuing the issue of 'ifelse'! I selecting the data whose 'x2'=1 for maximizing likelihood. I used two way to do this but the results are different. 1.Way one I use the data for x2=1 and run the program. It works for me. Tthe program is described as below: function (parameters,y1,x11) { p<-parameters[1] alpha1<-parameters[2] beta1<-parameters[3]
2002 Jan 16
2
exhaustive permutations
Hello R-help Readers I'm currently in the process of trying to write a permutation test procedure for looking at differences between groups with a multivariate data set (something equivalent to ANOSIM - analaysis of similarities for those familiar with this test). As with other permutation tests, for cases where there are large numbers of possible permutations, randomly sampling from these
2007 Jul 03
6
Need Advice/Suggestion
Hi all, As we know we can configure in astersik like before 5:00pm calls go to reception and after 5:00 pm calls go to some mobile no. One of my client requested that he wants to manually shift the dial plan like above as he has flexiable timing sometime he finishes at 3:00pm some time 8pm. I can not give him freepbx access. Any idea or solution. Regards Farooq --
2005 Jun 07
1
OpenFile, ReadFile & int 13h
Hello, I have a problem with a comboot 16 bits program for syslinux, I use the API openFile, ReadFile and CloseFile for read my own config file. It's ok. I use the int13h to write a floppy disk (syslinux runs on a USB stick), after the first call to int13h, all the call to openFile return an error. Do you know what's the problem? Is it possible to use int13h when we use syslinux API?
2007 Dec 21
1
Continous decoding of several audio files without destroying speex_decoder
Hi All, We are using speex decoder only for narrow band decoding. Quite often, even though source frame is not silence, decoded audio is silence. I wonder there is a problem in the way we uses speex decoder API. Basically, we initialize speex decoder only once and just reset the decoder before we decoding another file. Do we need to intialize speex decoder and destory decoder for each audio file
2018 Jun 15
0
CRAN Check warnings with GCC 8.1
Some time ago I (and some other CRAN package maintainers) got an email from Brian Ripley (copied below) regarding compiler warnings under gcc 8.1. In my case this concerns package PropClust (https://CRAN.R-project.org/package=PropClust). The check with gcc 8.1 (https://www.stats.ox.ac.uk/pub/bdr/gcc8/PropClust.out) produced a warning about an uninitialized variable. I cannot reproduce the warning
1999 Nov 12
1
how to read a file one line at a time?
Is there a way to read a file one line at a time? My file is potentially very large (multiple gigabytes) so I'd like to read and process one line at a time. The only choices I see are: 1) Direct the file to standard input and use readline(), but then I have to parse the data columns myself. 2) Call scan() with nlines=1 over and over again, incrementing skip, but I suspect that it will
2007 Oct 08
16
Fileserver performance tests
Hi all, i want to replace a bunch of Apple Xserves with Xraids and HFS+ (brr) by Sun x4200 with SAS-Jbods and ZFS. The application will be the Helios UB+ fileserver suite. I installed the latest Solaris 10 on a x4200 with 8gig of ram and two Sun SAS controllers, attached two sas-jbods with 8 SATA-HDDs each und created a zfs pool as a raid 10 by doing something like the following: [i]zpool create
2007 Dec 10
0
windows oddity related to alternate data streams
Hi all, I was just looking into what was causing the lag when I open my samba (3.0.27a) shares from windows (XP, SP2). strace showed that directories were being opened and closed a lot, in sequence. Playing with Process Monitor suggests windows is trying to create alternate data streams on for the directory entires: it does a CreateFile with :{4c8cc155-6c1e-11d1-8e41-00c04fb9386d} appended to
2007 Dec 22
0
slow browsing problem
I was looking into what was causing the lag when I open my samba (3.0.27a) shares from windows (XP, SP2). I see a lot of consecutive directory opening. Process Monitor seems to suggests that windows is being stupid about alternate data streams: it tries to create directoryname:{4c8cc155-6c1e-11d1-8e41-00c04fb9386d}, fails, and tries another sixty-ish times before failing and doing the same with
2011 Mar 24
1
.Fortran successful, R locks up.
Howdy, I am having a problem with a library compiled from some legacy fortran code. I can call the library, it runs as it should, returns a list, and gives a ">" prompt, but then locks up the R session. Functions typed in return nothing. ctrl-c results in a new prompt that is still locked up, and R overwhelms the processor. This happens on Mac, Windows, and Linux exactly the same. I
2008 Oct 08
0
Samba 3.x reports "not implemented" when Server 2008 SMB client requests FSCTL_GET_OBJECT_ID
Hi Samba list, I ran across this really bizarre issue and was hoping somebody would be able to shed some further light on the issue. If this is better directed to the samba technical list, please let me know and I will post there instead. Background ========= I'm using CommVault Galaxy 7.0 SP4 for backup and decided to share it's "IndexCache", which is a collection of files
2009 Apr 27
6
File access denied when printing from a Delphi application
Hello, everybody! I'm getting the following error when I'm trying to print from a Delphi application: File access denied. This printer routine in my application is a routine to print text. So it prints to a file in LPT1 . The source code is more or less like this: Code: procedure Print; var File: TextFile; begin AssignFile(File, 'LPT1'); Rewrite(File); try
2010 Dec 18
1
Unable to mount SMB shares under Mac OS 10.6.5
Help - (I'm new to the list, so please be gentle) I've tried Seagate support, and Apple Forums with no resolution or adequate suggestions for troubleshooting/resolving this issue, so I thought I'd try the samba community. It's a bit esoteric for me/most Mac users (SMB shares under Max OS X), but I thought I'd give it a try. I can no longer mount any shares from my Seagate
2014 Jan 28
3
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
Hi Stepan, Sorry for the delay. It's great that you are working on MergeFunctions as well and I agree, we should definitely try to combine our efforts to improve MergeFunctions. Just to give you some context, the pass (with the similar function merging patch) is already being used in a production setting. From my point of view, it would be better if we focus on improving its capability
2014 Jan 30
3
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
Hello Sean and Tobias, Sean, Thank you. Could you describe Nick's ideas in few words or give me links to your discussion, so I could adapt my ideas to it. Tobias, Your patch fails on several modules in my benchmark (73 of ~1800 tests). I have sent one as attachment. See statistics files for more details, all the .ll files you could simply find in test-suite object directory (after