similar to: Ceiling function gives me wrong answer

Displaying 20 results from an estimated 3000 matches similar to: "Ceiling function gives me wrong answer"

2005 Dec 03
2
How to catch value
Dear R users: I have a problem about catch the value from function. I have following two functions (part): fbolus1 <- function() {......... par<-data.frame(Parameter=c("kel","Vd"),Initial=c(0)) check(par) .....} check<-function(par) { if (par[ ,2] <= 0){ cat("\nEnter again (y/n) ?\n\n") ans<-readline() if (ans == "n" ){
2008 May 05
7
iscsi conn error: Xen related?
Hello all, I got some severe iscsi connection loss on my dom0 (Gentoo 2.6.20-xen-r6, xen 3.1.1). Happening several times a day. open-iscsi version is 2.0.865.12. Target iscsi is the open-e DSS product. Here is a snip of my messages log file: May 5 16:52:50 ying connection226:0: iscsi: detected conn error (1011) May 5 16:52:51 ying iscsid: connect failed (111) May 5 16:52:51 ying iscsid:
2008 Jan 14
6
Ceiling to the nearest ten?
R-users, Is there a function for ceiling to the nearest ten? a <- 1:10*4 a [1] 4 8 12 16 20 24 28 32 36 40 The resulting vector should look like this ("ceiling to the nearest ten") [1] 10 10 20 20 20 30 30 40 40 40 Thanks in advance Lauri
2006 Feb 12
1
floor and ceiling can't handle more than 15 decimal places (PR#8590)
Full_Name: Ben Phalan Version: 2.2.1 OS: Win XP Submission from: (NULL) (131.111.111.231) I have noticed that floor returns the wrong number when there are more than 15 decimal places: > floor(6.999999999999999) [1] 6 > floor(6.9999999999999999) [1] 7 There is a similar problem with ceiling, so this may apply to all/most rounding functions? > ceiling (2.000000000000001) [1] 3 >
2005 Aug 24
6
Wbinfo -Y couldn't work with idmap_rid for BUILTIN groups
Hi, wbinfo -Y BUILTIN\group can work without idmap_rid in Samba-3.0.14a. But I'm experiencing wbinfo -Y with idmap_rid failed for SID to GID conversion of BUILTIN groups. Since idmap_rid only works in a single domain, and captures workgroup's domain sid as a real domain sid in rid_idmap_get_domains(), when running "wbinfo -Y BUILTIN/System Operators", the function
2006 Dec 12
4
help on determining operating system
Dear list, I am an R user and I also write my own package in R(sometime i need to write in C), and right now i am thinking about buying a new workstation--and i am trying to decide if i should get a mac with OS X or a linux machine (for example Dell). I have experience using R on linux (but i have been just a user and never been a admin) but i am hesitating of managing a linux system on my
2005 Aug 17
3
do glm with two data sets
I have two data sets: File1.txt: Name id1 id2 id3 ... N1 0 1 0 ... N2 0 1 1 ... N3 1 1 -1 ... ... File2.txt: Group id1 id2 id3 ... G1 1.22 1.34 2.44 ... G2 2.33 2.56 2.56 ... G3 1.56 1.99 1.46 ... ... I like to do: x1<-c(0,1,0,...) y1<-c(1.22,1.34, 2.44, ...)
2016 Mar 03
2
[LLVMDev] llvm-cov outputting coverage results as HTML reports
Xinliang David Li via llvm-dev <llvm-dev at lists.llvm.org> writes: > Harlan Haskins has recently submitted a patch (for review) that implements > --format=html for llvm-cov tool. Please take a look at that patch. For reference, the review thread starts here: http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20160229/336622.html > David > > On Thu, Mar 3, 2016 at
2004 Sep 17
4
Guaranteed rate per class and maximum ceiling per element in class???
Hi all, It is my understanding that with HTB, the rate and the ceiling are divided over the elements of the class. E.g. using a rate of 100 kb and a ceiling of 2000 kb for a class with 10 elements on a 100Mb NIC, the effect of the ceiling will be that if all elements are generating their maximimum possible trafic they will be effectively limited to ~ ceiling / number of elements, in this case
2006 Nov 08
1
Why did I need strange ceiling settings?
Hi all, I recently installed traffic shaping on my ADSL line with a nominal upload rate of 1MBit. My Modem says it has an upload bitrate of 843 kbits. So I thought, to use a ceiling of 800kbit for the root qdisc is a good idea. But with that setting I only achieved upload rates of around 300kbits whereas I reached around 650 kbits without traffic shaping. Yesterday I played a little with the
2012 Mar 05
2
Filter/Ceiling for unwanted data - zoo
Here's my script: http://pastebin.com/zx3TCtXg I want to draw attention to the code block where the read in of the raw data is located. Is there a function that filters out unwanted data with respect to a ceiling limit. For example, I want to remove any value over 500 kW in the rawCool variable. Any ideas where to go with that? I figure it would be an argument within read.zoo or an external
2004 Oct 08
1
Ceiling question
Hi! I have a setup where I want to prefer traffic on one port (for testing purposes I used port 22) my setup is : tc qdisc add dev eth3 root handle 1: htb default 30 tc class add dev eth3 parent 1: classid 1:1 htb rate 96mbit burst 15k tc class add dev eth3 parent 1: classid 1:7 htb rate 2mbit burst 15k tc class add dev eth3 parent 1:1 classid 1:10 htb rate 96mbit burst 15k tc class add dev
2020 Jun 22
2
[PATCH 13/16] mm: support THP migration to device private memory
On Mon, Jun 22, 2020 at 4:02 PM John Hubbard <jhubbard at nvidia.com> wrote: > > On 2020-06-22 15:33, Yang Shi wrote: > > On Mon, Jun 22, 2020 at 3:30 PM Yang Shi <shy828301 at gmail.com> wrote: > >> On Mon, Jun 22, 2020 at 2:53 PM Zi Yan <ziy at nvidia.com> wrote: > >>> On 22 Jun 2020, at 17:31, Ralph Campbell wrote: > >>>> On
2020 Jun 22
2
[PATCH 13/16] mm: support THP migration to device private memory
On Mon, Jun 22, 2020 at 3:30 PM Yang Shi <shy828301 at gmail.com> wrote: > > On Mon, Jun 22, 2020 at 2:53 PM Zi Yan <ziy at nvidia.com> wrote: > > > > On 22 Jun 2020, at 17:31, Ralph Campbell wrote: > > > > > On 6/22/20 1:10 PM, Zi Yan wrote: > > >> On 22 Jun 2020, at 15:36, Ralph Campbell wrote: > > >> > > >>> On
2011 Jan 05
1
rShowMessage "Fatal error: unable to open the base package
Hi All, As you may know I am trying connect R with java by RJava, now I run the examples, I got this error rShowMessage "Fatal error: unable to open the base package I am using 64bits windows 7 and eclipse. Any suggestions? Many thanks Ying [[alternative HTML version deleted]]
2007 May 04
3
listing R packages in our system
Hi, I like to know the simple way to list the R package names in our linux system. Thanks Ying [[alternative HTML version deleted]]
2007 Apr 12
3
Idmap back compatible issue
I ran into a problem on idmap backend. In previous Samba releases, there are two kinds of scenarios on idmap backend. 1) No explicit idmap backend option presented in smb.conf. But imply using default tdb idmap backend idmap uid = low - high idmap gid = low - high 2) idmap backend option exists in smb.conf idmap uid = low - high idmap gid = low - high idmap backend = tdb [or
2007 Mar 18
3
how can I use rsync between 2 accounts?
Hi, I have 2 linux accounts on different machines (same login, same password). Can you please tell me how I use rsync directories between 2 accounts? Thank you.
2008 Jul 23
2
Can't Load Text Files
Hi, I've completely forgotten how to do R, and it seems I can't even load simple files correctly. I have two tab deliminated text files (attached, these were test files of the larger data files I'm trying to work with) that I am trying to load into R so that I can merge them. They were originally excel files but I used "saved as" to reformat to text. I don't know if
2004 Nov 19
5
help! a urgent question
Dear Sir/Madam, I am doing a project related to R. However, it is always difficult find some R functions. The R user guide seems not complete. Is there any free document about all R functions ? Who knows ? please help me. My email is myzhaogong@yahoo.com Thank you very much --------------------------------- [[alternative HTML version deleted]]