Re: [R] Error message in meta-analysis package Metafor-weights =""

2020-06-23 Thread Viechtbauer, Wolfgang (SP)
Dear Kobby, Please post the output of sessionInfo() and class(result.md). Best, Wolfgang >-Original Message- >From: K Amoatwi [mailto:amoatwi...@gmail.com] >Sent: Monday, 22 June, 2020 22:30 >To: Viechtbauer, Wolfgang (SP) >Cc: r-help@r-project.org >Subject: Re: [R] Error message in

[R] Help with locating error on import of data

2020-06-23 Thread Ahson via R-help
I have imported data from an Excel file and I am getting errors: > library(readxl) > Balance_sheet <- read_excel("Y:/All Documents/Training/Data/Routines for > consolidating all the data/Individual tables/AIM > companies/Balance_sheet.xlsx", na = "") New names: * `` -> ...6 * `` -> ...7 * `` ->

Re: [R] Error message in meta-analysis package Metafor-weights =""

2020-06-23 Thread Viechtbauer, Wolfgang (SP)
You have loaded the 'meta' package after 'metafor' and then forest() will try to use the corresponding function from the meta package and not metafor. With: metafor::forest(result.md) it should work. Best, Wolfgang >-Original Message- >From: K Amoatwi [mailto:amoatwi...@gmail.com]

Re: [R] Error message in meta-analysis package Metafor-weights =""

2020-06-23 Thread K Amoatwi
Thank Michael and Wolfgang, very much appreciated. Kobby On Tue, Jun 23, 2020 at 11:39 AM Michael Dewey wrote: > The two packages both define a function forest. When you load the second > package R will have told you that it was masking the definition of > forest from the first package. If you

Re: [R] Error message in meta-analysis package Metafor-weights =""

2020-06-23 Thread Michael Dewey
The two packages both define a function forest. When you load the second package R will have told you that it was masking the definition of forest from the first package. If you had loaded them in the other order it would have masked the other one. In fact it masked seven functions in total

Re: [R] Help with locating error on import of data

2020-06-23 Thread Rui Barradas
Hello, Try setting argument col.names = FALSE, it seems that the function is not find column headers and is choosing its own. Balance_sheet <- read_excel("Y:/All Documents/Training/Data/Routines for consolidating all the data/Individual tables/AIM companies/Balance_sheet.xlsx", na = "",

Re: [R] Help with locating error on import of data

2020-06-23 Thread Patrick (Malone Quantitative)
It looks like it's looking for column names in the first row of your Excel sheet and not finding them. What does the first row contain? On Tue, Jun 23, 2020 at 10:57 AM Ahson via R-help wrote: > I have imported data from an Excel file and I am getting errors: > > > library(readxl) > >

Re: [R] Error message in meta-analysis package Metafor-weights =""

2020-06-23 Thread K Amoatwi
Dear Wolfgang, I have posted the requested information you asked for. > sessionInfo() R version 4.0.1 (2020-06-06) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 18362) Matrix products: default locale: [1] LC_COLLATE=English_United States.1252

Re: [R] Error message in meta-analysis package Metafor-weights =""

2020-06-23 Thread K Amoatwi
Dear Wolfgang, Yes! The "metafor::forest(result.md)" works Thank you very much. Any reason why "forest(result.md)" was not working? Kobby On Tue, Jun 23, 2020 at 11:18 AM Viechtbauer, Wolfgang (SP) < wolfgang.viechtba...@maastrichtuniversity.nl> wrote: > You have loaded the 'meta' package

[R] How to create path for OpenBUGS into R using R2OpenBUGS with new Wineskin-Winery 1.8.4.1/Wineskin2.9.06-1 on MacOS Catalina 10.15.5

2020-06-23 Thread Jordan Rogan
Hi! I recently downloaded the new Wineskin-Winery 1.8.4.1/Wineskin2.9.06-1 onto my mac adapted for the limitations for MacOS Catalina 10.15.5 that caused old versions of Wine to no longer work. I downloaded it so that I could download the Windows program OpenBUGS and use R2openBUGS in R to use

