similar to: a loop....

Displaying 20 results from an estimated 100 matches similar to: "a loop...."

2008 Jun 27
2
NA value
I'm trying to replace NA with 0 value... I've write a loop, but don't work... Where's the problem? > cimfasy_rwl 1991 0.92 0.72 0.50 1.29 0.54 1.22 1992 2.15 1.28 1.23 2.26 1.22 3.17 1993 1.50 0.87 1.68 1.97 0.83 2.55 1994 0.69 0.00 0.76 1.89 0.60 0.87 1995 1.13 1.04
2008 Jun 24
3
loop with files
I'm trying to make a loop with many files... > library(dplR) > > files <- system("ls *.rwl", intern=TRUE) > > files [1] "cimfasy.rwl" "rocquce.rwl" > for (i in files) {a <- read.rwl(i,header=0)} There are 70 series There are 21 series > class(a) [1] "data.frame" This loop import all the files rwl in a single data.frame ( a
2010 Sep 16
1
plotting time series using ggplots
Hi, I would like to plot a bunch of tree ring width data (time series) using ggplots, but I'm having trouble figuring out how to do it. My data is in a data.frame, with years as rownames and a distinct tree ring series in each column. So, something like this: rwl<-matrix(rnorm(800), nrow = 100) colnames(rwl) <- paste('V', 1:8, sep = '')
2008 Aug 22
2
Combining multiple datasets
Hi, I've tried to figure this out using Intro to R and help(), to no avail - I am new at this. I'm trying to write a script that will read multiple files from a directory and then merge them into a single new data frame. The original data are in a tree-ring specific format, and so I've first used a function (read.rwl) from the dplR package to read each file, translate each into a
2008 Jun 19
3
colnames of a column
Hi, With this data.frame: > class(rwl) [1] "data.frame" >rwl 0028002F 0028013F 0028032F 1833 3.39 NA NA 1834 3.09 NA NA 1835 3.05 NA NA 1836 3.31 NA NA 1837 2.26 NA NA > colnames(rwl) [1] "0028002F" "0028013F" "0028032F" Ok.... > colnames(rwl[,1]) NULL why??
2009 Mar 04
1
nice way to find or not a value (problem with numeric(0))
Hello, I have a data.frame called spec containing data about samples. But I don't have these data for all my samples. So if I have data (that is code of the sample is in spec$Code), I would like to assign data1 to the variable m. If I don't have this data, I would like to assign 1 to m. I tried this : m<-spec$data1[spec$Code==code]*(code %in%specmodules$Code) + 1*(!code %in%
2008 Oct 01
2
an unsophisticated question about recoding in a data frame with control structure if {}
Hello all, I apologize for a terribly simple question. I'm used to using Stata and am trying to `switch' over to R. I would like to recode a vector in a data frame when the value of it meets the following condition: if (dataframe$factor=='3'){dataframe$thevector<-(an arithmetic mean). What I would like to result is the creation of a new variable within the data frame for
2008 Feb 22
1
shared mailbox - namespace
Hi all, this is my last try to get help before giving up. I red the dovecot-wiki several times, but it doesn?t work. I don?t know what?s wrong. If I open thunderbird I see the folder "public" but I cannot subscribe it. I have dovecot 1.0.10. Yes it?s a little bit old but it is the latest version under debian packages. Please see my configuration below. here the content of:
2010 Feb 14
2
[LLVMdev] [cfe-dev] clang with pthread on mingw
Hi Vincent, This is an LLVM issue, rather than a clang issue, so llvmdev is the appropriate mailing list for this report. Your fix looks semantically valid, but it would be cleaner to only create and destroy the pthread_rwlockattr_t if it is actually needed, rather than creating it, initialising it, not using it, and then destroying it on mingw (and, as the code currently stands, *BSD). The
2010 Feb 14
0
[LLVMdev] [cfe-dev] clang with pthread on mingw
David, Your fix sounds fine to me. Please apply. --Owen On Feb 14, 2010, at 6:30 AM, David Chisnall wrote: > Hi Vincent, > > This is an LLVM issue, rather than a clang issue, so llvmdev is the appropriate mailing list for this report. > > Your fix looks semantically valid, but it would be cleaner to only create and destroy the pthread_rwlockattr_t if it is actually needed,
2005 Feb 26
2
Limit the call & recording when pressing *1
I'm testing two options from dial command and can not make them to work. L(x[:y][:z]): Limit the call to 'x' ms, warning when 'y' ms are left, repeated every 'z' ms) Only 'x' is required, 'y' and 'z' are optional. The following special variables are optional for limit calls: (pasted from app_dial.c) w: Allow the called user to start recording
2009 Sep 30
10
Problem with bridged network
Hello! I''ve got CentOS 5.3 x64 as dom0 and the same OS for domU. I''ve installed it using the following manual: http://www.howtoforge.com/centos_5.0_xen Guest image was taken from stacklet.com Unfortunately, I can''t make domU working with public static IP. When I use bridged networking, the guest don''t have network connection at all. When I use routed
2009 Oct 22
1
Public Folders
Hi All I'm trying to implement public folders. My dovecot -n readout is at the bottom. I created a maildir called resumes in /home/public Its contents are: mail# ls -la /home/public/resumes total 6 drwx------ 3 vmail vmail 512 Oct 22 08:58 . drwx------ 4 vmail vmail 512 Oct 22 08:47 .. drwx------ 5 vmail vmail 512 Oct 22 08:58 Maildir -rw------- 1 vmail vmail 0 Oct 21 18:30
2006 Jun 02
5
Read-write locks in libzpool
Hi, I think I found a bug in the rw_enter() implementation (emulation?) in libzpool, file /usr/src/lib/libzpool/common/kernel.c: void rw_enter(krwlock_t *rwlp, krw_t rw) { ASSERT(!RW_LOCK_HELD(rwlp)); ASSERT(rwlp->rw_owner != (void *)-1UL); ASSERT(rwlp->rw_owner != curthread); if (rw == RW_READER) (void) rw_rdlock(&rwlp->rw_lock); else (void)
2006 Mar 31
1
Asterisk, QSIG and Tenovis PBX?
Hi, we are still trying to properly connect a Tenovis PBX to an Asterisk server (asterisk 1.2.6, libpri 1.2.2, zaptel 1.2.5, Digium Wildcard TE110P), this time with QSIG. Calling from a Tenovis phone to a SIP phone (i.e. traditional phone -> Tenovis PBX -> QSIG -> Asterisk -> SIP phone) works with the following messages: --- Don't know what to do if second ROSE component is of
2009 Sep 29
6
Problems with booting Debian DomU
I''m running Xen 3.2 on Debian 5.0 (Lenny) and am having trouble booting up a Debian Etch DomU. It hangs at the end when it says "Starting periodic command scheduler: cron." It''s just completely frozen. At one point I set it sit for a few hours and got back into the console and it said something about "time went backwards" but I used the
2004 Apr 08
0
Mailman results for Cottage (PR#6748)
$B$3$l$O<+F01~Ez$G$9(B. $B4IM}%"%I%l%9(B <cottage-request@eg.e-cell.org> $B7PM3$G(B Mailman $B$K(B $BAw$C$?%a!<%k%3%^%s%I$KLdBj$,$"$j$^$9(B. $B@5$7$$(B Mailman $B$N(B Email $B%3%^%s%I$N;H$$J}$K$D$$$F$O!$(B"help" $B$r%a!<%k$N7oL>$+K\J8$KF~$l$F(B <cottage-request@eg.e-cell.org> $B$X(B $BAw$C$F2<$5$$!%(B
2013 May 15
1
x and y lengths differ
I have a problem with R. I try to compute the confidence interval for my df. When I want to create the plot I have this problem: Error in xy.coords(x, y, xlabel, ylabel, log) : 'x' and 'y' lengths differ. I try this code: library(dplR) df.rwi <- detrend(rwl = df, method = "Spline",nyrs=NULL) write.table(df.rwi,file="rwi.txt",quote=FALSE,row.names=TRUE)
2013 Jul 31
29
[PATCH 0/9] tools: remove or disable old/useless/unused/unmainted stuff
depends on "autoconf: regenerate configure scripts with 4.4 version" This series removes some of the really old deadwood from the tools build and makes some other things which are on their way out configurable at build time with a default depending on how far down the slope I judge them to be. * nuke in tree copy of libaio * nuke obsolete tools: xsview, miniterm, lomount & sv *
2007 Apr 16
0
Winbindd periodical timeout issue
Hey, I've got an issue with winbindd seeming to periodically fail to resolve user/group names from an AD setup. I'm getting the following error, the error seems to occur when I try to access a the samba server OR a directory that uses AD dependent ACLs/permissions. The server will stall for around 30-40 seconds and then it all seems to work perfectly (though I haven't yet determined