similar to: save objects from function (PR#9365)

Displaying 20 results from an estimated 3000 matches similar to: "save objects from function (PR#9365)"

2005 Sep 28
4
A document about implementing dtrace probes in SAX
Hi, I have mentioned before that we have added some sdt dtrace probes in SAX, our APL interpreter. Encouraged by Angelo and Jignesh, I have created a small document (5 pages) describing our experience with it, together with some problems we have encountered and some scripts we use for pretty-printing dtrace outputs. The said document can be found at
2003 Jun 03
1
Re: ./configure --with-pam fails always
John, don't be harsh with Philippe. To answer his question, you don't really need any more information than what he abundantly provided in his mailing. His problem is that he hasn't installed the ldap-devel or pam-devel or some other of the more than 100 devel packages that might be needed to compile samba with a distinctive set of --with-this-or-that options. His compiler simply
2002 Nov 27
6
"attrib +R myowndir" fails to write-protect my own dir
A trivial case: executing the following DOS command from the prompt line on a Win2K SP3: %windir%\system32\attrib.exe +R H:\dir can't set the R(eadonly) flag on my home dirs (2.2.7): drwxrwsr-x 4 me users 4096 Nov 27 17:59 . drwxr-sr-x 2 me users 4096 Nov 27 17:59 dir -r--r--r-- 1 me users 0 Nov 27 17:59 empty.txt drwxr-sr-x 2 me users 4096 Nov 27 17:27
2003 Aug 11
4
Ref: Samba + Cups: don't succeed to print from Windows 2000 station
Dragan, Andy Thanks for your answsers. Please find hereafter more information and my notes. Nadine ---------------------- R?achemin? par Nadine Vandois/FR/BULL sur 11/08/2003 10:56 --------------------------- "Dragan Krnic" <dkrnic@lycos.com> sur 10/08/2003 09:47:05 Veuillez r?pondre ? dkrnic@lycos.com Pour : nadine.vandois@bull.net cc : samba@lists.samba.org Objet :
2003 May 13
2
cli_pipe: return critical error. Error was Call returnedzerobyte(EOF),hilfe!
|................. | This would *possibly* map to the files of your | driver like this: | | Long Printer Name:\ --> lp:\ |........................... | missing: should be "RAW" !! ##### | | Yeah, you're right. I've missed the RAW DDT. Now | when I complied I got the error from the subject | line. | | Sorry? I didn't
2003 May 13
5
cli_pipe: return critical error. Error was Call returnedzerobyte(EOF), hilfe!
Hi Kurt, I've read the new document. It's a very fine piece of technical documentation. However, it doesn't help me in the present predicament. Going now by this book I'm only getting more frustrated. What are your versions of Samba, CUPS(?), OS, and Printer again? 2.2.8a, 1.1.18, SuSE 8.2 w/2.4.20-62, Lexmark C720 I'm stuck! I would
2003 May 13
1
cli_pipe: return critical error. Error was Call returnedzero byte (EOF), hilfe!
Hi Kurt, I've read the new document. It's a very fine piece of technical documentation. However, it doesn't help me in the present predicament. Going now by this book I'm only getting more frustrated. I'm stuck! For example adding driver with rcpclient invariably ends in "Segmentation fault" (Signal 11) immediately after pop_sec_ctx, whose push counterpart was
2002 Dec 10
1
SuSE 8.1/Samba 2.2.7 - files disappear in home subdirs
Hi Everybody, first the setup: logon path = \\pmn90\%U\profile logon drive = U: logon home = \\pmn90\%U [homes] valid users = %S read only = No inherit permissions = No security mask = 0777 directory security mask = 0777 browseable = No This setup mounts "/home/user-xy" under letter "U:". People usually
2018 May 26
2
Buffering in R 3.5 connections causes incorrect data in readChar
I noticed an issue where readChar does not return the correct value after a call to readline. It appears that readChar is not aware of the buffering, so it reads from the end of the buffer, rather than the current position in the file. This is a significant change of behavior from R-3.4.4. Below is a test case that I used to home in on the problem. --- p<-"test2.txt"
2006 Nov 07
1
reading VERY large binary files
Hello, I am trying to read in elements out of a very large binary file ... the total file is 4 gigs. I want to select rows out of the file, and the current procedure I run works but is prohibitively slow (takes more than a day to run and still won't complete). Is there any faster way to accomplish this? My current procedure looks like this: readHH <- function(file_name,
2007 Jun 14
1
Clarification for readChar man page
Hi, Here's a patch to the readChar manual page (R-trunk as of today) that better clarifies readChar's return value. It could use some work as I'd also like to add some text about using nchar() to find the length of the string that readchar() returns, but I'm unsure which of type="bytes" or type="chars" to mention. Is it type="chars"? Index:
2024 Jan 26
1
[External] readChar() could read the whole file by default?
On Fri, 26 Jan 2024, Michael Chirico wrote: > I am curious why readLines() has a default (n=-1L) to read the full > file while readChar() has no default for nchars= (i.e., readChar(file) > is an error). Is there a technical reason for this? > > I often[1] see code like paste(readLines(f), collapse="\n") which > would be better served by readChar(), especially given
2024 Jan 29
1
[External] readChar() could read the whole file by default?
My opinion is that the proposed feature would be greatly appreciated by users. I had always wondered if I was the only one doing paste(readLines(f), collapse="\n") all the time. It would be great to have the proposed, more straightforward way to read the whole file as a string: readChar("my_file.txt", -1) or even better readChar("my_file.txt") Thanks for your detailed
2024 Jan 26
1
readChar() could read the whole file by default?
I am curious why readLines() has a default (n=-1L) to read the full file while readChar() has no default for nchars= (i.e., readChar(file) is an error). Is there a technical reason for this? I often[1] see code like paste(readLines(f), collapse="\n") which would be better served by readChar(), especially given issues with the global string cache I've come across[2]. But lacking the
2018 May 29
1
Buffering in R 3.5 connections causes incorrect data in readChar
Tomas, Thank you for the explanation. I see in the documentation: "These functions are intended to be used with binary-mode connections." So I see how using it on a text connection is undefined, and not a bug. An error or warning when attempting to use a it on a text connection would be helpful considering how the behavior has changed in R-3.5. On Tue, May 29, 2018 at 3:09 AM, Tomas
2008 Feb 04
5
WinXP/x64 - MFC CFile objects leak parent directory handles
Samba 3.0.28-0.1.95-1624-SUSE-SL10.3 A strange problem (best read in a proportional font). It only happens on an x64 XP client when accessing a Samba share. The exact same program runs fine on the same x64 XP client when the share accessed is on a Windows server or when it is run on a 32-bit XP client, regardless of whether the share belongs to a Samba server or to a Windows server. I have
2006 Apr 27
1
Error in readChar(): invalid UTF-8 input
I have R code to read a binary header file, consisting of several readBin() and readChar() statements. I am currently using version R-2.2.1 (on x86_64, RH EL4) and have received the following error Error in readChar(fid, n = 1) : invalid UTF-8 input in readChar() This is strange because (a) I was able to read in this file successfully in previous versions of R (circa 2005) and (b) it
2002 Dec 02
5
Issues with Samba
Hi I cannot seem to find any information regarding this in the mailing lists . I am testing a UNIX PDC before I implement it to general use in the network . It works fine It would appear with the win 2000 clients. But I essentially have two problems 1. When I have PGP installed on the machine and log in with a roaming profile . It creates a network associates folder that does not get
2011 Aug 04
1
slightly speeding up readChar()
Hi, I was trying to have R read files faster with readChar(). That was before I noticed that readChar() is not that bad! In any case, below I suggest a few simple changes that will make readChar slightly faster. I followed readChar(useBytes=T), and tried to identify all O(N) operations, where N is the size of the file. The assumption is that for LARGE files we want to avoid any O(N) operations,
2007 Dec 09
1
Problems working with large matrix (using package R.huge)
Hi all, Since I was having several problems trying to work with a large matrix I started to use the package R.huge but I'm having the following problem > x<-FileByteMatrix("covtype.data",nrow=581012,ncol=55) Error: cannot allocate vector of size 770.8 Mb In addition: Warning messages: 1: Reached total allocation of 447Mb: see help(memory.size) in: readChar(con = con, nchar =