search for: fread

Displaying 20 results from an estimated 430 matches for "fread".

Did you mean: read
2008 Jul 17
2
Quantasm
Ok so this game was quite fun on Windows, but obviously I want to waste time at work too [Wink] http://appdb.winehq.org/objectManager.php?sClass=application&iId=7840 What seems to be happening is that its call to msvcrt.fread() gets caught in a loop reading the data file "QUANT0.DAT" Code: 0009:Call KERNEL32.CreateFileA(00a632b0 "C:\\QUANTASM\\QUANT0.DAT",80000000,00000001,00000000,00000003,00000000,00000000) ret=00647e7c 0009:Ret KERNEL32.CreateFileA() retval=00000010 ret=00647e7c 0009:Call KERNE...
2006 Feb 07
1
Problems with fread
Hi, I have a port here of device-mapper to use klibc (still trying to get it upstream, but oh well). It used to work fine, but with latish klibc's I seem to have issues with fread(). Same code with glibc works just fine, but with klibc fread only seems to read the first two lines when it tries to get the major device number for misc and device-mapper from /proc/devices - then it keeps returning 0. Anybody have seen similar issues, or know of related changes to fread() that...
2015 Sep 29
2
sobre fread {data.table}
Hola, usaba fread porque me devuelve data.table que es lo que quiero usar El 29 de septiembre de 2015, 17:05, Carlos Ortega <cof en qualityexcellence.es> escribió: > No sé porqué piensas que "fread" va poder leer cualquier cosa... > > Ya que lo tienes en Word, prueba con esto: > https:/...
2004 Aug 06
1
decode in ppc 2003
Hi, My problem is at the second fread function, fread(&nbBytes, sizeof(int), 1, fin); //the first fread fread(cbits,1, nbBytes, fin);// the second fread. When I'm debugging always nbytes is greater than cbits. This give me a execution error. Thanks. Rodrigo. <p><p><p>-----Mensaje original----- De: owner-sp...
2005 Mar 12
1
popen() fread() system()
...(). The binaries work correct (tested at the command line with the proper arguments) The popen() retrieves the correct command (I''ve echo''d it) popen() returns true The pointer set by popen() is a valid resource. Yet, nothing happens; the binaries should always return output, put fread() doesn''t get anything. The only thing I can think of is a difference in the PHP version and/or configuration." They also complain that system() calls running from a cronjob don''t execute. I''m not much of a programmer, have no idea what this guy means. The only po...
2008 Feb 08
2
Quick bug in speexenc
Good day, a quick bug while encoding speexes in speexenc. While reading a .wav in function read_samples, size can get to negative values, as long as fread is able to go forward with reading the file. This can happen with Protools-generated wavs, where they put additional information after the "data" fourcc. I created a very quick hack by adding: int tentative_read = bits/8*channels* frame_size; if (*size < 0) {...
2017 Oct 06
2
Importando mal los datos
Buenas chicos, Estoy intentando importar el csv que adjunto y que tiene la siguietne forma: "a";"b" 11092740;0 8978056137;0 Usando la funcion fread. Necesito usar la función fread por velocidad (lo que envio es un ejemplo simplificado pero que replica el error). El problema es que al importar los datos, usando: datos<-fread(datos.csv,sep=";") el campo a no lo importa correctamente, importandome lo siguiente: a b...
2004 Aug 06
2
decode in ppc 2003
...&tmp); outFile = outfile; fout = fopen(outFile, "w"); inFile = infile; fin = fopen(inFile,"r"); speex_bits_init(&bits); while (1) { fread(&nbBytes, sizeof(int), 1, fin); fprintf (stderr, "nbBytes: %d\n", nbBytes); if (feof(fin)) break; /*Read the "packet" encoded by sampleenc*/ fread(cb...
2006 Mar 14
1
sort of fread to read from a file at fixed positions?
...d electroencephalogram signals) that has fixed byte positions for each field of its header. These fields have no separator between them, for example: <8 ascii name of the patient><10ascii start time of the recording><4 ascii ... > etc. I read that perfectly in Octave by using fread, fseek and other C-derived file access methods, but i dont see such a method being avalaible in R? I read the scan help page but it doesn't seem to be able to read x chars then from that position read another y chars then jump at position 80 and read z chars etc. Thanks in advance, Gael d...
2013 Dec 01
0
[PATCH v2 4/4] efi: PE file size differ from in-memory size
...if (stat(argv[1], &st) != 0) { - perror("stat"); - exit(EXIT_FAILURE); - } - f_out = fopen(argv[2], "w"); if (!f_out) { perror("fopen"); @@ -198,15 +192,14 @@ int main(int argc, char **argv) /* * Parse the ELF header and find the entry point. */ - fread((void *)&e32_hdr, sizeof(e32_hdr), 1, f_in); + fread((void *)&e32_hdr, sizeof(e32_hdr), 1, f_in); if (e32_hdr.e_ident[EI_CLASS] == ELFCLASS32) { id = e32_hdr.e_ident; class = ELFCLASS32; entry = e32_hdr.e_entry; - shoff = e32_hdr.e_shoff; - shnum = e32_hdr.e_shnum; - shstrndx...
2005 Oct 17
6
Error Executing sampledec in VC++
...d code: decstate = speex_decoder_init (&speex_nb_mode); // Set default options for decoding: temp = 1; speex_decoder_ctl(decstate, SPEEX_SET_ENH, &temp); // Initialize spxbits (structure SpeexBits) speex_bits_init (&spxbits); while (!(feof(fo))) // this is where the problem starts { fread (&nbBytes, sizeof(int), 1, fo); fread (cbits, 1, nbBytes, fo); cout << "1"; // just to see whether the loop iterates speex_bits_read_from (&spxbits, cbits, nbBytes); speex_decode (decstate, &spxbits, pcm); // Copy 1 frame from float pcm to short spx for (n=0; n<FR...
2013 Nov 27
0
[PATCH 4/4] efi: PE file size differ from in-memory size
...if (stat(argv[1], &st) != 0) { - perror("stat"); - exit(EXIT_FAILURE); - } - f_out = fopen(argv[2], "w"); if (!f_out) { perror("fopen"); @@ -194,15 +188,14 @@ int main(int argc, char **argv) /* * Parse the ELF header and find the entry point. */ - fread((void *)&e32_hdr, sizeof(e32_hdr), 1, f_in); + fread((void *)&e32_hdr, sizeof(e32_hdr), 1, f_in); if (e32_hdr.e_ident[EI_CLASS] == ELFCLASS32) { id = e32_hdr.e_ident; class = ELFCLASS32; entry = e32_hdr.e_entry; - shoff = e32_hdr.e_shoff; - shnum = e32_hdr.e_shnum; - shstrndx...
2017 Oct 06
2
Importando mal los datos
...de 2017, 14:43, Jesús Para Fernández <j.para.fernandez en hotmail.com<mailto:j.para.fernandez en hotmail.com>> escribió: Buenas chicos, Estoy intentando importar el csv que adjunto y que tiene la siguietne forma: "a";"b" 11092740;0 8978056137;0 Usando la funcion fread. Necesito usar la función fread por velocidad (lo que envio es un ejemplo simplificado pero que replica el error). El problema es que al importar los datos, usando: datos<-fread(datos.csv,sep=";") el campo a no lo importa correctamente, importandome lo siguiente: a b...
2015 Sep 29
4
sobre fread {data.table}
Buenas tardes, intento almacenar el contenido de un archivo .docx en un data.table, pero solo me devuelve 1855 filas cuando deberñian ser 6821. Sin embargo, el mismo archivo se me descarga completo usando read_docx {qdapTools}, pero este devuelve un vector carácter y no es lo que quiero. ¿Alguien sabe donde puede estar el problema? Nota: El docx procede de un archivo .rel que descargué de
2019 Jul 17
2
Help to understand LoadValueFromMemory
Hi all, I'm trying to print to screen the value read by the fread function. I'm at the point where source refers to the GetElementPtrInst ( pointer to the buffer where fread stored the data - %5 in my case ) and the fread() has been already called. I thought the correct approach to achieve what I need was: ExecutionContext& SF = ECStack.back(); Gener...
2017 Oct 06
3
Importando mal los datos
...de 2017, 14:43, Jesús Para Fernández <j.para.fernandez en hotmail.com<mailto:j.para.fernandez en hotmail.com>> escribió: Buenas chicos, Estoy intentando importar el csv que adjunto y que tiene la siguietne forma: "a";"b" 11092740;0 8978056137;0 Usando la funcion fread. Necesito usar la función fread por velocidad (lo que envio es un ejemplo simplificado pero que replica el error). El problema es que al importar los datos, usando: datos<-fread(datos.csv,sep=";") el campo a no lo importa correctamente, importandome lo siguiente: a b...
2015 Oct 01
4
sobre fread {data.table}
Hola de nuevo, parece que la última versión del paquete data.table es 1.9.6 La he probado y parece que no funciona bien, me da error: Error in fread("C:/Users/iphealthMariluz/Documents/Proyecto iphealt/ProcesamientoTexto/Adverse Drug Event/ADE-Corpus/DRUG-AE_eliminoLinea1856.rel") : 4 arguments passed to .Internal(nchar) which requires 3 El 30 de septiembre de 2015, 13:38, MªLuz Morales <mlzmrls en gmail.com> escribió: &...
2015 Sep 30
2
sobre fread {data.table}
Si en la línea 1856 de tus datos reemplazas |"cotton-wool" spots| por |cotton-wool spots| funciona (y fread lee todas las línas). Suena a bug en el paquete (porque las comillas que no son vecinas de separador las gestiona correctamente). Igual quieres comentarle al autor del paquete el problema para que le eche un ojo. De todos modos, te recomendaría que comprobases el problema también en la versión de...
2015 Sep 30
2
sobre fread {data.table}
...a en una carpeta comprimida .zip, yo la descomprimo con win rar. Como no sea ese el motivo por el que no me da el fichero completo? El 30 de septiembre de 2015, 10:30, MªLuz Morales <mlzmrls en gmail.com> escribió: > Pues soy gafe entonces, > no lo entiendo: > > > datIn <- fread("C:\\Users\\iphealthMariluz\\Documents\\Proyecto iphealt\\ProcesamientoTexto\\Adverse Drug Event\\ADE-Corpus\\DRUG-AE.rel")> dim(datIn)[1] 1855 8 > > > El 29 de septiembre de 2015, 18:54, Carlos Ortega < > cof en qualityexcellence.es> escribió: > >> Y con...
2017 Dec 06
3
STATA base de datos
...rmato Stata, (dta), he probado a leerla con el paquete foreign, y el comando read.dta, pero como tiene 28 variables y casi medio millon de individuos, cuando pruebo a hacer graficas o algo, me sale problema de memoria. Entonces, una solucion es intentar pasar de STATA a CSV y luego usar el comando fread, y finalmente cargar los datos como RData. SIn embargo he intentado setwd("C:/Users/and0096/Desktop/TREXIMA") library ('foreign') write.table(read.dta(file.choose('private98-06more_than9.dta')), file="output.csv", quote = FALSE, sep = ",") Pero de...