similar to: POSIXct conversion stops part way through a df column

Displaying 20 results from an estimated 3000 matches similar to: "POSIXct conversion stops part way through a df column"

2010 Mar 20
3
How to select a row from one dataframe that is "close" to a row in another dataframe
I have two data frames of flight data, but they have very different numbers of rows. They come from different sources, so the data are not identical. > names(oooi) [1] "FltOrigDt" "MkdCrrCd" [3] "MkdFltNbr" "DprtTrpnStnCd" [5] "ArrTrpnStnCd" "ActualOutLocalTimestamp"
2010 Oct 06
3
Empty data frame does not maintain column type
Does anyone know why a data frame created with empty character columns converts them to integer columns? > df<-data.frame(a=character(0),b=character(0)) > df<-rbind(df,c("a","a")) > typeof(df[1,1]) [1] "integer" AsIs doesn't help: > df<-data.frame(a=I(character(0)),b=I(character(0))) > df<-rbind(df,I(c("a","a")))
2010 Mar 18
1
how to return "date" part of POSIXct
How do I get a number representing a date from a POSIXct i.e. removing the time elements? -- View this message in context: http://n4.nabble.com/how-to-return-date-part-of-POSIXct-tp1598109p1598109.html Sent from the R help mailing list archive at Nabble.com.
2009 Nov 17
2
[PATCH 0/2] Two part fix for virt-df on Xen (bug 538041)
This is a two-part fix for: https://bugzilla.redhat.com/show_bug.cgi?id=538041 Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://et.redhat.com/~rjones/virt-df/
2013 Feb 10
3
top 10 (n values) for each classes
Dear R users, I have a problem. I don't know how to select the top 10 (n) values for each classes. Thank you! My data is like this: row.names proc cls 7271 568,03338 0,5 7270 554,68458 0,5 7269 510,20638 0,5 7268 485,59969 0,5 7267 421,92852 0,5 7272 410,12101 0,5 3414 409,71429 0,5 3452 402,78699 0,5 3451 401,28114 0,5 3450 361,80607 0,5 3413 360,29883 0,5 3449 352,90043 0,5 3453
2011 Feb 28
3
Problems using unique function and !duplicated
Hi, I am trying to simultaneously remove duplicate variables from two or more variables in a small R data.frame. I am trying to reproduce the SAS statements from a Proc Sort with Nodupkey for those familiar with SAS. Here's my example data : test <- read.csv("test.csv", sep=",", as.is=TRUE) > test date var1 var2 num1 num2 1 28/01/11 a 1 213 71 2
2009 May 17
2
Output of binary representation
I am interested in studying the binary representation of numerics (doubles) in R, so am looking for possibilities of output of the internal binary representations. sprintf() with format "a" or "A" is halfway there: sprintf("%A",pi) # [1] "0X1.921FB54442D18P+1" but it is in hex. The following illustrate the sort of thing I want: 1.1001 0010 0001 1111
2010 Mar 23
2
Computer disappearing from browse list after a few minutes
Hi all! I am using samba server at the company i work. Samba version is: 2:3.2.5-4lenny9 Some settings: os level = 255 domain logons = no wins support = yes domain master = yes local master = yes preferred master = yes i have dhcp configured witch sends wins server address (this samba servers address) to all clients. After I (re)start samba within a minute or so all computer of our network
2010 Apr 16
6
bwplot puts the bars in the wrong place
Dear R-Help, With the attached data set, I am still getting incorrect bwplots > xyplot(gdf$tt~gdf$OnHour |gdf$Runway, data=gdf) # Is correct > bwplot(gdf$tt~gdf$OnHour |gdf$Runway, data=gdf, horizontal=FALSE) # Puts the boxes on the wrong x-axis values # look especially at 0 and 3. How do I fix this? What is happening? Thanks, Jim Rome
2006 May 11
9
world of warcraft doesnÄt work (sorry if double post)
if this is a doublepost please sorry bur the first post was blocked by spamfilter because of wrong timesettings on my local computer. i reaplyed to my original post and now im not shure if the mailserver thinks the message is corrupt because of reply to a non existing message. here is the originalmessage (again?) Hi everyone, thirst of all please forgive my bad english :) i have installed wine
2009 Sep 21
1
truth (karnaugh) table
Dear list, I think I'm being dense, but I can't get combn or expand.grid to give me this result. I need to generate a matrix of all 16 possible sequences of 4 boolean elements, 0000 0001 0010 0011 0100 ..... 1111 (in the end I'll have to assign NA to the 0s and some value to the 1s but let's keep it simple) OK, I could go the following route, but I feel like reinventing the
2013 Nov 08
1
Dict client unescaping sieve script
I've created a dict service that listens on a unix socket and answers queries for sieve scripts (among other things). As I understand it (from the source code at http://hg.dovecot.org/dovecot-2.2/file/tip/src/lib-dict/dict-client.c), the dict client will unescape \001n, \001t, and \0011 to line feeds, tabs, and the \001 character respectively. In my service I am escaping those three
2012 Oct 30
1
Bug#691808: xcp-storage-managers: Another wrong binary path + wrong parameter in storage managers backend
Package: xcp-storage-managers Version: 0.1.1-2 Severity: important I still am not able to create iSCSI storage repositories using this command xe sr-create host-uuid=<my-host-uuid> content-type=user name-label="LVM over iSCSI SR"> shared=true device-config:target=192.168.10.100 device-config:targetIQN=<here-target-iqn> device-config:SCSIid=<my-scsi-id>
2007 Jun 30
1
speed and looping issues; calculations on big datasets
dear r users, i'm a little stuck with the following problem(s), hopefully somebody can offer some help: i have data organized in a binary matrix, which can become quite big like 60 rows x 10^5 columns (they represent SNP genotypes, for some background info). what i need to do is the following: let's suppose i have a matrix of size n x m. for each of the m columns, i want to know
2008 Jan 08
1
retaining "POSIXct" formatting when using apply(muff, FUN=MAX) on POSIXct dataframe?
How do I retain "POSIXct" formatting when using apply, with FUN=max? #example: mydata <- rep(Sys.time(), 10) mydf <- data.frame(matrix(data=mydata, nrow=2, ncol=length(mydata) ) ) for(i in seq(mydf))class(mydf[[i]]) <- class(mydata) str(mydf) maxdates <- apply(mydf,2,max,na.rm=T) str(maxdates) #Why is the formattign now "chr", and not
2004 Jul 15
4
ZyXEL 2000W
Hi, I know we've talked about this phone to death. I have pretty good voice quality, with and without WEP enabled, using the G729a codec and DLink & Netgear access points. I am facing one obstacle that is driving me insane. Does anyone have the call hold feature working? If you do... how did you make it work? The instructions say to press the left button to place the call on hold,
2020 Apr 27
2
C++ JIT Compiler with LLVM on Windows 10 - part 5
I was just reading the blog post -- very cool! Regarding Globals construction & destruction: There definitely has been a lot of churn in that area. There will probably be more before LLVM 11 is released, but I can see light at the end of the tunnel. I think the Right Way to run initializers in a JITDylib is to treat it as equivalent to a dlopen operation (with extra allowances for the fact
2008 Aug 22
10
Windows Media Encoder 9
Windows Media Ecoder 9 gives me this error.... why? :( : Xlib: extension "GLX" missing on display ":20.0". err:wgl:X11DRV_WineGL_InitOpenglInfo couldn't initialize OpenGL, expect problems err:wgl:has_opengl Intialization of OpenGL info failed, disabling OpenGL! Xlib: extension "GLX" missing on display ":20.0". err:wgl:X11DRV_WineGL_InitOpenglInfo
2005 Apr 22
4
I have a problem similar to FAQ 2 scenario, but reply packets don''t seem to be recognized.
Hello, I am running Shorewall 2.0.2f, on SuSE 9.2 distro, kernel 2.6.8-24.11-default My ip addr show output is as follows: 1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 brd 127.255.255.255 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0:
2020 Nov 17
2
can't delete recursive DNS entry
Due to a mistake I created a subdomain with the name of the domain itself. In my case the domain is briesebaer.intern and I created the subdomain briesebaer.intern. Using DNS RSAT Tool I see under briesebaer.intern the subdomain intern and then a recurrence of the whole domain. That means: under intern there is briesebaer and all of the dns query beneath. The query shows the Name=intern