search for: flds

Displaying 12 results from an estimated 12 matches for "flds".

Did you mean: fds
2011 Jun 29
1
Ref Classes: bug with using '.self' within initialize methods?
...clarifying comments! Janko ##### CODE EXAMPLE ##### # CLASSES setRefClass( Class="MyVirtual", contains=c("VIRTUAL"), methods=list( initialize=function(...){ callSuper(...) return(.self) }, someInitFoo=function(flds, ...){ someInitFooRefInner( .self=.self, flds=flds ) } ) ) GENERATOR <- setRefClass( Class="MyClass", contains=c("MyVirtual"), fields=list( A="character", B=&q...
2013 Feb 13
1
[LLVMdev] Using MSVC _ftol2 runtime function for fptoui on Win32
Hi Joe & Michael, In rev. 151382 you have changed the fptoui implementation of the x86 codegen for win32. Before the change fptoui was lowered to flds 16(%esp) fisttpll 8(%esp) movl 8(%esp), %eax After the change fptoui is lowered to flds 40(%esp) calll _ftol2 Please note that the assumption that _ftol2 doesn't modify ECX isn't true on sandybridge platform. Could you share with me the reasons behind this change? Di...
2005 Jun 22
10
How to read an excel data into R?
Hi all, Does anybody know the easiest way to import excel data into R? I copied and pasted the excel data into a txt file, and tried read.table, but R reported that Error in read.table("data_support.txt", sep = " ", header = T) : more columns than column names Thanks! Ling
2012 Feb 12
1
readLines vs scan
Folks: Suppose I wish to input a text file with variable length lines and possible whitespace as is and then parse the resulting character vector in R. Each line of text is terminated with "\n" (newline character). Is there any reason to prefer one or the other of: scan (filename, what ="a",sep ="\n") ##or readLines(filename) If it makes a difference, I'm on
2006 Aug 29
1
PATCH: Add fields argument to installed.packages and available.packages
...ion("repos")), method) + function(contriburl = contrib.url(getOption("repos")), method, + fields = NULL) { .checkRversion <- function(x) { if(is.na(xx <- x["Depends"])) return(TRUE) @@ -9,10 +10,14 @@ else TRUE } - flds <- c("Package", "Version", "Priority", "Bundle", - "Depends", "Imports", "Suggests", "Contains") - res <- matrix(as.character(NA), 0, length(flds) + 1) - colnames(res) <- c(flds, "Reposi...
2006 Jul 20
2
DESCRIPTION and PACKAGES files.
...IPTION files in the output from available.packages(), or at least collated in PACKAGES. I have a suggestion to accomplish this which I've hacked up locally and am happy to build a patch if the suggestion is well-recieved. available.packages uses read.dcf on the PACKAGES file, accepting only flds <- c("Package", "Version", "Priority", "Bundle", "Depends", "Imports", "Suggests", "Contains") If we could optionally accept all of the fields which are mentioned in 'Creating R Extensions', someone who w...
2002 Mar 20
1
RMySQL integer range bug (PR#1400)
Full_Name: Matthias Piksa Version: 1.4.1 OS: Redhat 7.1 2.96-85 Submission from: (NULL) (131.220.6.43) There is a bug when retrieving values out of MySQL (3.23.36) which are of type UNSIGNED INTEGER(10). The values can vary between 0 and 2^32 but R only accepts those below 2^31-1. Anything above goes as 2^31-1. thats what one gets: print(quickSQL(con,"select ip_dst from iphdr where
2011 Apr 14
2
[LLVMdev] [x86 codegen] 3DNow! intrinsics not behaving as expected.
...ebp movl %esp, %ebp subl $56, %esp movl $1077936128, -12(%ebp) # imm = 0x40400000 movl $1065353216, -16(%ebp) # imm = 0x3F800000 movl $1080033280, -4(%ebp) # imm = 0x40600000 movl $1092616192, -8(%ebp) # imm = 0x41200000 movq -16(%ebp), %mm0 pfadd -8(%ebp), %mm0 movq %mm0, -24(%ebp) flds -20(%ebp) fstpl 12(%esp) flds -24(%ebp) fstpl 4(%esp) movl $.L.str, (%esp) calll printf xorl %eax, %eax addl $56, %esp popl %ebp ret .Ltmp0: .size main, .Ltmp0-main .type .L.str, at object # @.str .section .rodata.str1.1,"aMS", at progbits,1 .L.str: .asciz "%f...
2004 Aug 06
2
preprocessor performance (was Re: Memory leak in denoiser + a few questions)
Jean-Marc Valin wrote: >If you set the denoiser to "on" and the VAD to "off", what difference >does it make in CPU time? > <p>Same program, running on Athlon XP 1700+: Test 1, using VAD, but AGC, denoise off: tevek@canarsie:~/work/hms/app_conference $ time ./vad_test /tmp/demo-instruct.sw 5 reading from /tmp/demo-instruct.sw, repeating 5 times read 537760
2005 Dec 09
1
local source packages install from within R session - cross-platform
...env("R_LIBS")) Error in gzfile(file, "r") : unable to open connection In addition: Warning message: cannot open compressed file '/Users/ken/Desktop/hs95av2hs3ug6cdf_6.0.0.tar.gz/PACKAGES' >traceback() 5: gzfile(file, "r") 4: read.dcf(file = tmpf, fields = flds) 3: available.packages(contriburl = contriburl, method = method) 2: .install.macbinary(pkgs = pkgs, lib = lib, contriburl = contriburl, method = method, available = available, destdir = destdir, installWithVers = installWithVers, dependencies = dependencies) 1: install.packages("...
2008 Nov 19
1
RMySQL 0.6-1 Package Install Fails in R 2.5.1 (pclinuxos)
...char *RS_DBI_getTypeName(Sint typeCode, const struct data_types table[]); /* same, but callable from S/R and vectorized */ s_object *RS_DBI_SclassNames(s_object *types); s_object *RS_DBI_createNamedList(char **names, Stype *types, Sint *lengths, Sint n); s_object *RS_DBI_copyFields(RS_DBI_fields *flds); void RS_na_set(void *ptr, Stype type); int RS_is_na(void *ptr, Stype type); extern const struct data_types RS_dataTypeTable[]; int isalpha(int c); <-------------------------------------LINE 263 #ifdef __cplusplus } *_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*...
2006 Apr 13
3
[LLVMdev] Re: Creating Release 1.7 Branch at 1:00pm PDT
Here's what's left on Linux (GCC 4.1.0), after all updates that went into the branch: Running /proj/llvm/build/../llvm/test/Regression/CFrontend/dg.exp ... FAIL: /proj/llvm/build/../llvm/test/Regression/CFrontend/2004-02-12- LargeAggregateCopy.c.tr: gccas: /proj/llvm/build/../llvm/lib/VMCore/Function.cpp:266: unsigned int llvm::Function::getIntrinsicID() const: Assertion `0 &&