search for: sthg

Displaying 15 results from an estimated 15 matches for "sthg".

Did you mean: sth
2005 Sep 15
1
how to do sthg like "mat[!=(ind),]"
Hi I want to do something which seems straightforward, but I couldn't find the way to do this. I have a matrix called m for example, and a vector of values (let's call ind this vector) which are indices of lines I don't want to keep. for example I have: > m v1 v2 v3 [1,] 1 4 7 [2,] 2 5 8 [3,] 3 6 9 [4,] 10 11 12 > ind [1] 2 4 I would like to obtain this: > m2 v1 v2
2012 Aug 27
7
Deduplication data for CentOS?
...or deduplication of data for centos? We are trying to find a solution for our backup server which runs a bash script invoking xdelta(3). But having this functionality in fs is much more friendly... We have looked into lessfs, sdfs and ddar. Are these filesystems ready to use (on centos)? ddar is sthg different, I know. Thx Rainer
2010 May 21
3
New Linux/Wine User Needs Help!
Hello, I am running Wine with Ubuntu 10.04 on a Toshiba Laptop. I installed Wine using the Ubuntu Software Center and am using 1.1.42. I have 'installed' Adobe Reader, Firefox, IE 8 and Business Plan Pro from Palo Alto Software. Firefox will start and run, IE 8 will not fully execute, Adobe Reader gives an error for Wine C++ Runtime error and Biz Plan Pro gives an Active X error 429.
2011 Sep 13
6
Install and run Wine purely in/from the home folder
Hello folks. I have a little question for you. First to the background. I have a windows program (command line based) that is able to run just fine in the wine environment. Now I want to run it on our linux HPC server (no multi-threading and so on is needed). There is no wine installed by default, and as I'm no admin I can't install it there. So is it possible to make wine run purely
2009 Nov 08
2
Counting non-empty levels of a factor
...1 , B2 1 , B3 2 , B1 2 , B3 3 , B2 3 , B3 3 , B4 I would like to know how many brands are present in each store, I tried: result <- aggregate(MyData$brand , by=list(MyData$store) , nlevels) but I got: Group.1 x 1 , 4 2 , 4 3 , 4 which is not exactly the result I expected I would like to get sthg like: Group.1 x 1 , 3 2 , 2 3 , 3 Looking around, I found I can delete empty levels of factor using: problem.factor <- problem.factor[,drop=TRUE] But this solution isn't handy for me as I have many stores and should make a subset of my data for each store before dropping empty factor I can...
2007 Jan 27
1
Conditional Selection of Columns for Tables
...1 10 110 J moe 322 2 where status means: 3=no deal, 2=pending, 1=good job. now, we want the total revenue per sales representative per status in a table. sum( subset(df, name=="eenie", select=revenue) ) gives the total of eenie without status, but I would like to have sthg like: status 1 name revenue eenie 1000 meenie 2000... status 2 name revenue eenie 100 meenie 200... Are these flat contingency tables? How can I get the results without much hazzle in one list/ table? i did read the ?ftable and what I was able to derive so far is: flat.df <- ftable(df...
2006 Jan 07
1
Clustering and Rand Index
...means, but I do not get the same partitions I need to validate. I am sure the following algorithm needs improvement, especially the use of putting matrices into a list through a for loop (ouch) - I am very grateful for your comments of improving this terrible piece of R-work (is it easier to do sthg with apply?). Thank you very much for your help and support Mark mat <- matrix( c(6,7,8,2,3,4,12,14,14, 14,15,13,3,1,2,3,4,2, 15,3,10,5,11,7,13,6,1, 15,4,10,6,12,8,12,7,1), ncol=9, byrow=T ) rownames(mat) <- paste("v", 1:4, sep="" ) clus.mat <- vector(mode="lis...
1999 Nov 27
1
portfolio.optim.default, Packages tseries quadprog (PR#348)
...example in the documentation of portfolio.optim crashed.) Simply reinstalling R 0.65.0 fixed the problem! Now the example works. I suppose there is a problem with the code of the solve.QP function of the package quadprog. Perhaps it uses internal R functions whose argument lists have changed or sthg. like this, I don't know. Below you find some output. Output for R 0.90.0 (OS: SuSe Linux 6.1): ----------------------------------------- R : Copyright 1999, The R Development Core Team Version 0.90.0 (November 22, 1999) R is free software and comes with ABSOLUTELY NO WARRANTY. You are we...
2010 Dec 16
3
Icecast Logs Timestamp in UTC
Hello, I'm having a major problem with the timestamps in both the Icecast access.log and error.log. The timestamp on the logfiles themselves is accurate, but the logging of the various connections to my streams is in UTC. No matter how I try to configure the hwclock or the system clock, the log timestamp is always UTC, which is 8 hours ahead of my current time zone. I've even tried
2006 Jul 07
2
Multistage Sampling
...i3.cal <- calibrate(dmulti3, ~1, pop=1725) svymean (~y, dmulti3.cal) mean SE y 45.796 5.5483 svytotal(~y, dmulti3.cal) total SE y 78999 9570.7 , which indeed gives me the computed svymean SE, but alas, I still don't know why my variance is so different. I think it might have sthg to do with a differently computed N and the fact that your estimator formula is a different one. Since I calculated the Taylor Series solution, i suppose there must be another approach? The calibration help page tells me to enter a list of population total vectors for each cluster, which would...
2010 Dec 16
0
Icecast Logs Timestamp in UTC
...ld be. You're lucky we had this problem once come up on IRC. What you describe is all well and fine, but you actually need to adjust the environment variables for the icecast process. For some reason those you set globally got ignored, maybe some override in the init script that sets TZ=UTC or sthg like that? If that's not it I can dig out the IRC logs during the weekend. ;) Cheers Thomas
2010 Dec 16
1
Icecast Logs Timestamp in UTC
...t; You're lucky we had this problem once come up on IRC. > What you describe is all well and fine, but you actually need to adjust the environment variables for the icecast process. For some reason those you set globally got ignored, maybe some override in the init script that sets TZ=UTC or sthg like that? > > If that's not it I can dig out the IRC logs during the weekend. ;) > > Cheers > > Thomas > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast >
2006 Jul 11
0
Two Phase Sampling
...08=0.12 defect boards, since the RATIO ESTIMATOR equals 15/10=1.5 defect parts for the ratio of defect ph2/defect ph1. What again did I do wrong? I am positive that the estimator is 12 defective parts per 100 average, so how do I correctly construct the twophase design? ps: I hope this is not sthg. undergraduates master eloquently... Thank you so much for your help. I invite you to all the BBQ and beer there is in Europe! Yours always mark
2002 Jun 13
2
pam_mount and winbind
...BONE+slautier smb dedale sharedir /mnt/smb/dedale/sharedir - ... ----------------------------------------------------------------------- But when I log into the machine as VALBONE+slautier, the expected \\DEDALE\SHAREDIR volume is not mounted. I didn't find any error in the log files. Is there sthg wrong in my pam.d/login file ? Should pam_mount module line be located somewhere else ? I'm not a PAM expert but I've got the feeling that the pam_mount module is not in the right place. Elvis Pf?tzenreuter, the author of pam_mount, told me that he hasn't tested it yet as he's too...
2010 Jun 18
9
Bad COmpany 2 + Wine
So just installed Ubuntu Desktop 10.4 . And I tried to install bad company 2 , it instaleld fine , It opens the update loading page, and after that ti fails and gives me an error about wine. I can't uninstall it now either How can I either make it work or uninstall it? Also: In Company of Heroes ( which worked from my old steam install ) it seems a lil laggy and the screen is chopy. any way