search for: nresults

Displaying 9 results from an estimated 9 matches for "nresults".

Did you mean: results
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) pytho...
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!
hello, sorry, but the problem stays! if i want to copy a file with 4 mb from a w2k-ws to my samba pdc it takes near 25 seconds. if i copy the file from the server to the ws it takes only 2 seconds! another test was to mount a win_me-share with smbmount on the server: the copy also takes 2 second (in both directions). via ftp i can copy the file from the client to the server in 0,59 seconds (!!!)
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
Hi Óscar, Thank you for your prompt reply. Unfortunately, I still need more guidance as using the Demo page to generate C++ code didn't result in a global variable being used. Basically, I'm following your advice to use a LoadInst: Value *v = new LoadInst(result, "", theBasicBlock); Function *myfn = cast<Function>(v); I was not sure how I could get a BasicBlock for the
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...