Displaying 20 results from an estimated 1000 matches similar to: "Compile error on cygwin"
2009 Nov 04
2
splitting scientific names into genus, species, and subspecies
I have a list of scientific names in a data set. I would like to split the
names into genus, species and subspecies. Not all names include a
subspecies. Could someone show me how to do this?
My example code is:
a <- matrix(c('genusA speciesA', 10,
'genusB speciesAA', 20,
'genusC speciesAAA subspeciesA', 15,
2006 Dec 30
3
getting a new factor
Hi all,
Given a data frame as...
> head(veg)
genus species trophia type geo zone importance
1 Sphagnum subsecundum M A En 100
2 Sphagnum denticulatum M A En 200
3 Molinia caerulea M A En 300
4 Sphagnum flexuosum M A En 400
5 Juncus squarrosus M A En 500
6
2000 Mar 08
1
Coercing character to factor
I just downloaded version 1.0.0 and several binary libraries (VR, rpart,
norm, stataread) - WinNT version. I then converted a file from Stata 6.0
to R format by using the stataread library. The file converts perfectly
and I was able to use the VR function lda on the dataframe without
difficulty. I then tried to use the same dataframe with RPART. The model
statement:
2011 Mar 10
1
PROC NLMIXED what package equivalent in R?
To account for likely differences between
families in naturalization rates, we fitted a
generalized linear mixed model, using
PROC NLMIXED in SAS10, with the
naturalization rate per genus (that is, the
number of naturalized species in a genus as
a proportion of the total number of introduced
species in a genus) as the response
variable, a variable coding genera as containing
at least one native
2013 Jan 31
2
rbind Missing Something: Need New Eyes
I don't see what's missing in my statements to add rows to a data frame
and someone else will probably see what needs to be added to the statements.
The data frame has this structure (without any data):
$ PHYLUM : chr
$ SUBPHYLUM : chr
$ SUPERCLASS : chr
$ CLASS : chr
$ SUBCLASS : chr
$ INFRACLASS : chr
$ SUPERORDER : chr
$ ORDER : chr
$ SUBORDER :
2011 Aug 29
1
MuMIn Problem getting adjusted Confidence intervals
Hello R users
I'm using MuMIn but for some reason I'm not getting the adjusted confidence
interval and uncoditional SE whe I use model.avg().
I took into consideration the steps provided by Grueber et al (2011)
Multimodel inference in ecology and evolution: challenges and solutions in
JEB.
I created a global model to see if malaria prevalence (binomial
distribution) is related to any
2011 May 20
1
Multiple count if style "queries"
Dear List,
I am looking to calculate two things from my data frame and was after some advice. For the example below i want to know.
1. How many unique Orders/Families and Genera there are per eco-name
2. How many incidences are there for each Order/Family and Genus there are per eco-region
I have 650 econame.
I.e for Biak-Numfoor rain forests there are 2 orders, 2 families and two genera.
2010 Mar 08
1
(box-) plot annotation: italic within paste?
Dear R users,
in the example below the name of the genus will be displayed in the main
titles using the variable predictor[i] and paste.
I would like to have the genus name in italic. However all my attempts
using expression and substitute failed.
Does anybody know a solution?
Thanks a lot in advance. bernd
Acrobeles <-c(65.1,0.0,0.0,0.0,0.0,0.0)
Acrobeloides
2011 Jun 21
2
par code help
I am making a barplot using barplot2 from gplots where each bar
represents a specific tree species. I have formatted the species names
on the x-axis so that the genus name is above the species name and
have then rotated the labels 45 degrees to save room. This is my code:
>columncolor<-c("grey20", "grey20", "grey20", "grey70",
2009 Feb 18
2
Counting/processing a character vector
Dear List,
I have a data set stored in the following format:
> head(dat, n = 10)
id sppcode abundance
1 10307 10000000 1
2 10307 16220602 2
3 10307 20000000 5
4 10307 20110000 2
5 10307 24000000 1
6 10307 40210000 83
7 10307 40210102 45
8 10307 45140000 1
9 10307 45630000 1
10 10307 45630600 41
>
2011 May 23
2
Formatting names.arg
I am making a barplot using barplot2 from gplots and would like to
format the names of my categorical variables (tree species) on the x-
axis so that the genus name is above the species name (to save room).
My code so far is:
speciesnames<-c("Dialium guianensis", "Inga alba", "Tachigali
versicolor", "Brosimum utile", "Caryocar
2011 Sep 05
3
rsync crash behind a firewall [cygwin]
As part of coreutils' bootstrap, rsync crashes on cygwin:
$ /usr/bin/rsync \
--delete \
--exclude '*.s1' \
-Lrtvz 'translationproject.org::tp/latest/coreutils/' \
'po/.reference'
rsync: failed to connect to translationproject.org (*inet_ntop failed*): Connection refused (111)
Segmentation fault (core dumped)
$ cat rsync.exe.stackdump
2005 Oct 24
1
Pb with function taxo2phylog (package ade4)
Hello
I'm using the package ade4 to obtain classification from a .txt file. I
use the following commands:
cronquist <- read.table("cronquist.txt", h = T, row.names = 8)
cronquist <- as.taxo(cronquist[7:1])
cro.phy <- taxo2phylog(cronquist)
in which cronquist.txt is a file with a classification of 218 genus of tree
species from french Guiana.
We I try to use the
2008 Mar 20
2
Installation of R, Sweave, ESS and [X]Emacs on Windows?
I'm trying to get R, Sweave, ESS and XEmacs or emacs all installed and
working together on my Windows XP Pro system. I've got R 2.6.0 working
just fine, installed from the R Windows installer. I also have
CYGWIN_NT-5.1 with XEmacs 21.4 working okay. Can anyone point me to any
documentation on how to bring these together so that R code typed in
Xemacs can be run in R? I found the ESS
2004 Aug 25
2
image recognition in R
I have some images of bugs (insects) with many bugs in each image.
I want to count the number of bugs and to have an estimate of the area
of each one.
I've tried searching for an R package to do so with no success. Is this
a task that I should pursue doing in R or should I restrict myself to
specific image analysis software (e.g. ImageJ)?.
The reason I consider R would be a good choice is
2010 Mar 15
5
AEC strangest behavior
If more than one speaker receives the *same* signal, it doesn't matter the
number of speakers. It only gets tricky when the speakers are playing slightly
different signals (e.g. from a stereo song).
Jean-Marc
Quoting Greger Burman <greger at mobile-robotics.com>:
> One thing I can think of is if you are using two or more speakers. If the
> speakers are not at the exact same
2002 Jun 11
2
Some files always copied to W2K system
I am copying from a rsync --daemon
(have tried from both W2K/cygwin & Linux daemons) to a W2K machine.
Some files get copied every time even though they haven't been touched
since the last copy. I have experimented and deturmined that the file
size seems to be important. If the file is between 926 & 933 bytes
long it will always be copied!! Other sizes and possibly other aspects of
2007 Nov 27
1
Rsync stalls
I am trying to rsync a machine running CYGWIN_NT-5.2 server 1.5.24(0.156/4/2)
to another which runs FreeBSD 6.2-STABLE; both with rsync 2.6.9.
I'm trying to "pull" the files from the Cygwin machine with:
/usr/local/bin/rsync -avz --delete --delete-excluded -e "ssh"
[user]@[host]:"/cygdrive/e/Shared" /home/[host]
However, rsync stalls. This seems to be
2008 Jan 15
1
flac default is -l8 (but says -l5)
$ ls -l a.wav
-rw-r--r-- 1 rootboy None 30587804 Jan 7 23:00 a.wav
$ flac -v
flac 1.2.1
$ type flac
flac is hashed (/usr/bin/flac)
$ uname -a
CYGWIN_NT-5.1 DFBJ7M51 1.5.24(0.156/4/2) 2007-01-31 10:57 i686 Cygwin
$ flac -f a.wav
a.wav: wrote 16323314 bytes, ratio=0.534
$ flac -l8 -f a.wav
a.wav: wrote 16323314 bytes, ratio=0.534
$ flac -l5 -f a.wav
a.wav: wrote 16398095 bytes, ratio=0.536
$
2018 Apr 17
2
iterative read - write
Hi all,
I would like to set up an iterative read & write sequence to avoid
reading and writing each file one at a time.
Hundreds of data sets to re-calculate.? The code I have works well
individually, but would like to set up an iterative read, calculate and
write changing the input and output file names each iteration.
I? think I have read that there is an R? feature using