search for: therefor

Displaying 20 results from an estimated 16467 matches for "therefor".

Did you mean: therefore
2012 Jun 14
3
Lowest number in a numeric string
Hi all, I've got a very long numeric string. I want to find the lowest number that isn't in that string. E.G String = 123456 Therefore 7 is the lowest number not in that string E.G.2 String = 1234567891011 Therefore 13 is the lowest number not in that string. Any thoughts? p.s. I'm an R noob. -- View this message in context: http://r.789695.n4.nabble.com/Lowest-number-in-a-numeric-string-tp4633340.html Sent from the R hel...
1998 Nov 23
6
Small linux print server
...s a bit off topic, however it's related to a samba based network... I've got a small network (10 users) running samba on a Linux box with a HP network printer. This is working so well, that the only network problems that I have are with printers other printers "shared" by Win 95. Therefore: I was planning to turn an old 486 with an 80M HDD into a print server, however the minimum redhat installation is 86MB!! Does anyone know of a small distribution to achieve this? The printer would be accessed via the main samba server, therefore it needs just enough to emulate an ethernet to par...
2012 Dec 12
2
long margin text below lattice plot - how to wrap lines?
...ow the bottom legend). This seems to work in principle using grid.arrange, yet the text to be added is rather long. As a consequence, it gets clipped: require(lattice) require(grid) myplot <- xyplot(1~1) mytext <- textGrob("This is such a very very long text that it goes on forever and therefore needs to be wrapped in order for someone to be able to read it properly.") grid.arrange(myplot, sub=mytext) Is there any way to wrap the lines of the text or some other of workaround to this problem? I've tried figuring it out myself, but it's a rather urgent problem and therefore I...
2009 May 21
4
Product of 1 - probabilities
...ies. To calculate the final probability of an event p(F), we can take the product of the chance that each independent event that makes p(F) will NOT occur. So... p(F) = 1- ( (1-p(A)) * (1-p(B)) * (1-p(C))...(1-p(x)) ) If the chance of an event within the product occurring remains the same, we can therefore raise this probability to a power of the number of times that event occurs. e.g. rolling a dice p(A) = 1/6 of getting a 1... p(F) = 1 - (1- (1/6))^z p(F) = 1 - (1-p(A))^z tells us the probabiltity of rolling a 1 'at least once' in z number of rolls. So then to R... if p(A) = 0.01; z = 4...
2016 Apr 14
2
Error messages when start first time R: "You're using a non-UTF8 locale, therefore only ASCII characters will work."
...2: Setting LC_COLLATE failed, using "C" 3: Setting LC_TIME failed, using "C" 4: Setting LC_MESSAGES failed, using "C" 5: Setting LC_MONETARY failed, using "C" [R.app GUI 1.67 (7152) x86_64-apple-darwin13.4.0] WARNING: You're using a non-UTF8 locale, therefore only ASCII characters will work. Please read R for Mac OS X FAQ (see Help) section 9 and adjust your system preferences accordingly. Section 9 is just Acknowledgements so I cant find the help the software refer to. Please, can anyone help me with this? It seems important to get this fixed befor...
2010 Mar 30
2
Need help to split a given matrix is a "sequential" way
...,2] [,3] [1,] 200 100 80 [2,] 100 180 80 [3,] 200 150 180 [4,] 200 50 140 [5,] 100 150 60 [6,] 100 50 60 [7,] 100 100 100 [8,] 200 150 100 [9,] 100 50 120 [10,] 200 50 180 Now I need to split above matrix according to unique numbers in the 2nd column. Therefore I have following : > dat1 <- dat[which(dat[,1] == unique(dat[,1])[1]),] > dat2 <- dat[-which(dat[,1] == unique(dat[,1])[1]),]; dat1; dat2 [,1] [,2] [,3] [1,] 200 100 80 [2,] 200 150 180 [3,] 200 50 140 [4,] 200 150 100 [5,] 200 50 180 [,1] [,2] [,3] [1,] 1...
2019 May 02
2
RFC: On removing magic numbers assuming 8-bit bytes
...--- > From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of JF > Bastien via llvm-dev > > I’m not a fan of C and C++ supporting anything but 8 bits per byte. > Realistically, C and C++ on such targets are different languages from 8- > bit-per-byte C and C++, and therefore code isn’t portable from one to the > other. Having done it, I promise you that it's reasonable to write portable C targeting both 7-bit and 8-bit 'char'. It was too long ago to remember anything in detail, but the brain cells still remaining from that era believe it was pretty cl...
2010 Dec 26
1
A question on Statistics
I am not a pure Statistics background and therefore please forgive me if this question (which is not R related either) is too trivial. In many Statistics literature I find following statement: "restrictions in different coefficients matrices have to be imposed to ensure uniqueness of the parametrization". Can somebody tell me what is the...
2010 Jul 04
2
using objects from different workspaces
Hi all, I have the following problem: I need to run a large number of simulations, therefore I use many computers. After the computations I need to make some operations with the obtained results (such as weighted average, sum, etc.). My question is, how is it possible to combine the output of several R sessions? My objects are quite complex (multi-dimensional arrays), therefore export t...
2005 Nov 15
2
y-axis in histograms
Dear R- list, I have some data to present with histograms. Therefore I used hist(...). I have few values with almost 80% of the frequencies (totaly 800) and some other values with low frequencies ( totaly 5 -10 ) that I want to emphasize. Therefore I want to "cut" the y-axis on 100, but I don't know how to deal with this. Thanks in advance, Micha...
2016 Apr 25
2
Second invite after 100ms (with default t1min=100) --> canceled call problem!
Hello! I encounter the following problem (asterisk 11 and 13) with Teconisy as trunk provider with enabled qualify and default t1min (100ms): Teconisy most often doesn't answer the first invite before asterisk default t1min ended. Therefore asterisk sends one more invite. This second invite is answered by Teconisy with status 486 - Request terminated - Channel limit exceeded. (The second invite obviously is interpreted as second, new call). Asterisk therefore cancels the first(!!) call - but Teconisy proceeds with exactly this fir...
2016 Jul 05
4
how to build/install pulseaudio 6.0 on centos 6.8
...audio? is there some rpm of pulseaudio 6.0 for centos >> 6.8? > > From your recent previous posts, you appear to want to have a CentOS 7 >environment on a CentOS 6 platform > >Is there any reason you can't just use CentOS 7 ? some applications are still run on centos 6.8. Therefore, centos 6.8 is preferred. At 2016-07-05 18:32:25, "James Pearson" <james-p at moving-picture.com> wrote: >qw wrote: >> >> Centos 6.8 comes with pulseaudio 0.9, but I want to use pulseaudio >> 6.0 or higher version, which is used on centso 7. How to >&...
2015 Sep 08
2
mtime vs ctime
Hi, We use an rsync (rrsync, to be precise) based back-up solution. Every so often an iSCSI based file-system gets brought up and left connected for the night. After a mount event rsync will back that volume up, including server TB of data that haven't been modified, but the ctime is newer than the mtime. Is there a way to stop this behaviour? Cheers, Andrej
2005 Oct 21
2
Commercial license?
Hi there Is there a commercial license for using Rsync or the Rsync algorithm within a commercial product? I appreciate that Rsync as it stands is GNU and therefore it cannot be used in this way, but I thought that I would ask the list. I understand that it is open source, but we have an application that would benefit from something like Rsync and therefore thought we would ask the question. If the above answer is "no" does anyone have any suggestio...
2009 Dec 10
2
[LLVMdev] Doubt related to scheduling with shift operation
Hi, For the case, please see the ".ll" file attached. Here I am doing a right shift on 32 bits by constant amount (specifically by 8). My target is an 8-bit target. Therefore while performing a shift (right or left) on long (32 bits) it is legalized in 4 smaller units. After performing the shift, this value should be stored at the same location. So order of the stores does matter. But all 4 stores are parallel in the code and do not have any control flow dependency bet...
2005 Mar 15
1
How do I call a masked function in a package without a namespace?
Hello, I work with two packages sna and graph from CRAN resp. Bioconductor. Both packages have a function called "degree". Therefore one of the functions is masked by the other and which one gets called depends on the order of loading. The problem is that both package do not have a namespace, therefore calling the masked function with "package::degree" does not work. See the following transcript: $ R --vanill...
2015 Aug 11
3
Issue with computer accounts with classicupgrade
...t I am attempting to migrate to the latest Samba 4.2 on Centos 7.1. Samba in both cases has been installed using Sernet packages. I had successfully run the classicupgrade process, but in subsequent testing found that in the 3.5 domain all the computer accounts have the posixAccount class and therefore have a uidNumber. Unfortunately the uidNumbers are duplicated with the user uidNumbers which doesn't seem to be an issue in the 3.5 domain, but is in the Samba 4 domain. My first attempt at fixing this was to use an LDIF file to remove the posixAccount class and its attributes for all t...
2011 Aug 10
2
function runif in for loop
Hello, I'd like to perform a regression using MCMCregress (MCMCpack). One variable therefore should be a function rather than a variable: I want to use X as an input and X should be defined as a random number between to values. Therefore I want to use the function runif like: X <-(1, Xa, Xb) but it seems that runif doesn't allow to use vectors. So I think I've to calculate the...
2011 Jun 06
2
A Calculation on list object
Hello, I am into some calculation on a list object, therefore requesting the peers if there is any short cut way to so the same calculation. Let say I have following list object: > List <- vector('list', length = 3) > set.seed(1) > List[[1]] <- rnorm(5) > List[[2]] <- rnorm(2) > List[[3]] <- rnorm(7) > List [[1]] [1] -...
2015 Sep 08
2
mtime vs ctime
...anging the mtime also changes the ctime as does other things > like changing the permissions. > > Rsync only pays attention to the mtime because rsync can set a > specific mtime (--times) but setting a specific ctime is impossible as > it would violate the basic *nix security model. Therefore ctime can't > be copied, therefore ctime can't ever be expected to match, therefore > it is useless to rsync. If this is the case I don't understand the behaviour I'm seeing here. The files mtime haven't changed, the time-stamps of the copies on the backup server and th...