search for: zsurzsalaszlo

Displaying 2 results from an estimated 2 matches for "zsurzsalaszlo".

2013 Aug 27
1
R Language Newbie
Hi, set.seed(29) myVector<- rnorm(100) ?seq(1,100,by=2) # [1]? 1? 3? 5? 7? 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 #[26] 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93 95 97 99 myVector[seq(1,100,by=2)] rev(myVector) ?sum(myVector>0) #[1] 46 #or ?table(myVector>0) # #FALSE? TRUE ?#? 54??? 46 A.K. Hey guys, this is my first week
2013 Jul 12
1
readLines() problem-error
Hello everyone, I have my program like this: while (length(oneLine <- readLines(con, n = 1, warn = FALSE)) > 0) { # here I process the line I read } The problem is it gives me different output every time. I get a problem/ error like: "Closing unused connection (con)". Sadly I can't provide the file because it's ,ore then a GB. Thank you in advance,