[R] How to convert column from millisecond epoch time to yyyy-mm-dd GMT

2020-06-23 Thread Gregg via R-help
Hello to all the smart people out there I have a data.frame labeled itsm_service_type_field. I need to convert the Timestamp field which is epoch time in milliseconds to a -mm-dd GMT Date.  Data.frame format is below. I've attempted to use the lapply and as.POSIXct functions to convert

[R] RLQ and data.frame scores PCA

2020-06-23 Thread Adriana Acero
Hi everybody, My name is Adriana and I'm working with Community Ecology and Geometric morphometric of bats. At this moment, I'm trying to perform an RLQ analysis with ADE4, with a data frame that already contains the mean shape scores (PCA) of some species of bats (Matriz Q). I couldn't do the

Re: [R] R 4.0.2 is released

2020-06-23 Thread array chip via R-help
My current version of R is 3.6.3, there is no problem of installing packages there. I also have no problem installing bioconductor packages with 3.6.3.  But installing packages from biocondcutor failed as well on 4.0.2 (also tried 4.0.0 and failed, too) On Tuesday, June 23, 2020, 08:56:45 PM

Re: [R] How to convert column from millisecond epoch time to yyyy-mm-dd GMT

2020-06-23 Thread William Dunlap via R-help
When you give an example it really helps to (a) show the data as the output of dput() or dump() so one can copy and paste into R and (b) show the result (the wrong value or error message) that you got. You example is missing some quotes and has an unneeded call to lapply(). > dump("Data",

Re: [R] How to convert column from millisecond epoch time to yyyy-mm-dd GMT

2020-06-23 Thread Enrico Schumann
On Tue, 23 Jun 2020, Gregg via R-help writes: > Hello to all the smart people out there > > I have a data.frame labeled itsm_service_type_field. I need to convert > the Timestamp field which is epoch time in milliseconds to a > -mm-dd GMT Date.  > > Data.frame format is below. > > I've

Re: [R] Help with locating error on import of data

2020-06-23 Thread jim holtman
one of the problems with Excel is that people can put anything in any column. You might want to restrict which columns you are reading since if it finds data in some cells and there is not a header, it will create one. Jim Holtman Data Munger Guru What is the problem that you are trying to

Re: [R] How to create path for OpenBUGS into R using R2OpenBUGS with new Wineskin-Winery 1.8.4.1/Wineskin2.9.06-1 on MacOS Catalina 10.15.5

2020-06-23 Thread Jeff Newmiller
While you might get lucky here, there are two indicators in your post that suggest a different venue would be appropriate: one is that your question is very specific regarding a contributed package... this venue is about the language and base packages. Second, your customized (Wine+MacOSX)

Re: [R] RLQ and data.frame scores PCA

2020-06-23 Thread Bert Gunter
Wrong list. This list is for general R programming. Few of us here will have a clue about RLQ analysis and other subject specific methodology. I suggest you post on the r-sig-ecology of perhaps r-sig-phylo list (not sure which is more appropriate) where you should find both the interest and

Re: [R] R 4.0.2 is released

2020-06-23 Thread array chip via R-help
Hi, I downloaded R4.0.2 and installed it succesffully without any error. However, when I opened up a R session (using x64) and tried to install packages, I got the following error message: > utils:::menuInstallPkgs() Warning: failed to download mirrors file (internet routines cannot be

Re: [R] Help with locating error on import of data

2020-06-23 Thread Rasmus Liland
On 2020-06-23 17:24 +0100, Rui Barradas wrote: > Às 15:56 de 23/06/2020, Ahson via R-help escreveu: > > I have imported data from an Excel file > > and I am getting errors: > > Try setting argument col.names = FALSE, it > seems that the function is not find column > headers and is choosing its

[R] rNOMADS Package

2020-06-23 Thread Philip
Does anyone out there have any advise about how to download the wgrib2 software from the National Weather Service onto a Windows 10 computer? I tried using the instructions from Bovine Aerospace website but am not sure if it loaded correctly. Thanks, Philip [[alternative HTML version