Displaying 9 results from an estimated 9 matches for "nresult".
Did you mean:
result
2011 Dec 11
3
how to assign a value?
Hi there,
I hope to modify values in a vector or matrix in the following code:
for (i in 1:9) {
assign(paste("a.", i, sep = ""), 1:i)
get(paste("a.", i, sep = ""))[i] <- i+50
}
I get the following error message:
Error in get(paste("a.", i, sep = ""))[i] <- i + 50 :
target of assignment expands to non-language object
2009 Mar 08
0
[RFC] running octave, python from within R
...google images :-)
It is one file that will interface shogun to octave,r,python,matlab. It
provides commands to run code in foreign languages:
Example:
library(elwms)
A=matrix(c(1.0,2,3, 4,5,6), nrow = 2, ncol=3)
B=matrix(c(1.0,1,1, 0,0,0), nrow = 2, ncol=3)
pythoncode=sprintf('import numpy\nresults=tuple([A+B])');
elwms('run_python', 'pythoncode', 'print "hi"')
C=elwms('run_python', 'A',A, 'B',B, 'pythoncode', pythoncode)
D=elwms('run_python', 'A',A+1, 'B',B*2, 'pythoncode', pythoncode)
pyth...
2011 Sep 24
1
Can't reliably use RefClass methods in Snowfall
...NOT WORKING
# (not working by itself, but does work if the previous stanza is run
first!!)
sfInit(parallel=TRUE, cpus=2, type="SOCK")
sfExport("calculator")
sfExport("my_calc")
sfExport("wrapper")
last_results <- sfLapply(1:10,wrapper)
sfStop()
cat("\nRESULTS FROM SECOND TRY:\n")
print(last_results)
2002 Jul 19
1
once again: horrible speed!
...admin dn = uid=root,dc=testdit,dc=at
ldap filter = (&(objectClass=sambaAccount)(uid=%u))
ldap ssl = no
#### Passwortabgleich mit Unix
unix password sync = yes
log level = 101
passwd chat debug = yes
passwd chat = "New*password:* %n\n \nRe*enter*new*password:* %n\n
\nResult:*Success*(0)\n* %n\n "
passwd program = /usr/local/bin/ldappwdsmb %u
#### Logon Einstellungen
logon drive = H:
logon home = \\10.61.1.1\homes
logon script = %G.cmd
#### Automatisches erstellen des WS-Account beim DomainInclude
add user script = /var/configfiles/CreateLDAP...
2011 Dec 16
2
R package BibTex entries: looking for a more general solution
...put, append=TRUE)
## write everything to a single .bib file
writeLines(do.call("c", lapply(bibs, as.character)), con=output)
close(output)
if(verbose) cat("Converted", n.converted, "of", n.installed,
"package citations to BibTeX",
"\nResults written to file", filename, "\n")
## return Bibtex items invisibly
invisible(bibs)
}
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Street Web: http:/...
2012 Sep 19
0
[LLVMdev] newbie question on getelementptr
...Args[0].IntVal = APInt(32, 5);
Args[1].IntVal = APInt(32, 10);
outs() << "\ntype of myfn:";
myfn->getType()->dump();
GenericValue GV = EE->runFunction(func_add, Args);
outs() << "\nResult: " << GV.IntVal << "\n";
}
}
return 0;
}
However, if I replace the retrieved function ponter
GenericValue GV = EE->runFunction(myfn, Args);
with the original function pointer
GenericValue GV = EE->runFunction(func_a...
2012 Sep 19
3
[LLVMdev] newbie question on getelementptr
Hi All,
I'm new to LLVM and I'm having a coding problem.
I'm creating a GlobalVariable that contains a StructType that contains a
Function. The function returns i32 and takes two i32's.
Here is my code:
GlobalVariable* retrieved = module->getGlobalVariable("myGV");
...
Constant* result = ConstantExpr::getGetElementPtr(retrieved, indices);
How do I get my Function
2002 Jun 22
3
Samba PDC + Winbind
Hello all.
First, a little background...
I recently downloaded samba-*-ldap-2.2.5-2mdk , installed on Mandrake
8.2 and got everything working fine.
I have LDAP installed for "single sign-on" support. I can use LDAP to
authenticate other Linux boxes, and have Samba as a PDC for some Win2000
boxes - all working fine. Linux users are the same as PDC users, except
for their passwords
2009 Dec 29
0
aMSN segfaults at login after configuring my home network
...= "gaih_inet"
#6 0xb7a80bf5 in *__GI_getaddrinfo (name=0xbfffd654 "messenger.hotmail.com",
service=0x0, hints=0xbfffd624, pai=0xbfffd644)
at ../sysdeps/posix/getaddrinfo.c:2162
i = <value optimized out>
last_i = <value optimized out>
nresults = <value optimized out>
p = 0x0
gaih_service = {name = 0x10d13c <Address 0x10d13c out of bounds>,
num = -1210556416}
pservice = 0x0
local_hints = {ai_flags = -1073752584, ai_family = -1210155995,
ai_socktype = -1073752504, ai_protocol...