Displaying 4 results from an estimated 4 matches for "str0".
Did you mean:
str
2011 Mar 10
1
about textConnection
I need read a table in a string with special format. I used read.csv and textConnection function.
But i am confuse about textConnection by follow code.
case A: It is OK£¡
str0 <- '{"abc",{"def","X,1&Y,2&Z,3"}}'
str1 <- strsplit(str0,'"')[[1]][6]
str2 <- gsub("&","\n", str1)
con <- textConnection( str2 )
read.csv(con,header=F)
close(con)
case B: It is NOK!
con <...
2008 Jul 16
1
R-source code of a function
Hi,
I know that if i want to see the SPLUS or R-source code of a function,i should give the command
without the brackets.For example:
rsquared.lmRobMM
function(x)
{
str0 <- "Initial S-estimate"
str1 <- "Final M-estimate"
if(x$est == "final") {
z <- x$r.squared
attr(z, "info") <- str1
}
if(x$est == "initial") {
z <- x$r.squared
attr(z, "info") <- str0
}
oldClass(z) <- &quo...
2012 Jul 27
2
[LLVMdev] llvm dwarf debug info for locals with llvm.dbg.define
...er
them to get emitted at all. maybe someone can adjust
http://llvm.org/docs/SourceLevelDebugging.html#format_common_declare
that the two llvm.dbg. functions need a !dbg line info associated with them?
Code i used that does not work (but does if !dbg !14 is added):
; ModuleID = 'meh'
@.str0 = linker_private constant [7 x i8] c"heh %b\00", align 1
@"\01L_OBJC_IMAGE_INFO" = internal constant [2 x i32] [i32 0, i32 16],
section "__DATA, __objc_imageinfo, regular, no_dead_strip"
@llvm.used = appending global [1 x i8*] [i8* bitcast ([2 x i32]*
@"\01L_OBJ...
2008 Jan 12
1
[LLVMdev] Labels
...hunkpos11 = load i32* @yythunkpos
%tmp52 = call i32 @yymatchChar(i8 102)
%tmp53 = icmp ne i32 %tmp102, 0
br i1 %tmp53, label %StringNotEqualZero13, label %StringEqualZero13
StringNotEqualZero13:
br label %l12
StringEqualZero13:
call i32 @yyText(i32 %yybegin, i32 %yyend)
%tmp54 = ptrtoint i8* @str0 to i32
%tmp55 = icmp eq i32 %tmp0, 0
br i1 %tmp55, label %PredicateEqualZero0, label %PredicateNotEqualZero0
PredicateEqualZero0:
br label %l12
PredicateNotEqualZero0:
%tmp56 = call i32 @yymatchChar(i8 105)
%tmp57 = icmp ne i32 %tmp105, 0
br i1 %tmp57, label %StringNotEqualZero14, label %Stri...