Re: [R] Converting CSV file to UTF-8 encoding

2020-05-05 Thread Mehdi Dadkhah
Thank you! With best regards, On Tue, May 5, 2020 at 3:47 PM Richard O'Keefe wrote: > What do you mean "ANSI"? > Do you mean ASCII? In that case there is nothing to be done. > Do you mean some member of the ISO 8859 family of 8-bit character sets? > Do you mean some Microsoft-specific code page

Re: [R] Converting CSV file to UTF-8 encoding

2020-05-05 Thread Mehdi Dadkhah
Thank you! it works for me. With best regards, On Tue, May 5, 2020 at 3:27 PM Rasmus Liland wrote: > On 2020-05-05 15:12 +0430, Mehdi Dadkhah wrote: > > I have a CSV file which its encoding is > > ANSI. How can i change its encoding to > > UTF-8 in R? > > Hi! > > I do not know about ANSI, but to

Re: [R] Question about combining foodwebs and phylogenetic trees

2020-05-05 Thread Bert Gunter
I think it unlikely that you'll get such specific help here. Try posting on: R-SIG-phylo: R SIG on phylogenetic and comparative methods and analyses instead. (I also assume you are aware of: https://CRAN.R-project.org/view=Phylogenetics , but I have no idea whether it is helpful). Bert Gunter

[R] Question about combining foodwebs and phylogenetic trees

2020-05-05 Thread Charles Lehnen
I have trying to combine foodweb outputs like the bipartite package's plotweb() function of bipartiteD3’s bipartite_D3 function with phylogenetic trees, similar to a tanglegram. Because of the very large size and a high amount of variability in my dataset, standard tanglegrams turn out very convolu

Re: [R] How to use pakcage R0

2020-05-05 Thread cpolwart
R0 = estimate.R(germany_vect, mGT, begin=germany_vect[1], end=germany_vect[length(germany_vect)], methods="EG", pop.size=pop_de, nsim=100) Error in begin.nb:end.nb : argument of length 0 germany_vect[1] 1 184 germany_vect[length(germany_vect)] 57 488 ``` What might be the problem her

[R] [R-pkgs] multivariance: Measuring Multivariate Dependence Using Distance Multivariance

2020-05-05 Thread Björn Böttcher
Dear R-users and developers, based on a recent series of of papers [1-6] the package 'multivariance' (available on CRAN; latest version 2.3.0, 2020-04-23) was developed. It provides in particular: + *fast global tests of independence* for an arbitrary number of variables of arbitrary dimensio

[R] [R-pkgs] squashinformr: Politely web scrape data from SquashInfo in R

2020-05-05 Thread Hayden MacDonald
Hi all, I hope this message finds you well. I have developed a new R package, squashinformr, that allows users to web scrape data on the Professional Squash Association World Tour and other squash tournaments. Currently, squashinformr provides functions for accessing data on players, rankings, and

Re: [R] COVID-19 datasets...

2020-05-05 Thread James Spottiswoode
Sure. COVID-19 Data Repository by the Center for Systems Science and Engineering (CSSE) at Johns Hopkins University is available here: https://github.com/CSSEGISandData/COVID-19 All in csv fiormat. > On May 4, 2020, at 11:31 AM, Bernard McGarvey > wrote: > > Just curious does anyone know of

Re: [R] Converting CSV file to UTF-8 encoding

2020-05-05 Thread Richard O'Keefe
What do you mean "ANSI"? Do you mean ASCII? In that case there is nothing to be done. Do you mean some member of the ISO 8859 family of 8-bit character sets? Do you mean some Microsoft-specific code page, such as CP-1252? (Microsoft CP-437 and CP-1252 "ANSI" but if they have any connection whateve

[R] How to use pakcage R0

2020-05-05 Thread Luigi Marongiu
Dear all, I have been trying to use the package R0 https://www.rdocumentation.org/packages/R0/versions/1.2-6/topics/estimate.R but the manual is not so rich of words. The example given is based on the named vector Germany.1918 ``` > library("R0") > data(Germany.1918) > Germany.1918 1918-09-29 1918-

Re: [R] Converting CSV file to UTF-8 encoding

2020-05-05 Thread Rasmus Liland
On 2020-05-05 15:12 +0430, Mehdi Dadkhah wrote: > I have a CSV file which its encoding is > ANSI. How can i change its encoding to > UTF-8 in R? Hi! I do not know about ANSI, but to read latin1 encoded csv files into readr, do this: Determine that your file is latin1-encoded: rasmus@

[R] Converting CSV file to UTF-8 encoding

2020-05-05 Thread Mehdi Dadkhah
Hi, I hope you are doing well! I have a CSV file which its encoding is ANSI. How can i change its encoding to UTF-8 in R? Many thanks! With best regards, -- *Mehdi Dadkhah* [[alternative HTML version deleted]] __ R-help@r-project.org mailing l

Re: [R] PCRE configure problem with R-4.0.0

2020-05-05 Thread Ista Zahn
> |> > Linux Mint 17.2 is based on Ubuntu 14.04, which has been released in > |> > April 2014, while PCRE2 has been released in 2015. > |> > |> Moreover, support for 17.2 ended over a year ago (according to > |> https://en.wikipedia.org/wiki/Linux_Mint_version_history). I suggest > |> upgrading t

Re: [R] PCRE configure problem with R-4.0.0

2020-05-05 Thread Patrick Connolly
On Mon, 04-May-2020 at 11:03AM -0400, Ista Zahn wrote: |> On Mon, May 4, 2020 at 3:51 AM Ivan Krylov wrote: |> > |> > First of all, you mentioned Linux Mint, so you might get better advice |> > on R-SIG-Debian mailing list. |> > |> > On Mon, 4 May 2020 16:15:42 +1200 |> > Patrick Connolly wrote:

Re: [R] if else statement

2020-05-05 Thread PIKAL Petr
Hi another possible version b$pheno <- ((b$FLASER==2) | (b$PLASER==2))+1 Cheers Petr > -Original Message- > From: R-help On Behalf Of Rui Barradas > Sent: Monday, May 4, 2020 8:32 PM > To: sokovic.anamar...@gmail.com; r-help > Subject: Re: [R] if else statement > > Hello, > > Here