similar to: locating intervals (corrected version)

Displaying 20 results from an estimated 200 matches similar to: "locating intervals (corrected version)"

2006 Aug 08
1
locating intervals
Hi , I have two sorted vectors X and Xi, where the range of Xi lies within the range of X. For an element in Xi, I want to find the neigbouring data in X, e.g. find an index ix so that for element number k, then X[ix[k]] < X[k] < X[ix[k] +1] # also OK with "<=" on either one, but not both This is easy to code by looping over the data in X,Xi, but I suspect there may be a
2005 Jan 21
2
Windows plots & fontsize
I recently wrote a package that runs on both Linux and Windows. The functions fetch data to an SQL database and make diverse plots, usually with many labels and annotations. I recently noticed that on SOME windows computers the fonts in the plots were too large, which caused labels to overlap. On other windows computers this does not happen. However on both computers the command
2004 Dec 14
2
plot with dates
Hi, I am trying to understand the behaviour of the plot function. If I have novdate <- as.Date("2001/11/1") + (0:29) y <- 1:30 b <- data.frame(novdate,y) then plot(b$novdate,b$y) will produce a plot where the x-ticmarks are given as dates (Nov 04, Nov 09 etc), but plot(b) will produce a plot where the x-tickmars are integer values (#day since Jan 1st 1970) In the first
2012 Jun 14
1
read.table and variable length of tables
Hi, I am trying to read in weather balloon data, where each file has a header of fixed length and a trailing section of a fixed length. The data section (the table) is of variable length. An example of the data is on: http://weather.uwyo.edu/cgi-bin/sounding?region=naconf&TYPE=TEXT%3ALIST&YEAR=2011&MONTH=06&FROM=1400&TO=1400&STNM=04018 This data has 97 rows and can be
2005 Jan 05
4
make R package for windows on Linux
Hi, I made a package on a linux box. All worked fine. The package contains only R code (no C). I then wanted to make a zip file so that I could test the package on a windows machine. I have tried all the obvious ways to do this (and even some that are not!), but to no avail. The only instructions I find about building packages for windows (e.g. mypkg.zip) seem to imply that the build be done
2004 Nov 29
1
problems with R-2.01 build with Mandrake 10.1
I recently installed Mandrake 10.1 on my laptop, downloaded the latest version of R, compiled it and ran it. To my surprise I discovered that the X11() command returned an error to the effect that X was not available. Examining R config.log I noticed that there were several complaints about X and tcl in there. Basic include files, such as X11/X.h were not found. I have previously compiled
2004 Oct 25
2
printing ISO/8859-1 characters
Hi, I ran into an odd problem with the print command for R-2.0 on a windows machine. The icelandic character thorn (??,??) which is included in in the Latin-1 character set [iso/8859-1 char# 222 (upper case) and #254 (lower case)] prints out incorrectly. Instead of getting the correct character I get the octal codes for upper and lower case thorn (\336 or \376). This only happens on a windows
2006 Dec 10
1
FW: Samba problem with APS .NET web farm (IIS) - change notify
Forgot to send to list also Regards, ?sgeir Halld?rsson -----Original Message----- From: ?sgeir Halld?rsson Sent: 9. desember 2006 04:01 To: 'Damien 'zaide' Desmarets' Subject: RE: [Samba] Samba problem with APS .NET web farm (IIS) - change notify Hi, This might help in samba config [global] max open files = 65536 max mux = 2147483547 smb ports = 445 Regards,
2005 Jun 22
2
A polar.plot BUG in plotrix 1.3.3 ?
Hi, I just updated to R-2.1.1 and updated packages acordingly However, after the update, routines that use polar.plot did not function as correctly. In plotrix 1.3.3 the polar.plot function does scale label.pos to radians prior to calling radial.plot Hence, the command polar.plot(c(5,10,5,0),c(-10,0,10,20),rp.type='P',
2007 Apr 05
17
Reasons to Use R
Dear All, The institute I work for is organizing an internal workshop for High Performance Computing (HPC). I am planning to attend it and talk a bit about fluid dynamics, but there is also quite a lot of interest devoted to data post-processing and management of huge data sets. A lot of people are interested in image processing/pattern recognition and statistic applied to geography/ecology, but I
2011 May 04
1
bivariate linear interpolation
Hi, I have three matrices (X,Y,P) with the same dimension. The X,Y grid is regular and I want to perform linear interpolation to pick out certain points. In matlab appropriate call is something like Pout=interp2(X,Y,P,Xout,Yout, method="linear") where Xout and Yout are the locations where I want the Pout data (typically a different grid). (Scipy has this routine in
2010 Apr 29
1
image function with date-time on X axis
I am trying to plot a image where the x axis has the units of time. When I issue the image(x,y,z) command with x as a POSIXct object, it fails to put a time stamp on the x axis. Instead I get a warning "Incompatible methods" warning and no dates on my x axis. This example shows my problem: Rmat=t(matrix(data=rnorm(1:500),ncol=10,nrow=50)) tax=seq(ISOdate(2010,4,14,12,0,0),
2005 Jun 15
1
Getting the character set
Hi R-gurus, In python one can do >>> import string >>> print string.letters and get the characters in the local character set. This feature is often useful in Python, and if I could find it in R I could make good use of it. In R both Sys.getlocale() and localeToCharset() can tell me which charset I am using, but I haven't found a way to print out the actual characters.
2015 Nov 19
27
[Bug 2501] New: VerifyHostKeyDNS & StrictHostKeyChecking
https://bugzilla.mindrot.org/show_bug.cgi?id=2501 Bug ID: 2501 Summary: VerifyHostKeyDNS & StrictHostKeyChecking Product: Portable OpenSSH Version: 7.1p1 Hardware: All OS: All Status: NEW Severity: normal Priority: P5 Component: ssh Assignee: unassigned-bugs at mindrot.org
2015 Nov 18
2
Missing SSHFP RRs / VerifyHostKeyDNS & StrictHostKeyChecking
Y'all, Currently (OpenSSH_7.1p1) no distinction is made between when an SSHFP RR is missing from the result set (rather then being empty), which can lead to confusing error messages, (the "normal" warn_changed_key() blurb is emitted) e.g. when the presented host key and known hosts both match but there is no matching RR. Further, if VerifyHostKeyDNS and StrictHostKeyChecking are
2009 Apr 30
1
How to know what device I am using
Some years ago I wrote a plotting routine that was run on both Linux & Windows computers. There were some differences in the way the plot looked from the windows device and the X11 device. To ensure consistency I used getOption("device")) and made some changes to the plotting if the windows device was being used. Using this routine again, years later, I now notice that
2010 Jul 19
1
packet loss on ixgbe using vlans and ipv6
Hi, I have a Dell T710 with 4 X 10G ethernet interfaces (2 X Dual port Intel 82599 cards). It is running FreeBSD RELENG_8 last updated on July 13. What I see is packet loss (0 - 40%) on IPv6 packets in vlans, when the machine is not the originator of the packets. Let me try to describe a little more. If a neigbouring machine ping6 it, there will be packet loss. If it act as a router for ipv6,
2009 Apr 16
0
Lin Model with interactions
Hi all, I have a question about linear model with interaction: I created a data frame df like this: >df V1 V2 V3 V4 V5 1 6.414094 c t a g 2 6.117286 t a g t 3 5.756922 a g t g 4 6.090402 g t g t ... which holds the response in the first column and letters (a,c,g,t) in the other columns. I am interested to see if there are interactions between the neigbouring letters
2009 Apr 17
0
Linear model with interaction
Hi all, I have a question about linear model with interaction: I created a data frame df like this: >df V1 V2 V3 V4 V5 1 6.414094 c t a g 2 6.117286 t a g t 3 5.756922 a g t g 4 6.090402 g t g t ... which holds the response in the first column and letters (a,c,g,t) in the other columns. I am interested to see if there are interactions between the neigbouring letters
2011 Jun 03
1
Traversing KD-tree (or equivalent) for radius-based search
Hi, I'm trying to implement the DBSCAN algorithm to get O(N*LogN) complexity and I'd need a spatial tree of some sort (kd,r,bd..), or a function that computes radius-based search on spatial data, i.e. given a radius eps finds ALL the points which fall in the corresponding hypersphere centered on the current examined point. Is there a package with this features? So far I found RANN