similar to: how to import several files every day

Displaying 20 results from an estimated 1300 matches similar to: "how to import several files every day"

2007 Aug 17
1
finding the row(s) for a date in a data frame
Hi, If I have a data frame A with the following format: Day1 Day2 Day3 Day4 1 1979-11-02 1979-11-03 1979-11-04 <NA> 2 1979-12-06 <NA> <NA> <NA> 3 1979-12-13 1979-12-14 1979-12-15 1979-12-16 4 1979-12-20 <NA> <NA> <NA> And a date "1979-12-14", for
2001 Oct 26
3
question about anova() output
Hello, I am getting output from anova() and summary(aov()) that depends on the order of the factors in the fitted model object, and this has me baffled. I see this dependency with the data.frame below but not with an example (table 6.4) from Montgomery's DOE book. This is with R 1.3.0 on Debian GNU-Linux. Where have I gone wrong? > centerpts run sample CH50mg 1 day1 dev126 0.56 2
2009 Jun 01
1
Reshaping Data
Hi, i did a mistake with my first post. I have to reshape data from this matrix: id x1 x2 x3 x4 day1 day2 day3 day4 day5 day6 day7 day8 day9 1 0.129 0.797 0.231 0.615 4 4 1 1 1 1 3 3 3 2 0.420 0.376 0.501 0.282 4 4 4 4 5 4 2 5 5 3 0.377 0.486
2009 Jan 21
1
finding row and column indices of date in multiple columns of a data frame
Hi, I have a data.frame SAMPLES with columns: Site Site# Season Day1 Day2 Day3 Day1, Day2, Day3 are class "Date", the other columns are numeric or factor. I have a date "mydate" that may or may not be listed in my data.frame and I need to find that out. If "mydate" is there, I want to get the number of the data.frame row where it occurs.
2006 Oct 31
1
Keyboard doesn''t work with dom0
Hello, I''ve been able to install almost successfully Xen on Gentoo 2006.1. Everything compiled fine. I can boot my dom0 kernel with Xen on my Gentoo system. The problem I have is that the keyboard doesn''t work... The computer is a ThinkPad R51 laptop. Does anyone has any idea? Thanks Gabriel Lavoie -- Gabriel Lavoie glavoie@gmail.com
2009 Oct 29
8
conditional restart of service
I''m trying to have a exec dependency on a service object that would keep it from being restarted if the exec fails. Unfortunately, the service gets refreshed regardless whenever the exec is run, failure or not. I''ve tried various combinations of subscribe/require/notify, but can''t find an elegant way to not restart the service when the dependency fails. I must be
1999 Jan 23
2
Digest Only?
Is this list only available in digest form only? I would like to receive individual postings so I can sort them by subject and just look at the ones I'm interested. I've subscribed to many lists, both listerv & majordomo, and I've only ever essage easier?seen one other list that was digest-only. Does *anyone* find scolling through a 40k message easier? -Ron Lavoie Ron Lavoie
2001 Nov 13
3
Lotus Notes R5, bad class name error
Hello, I've just installed Lotus Notes 5.0.8 client on my system with wine, on a Debian Linux (unstable dist) system. The wine package installed is the 20011112 version, from the CVS build deb package. I'm running c:/Lotus/Notes/nlnotes.exe, and my Wine desktop comes up with the Notes Workspace and a client configuration dialog with active "Next" and "Cancel"
2011 Nov 01
1
Counting entries to create a new table
Hi, I am an R novice and I am trying to do something that it seems should be fairly simple, but I can't quite figure it out and I must not be using the right words when I search for answers. I have a dataset with a number of individuals and observations for each day (7 possible codes plus missing data) So it looks something like this Individual A, B, C, D Day1 1,1,1,1 Day 2 1,3,4,2 Day3
2002 Sep 17
1
Question about rsync
Hello All, I've been getting an error using rsync that I've been trying to track down the cause of, but haven't been able to solve yet. When I try to connect to a remote rsync deamon, using a double colon address like 192.168.0.2::classes to copy files in either direction, I get this error after a timeout. @ERROR: chroot failed rsync: connection unexpectedly closed (128 bytes
2002 Nov 01
1
Reshape function
Can someone help me with the proper usage of the reshape function? Let's say I have a dataset with columns like this (wide format): Id Sex Group Test Day1 Day 2 Day 3... And I want to transpose this into something like this (thin): Id Sex Group Test Time Where the new column labeled time contains all the time variables (Day 1, Day 2, Day 3...) that were in the wide
2012 Dec 05
4
Import multiple data frames and combine them using "cbind"
Hi group, I imported 16 data frames using the function "list.files" temp <- list.files(path="...........") myfiles = lapply(temp, read.table,sep = "") Now I have 16 data set imported in R window. I want to combine them by row and tried some thing like (Here I am considering only 20 columns) for(i in 1:16){ data<- cbind(myfiles[[i]][,1:20]) } but it
2015 Sep 15
3
Best source for creating multiple streams
How do you create different logs files for each stream? From: icecast-bounces at xiph.org [mailto:icecast-bounces at xiph.org] On Behalf Of Camara, Carlos Sent: Saturday, August 22, 2015 12:43 AM To: icecast at xiph.org; icecast at xiph.org Subject: Re: [Icecast] Best source for creating multiple streams With IceS2 this is easily accomplished by copying the 'ices-playlist.XML' file
2009 Sep 25
2
summarize-plyr package
Hi,I am using the amazing package 'plyr". I have one problem. I would appreciate help to fix the following error: Thanks. ______________________________ > library(plyr) > data(baseball) > summarise(baseball, + duration = max(year) - min(year), + nteams = length(unique(team))) Error: could not find function "summarise" > ddply(baseball, "id", summarise, +
2009 Mar 25
2
"[.data.frame" and lapply
Dear all, Trying to extract a few rows for each element of a list of data.frames, I'm puzzled by the following behaviour, > d <- lapply(1:4, function(i) data.frame(x=rnorm(5), y=rnorm(5))) > str(d) > > lapply(d, "[", i= c(1)) # fine, this extracts the first columns > lapply(d, "[", j= c(1, 3)) # doesn't do nothing ?! > > library(plyr)
2009 Mar 25
2
"[.data.frame" and lapply
Dear all, Trying to extract a few rows for each element of a list of data.frames, I'm puzzled by the following behaviour, > d <- lapply(1:4, function(i) data.frame(x=rnorm(5), y=rnorm(5))) > str(d) > > lapply(d, "[", i= c(1)) # fine, this extracts the first columns > lapply(d, "[", j= c(1, 3)) # doesn't do nothing ?! > > library(plyr)
2004 Nov 22
1
Editing comments in Vorbis files...
I tryed this piece of code to write a second file with the same comments in it but the program always crash on vcedit_write()... I'm unable to figure out why it is crashing. Compiled under Visual Stucio .NET 2003 with ogg.dll and vorbis.dll linked dynamically! vcomment doesn't crash linked dynamically with ogg.dll and vorbis.dll #include <stdio.h> #include <stdlib.h>
2010 May 31
1
Replacing NAs with 0 for a list of data frames
Hi, I have a list of 100 data frames, each data frame has 50 obs of 377 variables. I would like to replace all the NAs with 0 in all the dataframes. Should I have a for loop for every data frame? Below is an extract of how the data looks like. List of 100 $ :'data.frame': 50 obs. of 377 variables: ..$ ACHRPO: int [1:50] NA NA NA NA NA NA NA NA NA NA ... ..$ ACTEEX: int [1:50] NA
2015 Apr 10
3
Loop sobre muchos data frames
Hola a todos! Estoy en un proyecto de text mining y por razones de los recursos con que cuento tuve que separar los archivos de texto de input del proyecto en muchos archivos pequeños. Luego de transformar cada uno de estos archivos en un corpus separado, puedo aplicar limpieza sobre cada corpus, buscar n-gramas, construir cada termDocumentMatrix y finalmente reunir todo en una sola TDM. Pero
2011 Jan 17
2
Summing data frame columns on identical data
Dear all, I have 9 data frames, and I'm simply trying to sum the values of column 3 (on a row-by-row basis). However, there are a slightly different number of rows in each data frame, so I'm receiving the following error: "Error in Ops.data.frame(mrunoff_207101[3], mrunoff_207102[3]) : ? + only defined for equally-sized data frames". Here is what I'm attempting to do: