Displaying 20 results from an estimated 3000 matches similar to: "Return value ???"
2012 Oct 03
1
Difficulties in trying to do a mixed effects model using the lmer function
Dear people of the help list
I am drying to analyze my data using the 'lmer' function and I keep having problems.
This is the model:
> fm1<-lmer(dbh~spec+scheme+(1|Plot),data=d, REML=FALSE).
I analyse tree size (dbh) of 3 different species (spec) and 3 planting schemes (scheme). I have 5 plots, which I hope to model as a random factor. (However, the subsequent output is based on
2005 May 13
2
not deleting from the root
I have a bit of an issue with rsync. I am using to keep directories in
sync via another server for backup.
Here is the server config
[w1]
path = /w1
comment = w1 web dir
[w2]
path = /w2
comment = w2 web dir
Now on the client i run this command
rsync -avv --delete --force domain.com::w1/ /w1/
It will NOT delete anything that is no on the server anymore.. for
example on the server/client there
2011 Oct 14
2
rsync compares all files again and again
Hi,
we do a 1:1 backup from our main raid to a backup raid every night with
rsync -a --delete /mnt/raid1/ /mnt/raid2
rsync is 3.09, filesystems are ext3, OS is SLES 11 SP1.
The rsync process takes several hours, even if no file has changed at all.
Using -vv I see that rsync compares all files every time and that takes
long for some hundreds of millions of small files.
Can I tell rsync it
2007 Nov 14
2
no applicable method for "names"
hi,
after installing R-2.6.0 the function "names" doesn't work anymore on my
windows xp machine.
for example for a simple vector i get
> z <- 1:3
> names(x)
Error in UseMethod("name"): no applicable method for "names"
... instead of NULL. the same is true for lists and dataframes. attr(z,
"names") is a workaround, but i don't want to
2008 Feb 05
6
Sampling
Hi there,
I want to generate different samples using the
followindg code:
g<-sample(LETTERS[1:2], 24, replace=T)
How can I specify that I need 12 "A"s and 12 "B"s?
Thank you,
Judith
____________________________________________________________________________________
Be a better friend, newshound, and
2002 Mar 20
2
include exclude help please.
hi.
I know this is a big topic on the list, please forgive me.
rsync -avv --include "/film/jonah/**/sourceimages/*.tif" --exclude "*" /film /tmp
i'm trying to copy all *.tif 's that are in a */sourceimages/ directory
and that are only under /film/jonah.
i would like to copy the directory tree and tif files to /tmp
i was able to copy ever tif with:
rsync -a
2009 Jan 15
2
--compare-dest; I'm missing the boat
I must be seriously misunderstanding the man page coverage of
--compre-dest. My take was that if a file in compare-dest=dir
matches a file in SOURCE/ then it won't be transferred to DEST/.
I tried this test. (d1 has single files and 2 subdir with files)
cp -a d1 d1a
mkdir d2
rsync -avv --compare-dest="./d1a" d1/ d2/
d1a is carbon copy of d1 but still every last file in
2005 Oct 26
2
Fast question...
Hi everyone!
Does anyone use, rsync, under windows, without Cygwin?
When I type something like this:
rsync -auvlHI --delete --partial --modify-window=2 --log-format=" %t %o %l %f " --stats -vv -e "ssh -o ForwardX11=no -vv -i "e:/program/sinc/.ssh/sinc_rsa" -l USER" "e:/program" SERVER:dir_dest
rsync answer me with:
ssh: e: no address associated with name
2007 Jun 13
2
Removing Inf and Inf values from a fata frame
Hi,
I have a csv file with empty values, when I apply
the different functions (mean, std, etc.) I create a
new data frame, the empty values generate Inf and -Inf
values. How can I remove those Inf and -Inf values
from the new data frame? I already specified na.rm in
the mean and std functions, but the values are still
there.
Thank you,
Judith
2007 Jul 02
2
Substitution of Variables
Hi,
I need to run a script under the variable (that
comes from a csv file) that is assigned to another
variable. This is very a simplified version of what I
want to do:
data<-read.csv('name.csv')
names(data)<-("VA","VB","VC")
v<-VA
mn(v)
Thank you in advance,
Judith
2008 Feb 26
2
Multiple lines with a different color assigned to each line (corrected code)
Sorry, I just realized I didn't type in the correct
names of the variables I am working with, this is how
it should be:
plot(1,1,type="n")
for (i in summ$tx) {
points(summ$timep[summ$tx==i],summ$mn[summ$tx==i])
lines(summ$timep[summ$tx==i],summ$mn[summ$tx==i])
}
Thank you,
Judith
____________________________________________________________________________________
2008 Feb 27
2
Add a rectangle behind a plot
Hi there,
I found one reference to add a reactangle behind a
plot using plot(...,add=T), I tried this but didn't
obtain the desired result.
If a I have the following code:
plot(x,y)
rect(xleft, ybottom, xright,ytop,col='green)
The rectangle appear on top of the plot.
Any help will be greatly appreciated,
Judith
2009 Aug 25
3
Regular expression to define contents between parentheses
Hello dear R-helpers,
I haven't been able to figure out of find a solution in the R-help archives about how to delete all the characters contained in groups of parenthesis. I have a vector that looks more or less like this:
myvector<-c("something (80 km/h, sd) & more (6 kg/L,sd)", "somethingelse (48 m/s, sd) & moretoo (50g/L , sd)")
I want to extract all
2012 Feb 06
2
Reordering levels of a factor when the factor is part of a data frame
Hello R-users,
I have a data frame whose names of columns I don't know a priori, but the user of my code will know them. The user is supposed to save the name of the column that will need some reordering of the levels of the factor later on. The name of the column will be saved in an object called:
variab
the data frame is called df.
If I try to the do following:
2004 Dec 09
4
Scatterplot question
Dear list members,
I have a probably simple question concerning scatterplots: I want to
draw a plot with one X but several Y columns, so that every group
of samples gets a different symbol. My table looks like this:
X Y1 Y2 Y3
1 1
2 3
3 5
4 7
5 9
6 11
7 13
8 15
Simple in Excel or StarOffice, but how do I do it in R?
Thanks a lot
Judith
2008 Feb 21
3
R console closes on its own
Dear R-experts,
I am running a script that has the following
structure:
windows(height=5.5,width=8)
dat<-read.csv("myfile.csv")
names(dat)<-c('a','b','c','d')
dat<-dat[,1:4]
xyplot(dat$a~dat$b)
Then I usually save the plot as a PDF (from the
menu in the R console). I can save the PDF twice in a
row; but at the third time, right when I
2008 Apr 23
2
Replecing empty values with a letter (continuation)
Sorry, I hit the send botton by accident. Here is my
code so far:
dat<-read.csv('myfile.csv', na.strings="")
dat[is.na(dat]<-'N'
But it doesn't replace the <NA> for the letter 'N'.
I am using R v 2/7/0, running it under Windows
XP.
Thank you,
Judith
2015 Sep 03
1
Doubts on incremental backup and command repetition
Hi,
I am trying to use rsync for incremental backup and I am facing some issues. I would like to ask your help to understand what is going on and have the proper command line.
1) my goal is
I the following folders:
./dest:
file3.txt
./orig:
file1.txt file10.txt file2.txt file20.txt
And I would like to have as incremental backup
./dest:
backup file1.txt file2.txt file3.txt
2008 Dec 16
2
Syncing file with reference to another one
I have the following situation: file2 on remote host and file1 on
localhost. file1 and file2 are mostly the same. Simply running
rsync remotehost:file2 file2
will actually transfer the entire file. But I would like to use the
factt that I have local file1 that is mostly similar to file2. I.e.
how can I make rsync to use file1 as a reference while transferring
file2? (cp file1 file2 locally and
2011 Jul 19
1
list.files recursively to find files in a specific way...
Hi, all:
My folders are organized in such a way:
root
----branch1
---------------A
-----------------------file1.txt
-----------------------file2.txt
---------------B
-----------------------file1.txt
-----------------------file2.txt
----branch2
---------------A
-----------------------file1.txt
-----------------------file2.txt
---------------B
-----------------------file1.txt