Re: [R] R Shiny Help - Trouble passing user input columns to emmeans after ANOVA analysis

2024-06-06 Thread Ivan Krylov via R-help
В Wed, 5 Jun 2024 19:07:19 -0500 I B пишет: > However, I am getting the following error: *"Argument is of length > zero."* > if (selected_graph() == cols$column2 | selected_model() == "Main > effects model") { The error must be coming from here. At least one of selected_graph(),

Re: [R] R Shiny Help - Trouble passing user input columns to emmeans after ANOVA analysis

2024-06-06 Thread Bert Gunter
Wrong list. Shiny is software from an external provider, POSIT (formerly RStudio) and not part of R, itself. They have a community support site at: https://forum.posit.co/?_gl=1*bh848i*_ga*MTY2NjcwNzQ4LjE3MTYyMzkzODQ.*_ga_2C0WZ1JHG0*MTcxNzY4NTExNi4yLjAuMTcxNzY4NTExNi4wLjAuMA .. Cheers, Bert On

[R] R Shiny Help - Trouble passing user input columns to emmeans after ANOVA analysis

2024-06-06 Thread I B
Hello everybody, I have experience coding with R, but am brand new to R Shiny. I am trying to produce an application that will allow users to upload their own dataset, select columns they want an ANOVA analysis run on, and generate graphs that will allow users to view their results. However, I am

Re: [R] anyone having trouble accesing CRAN?

2023-11-20 Thread peter dalgaard
Notice that getCRANmirrors() without the local.only=TRUE gets its list from ...tada cran.r-project.org. Arguably, that might be in for a change. Meanwhile, you might just use cloud.r-project.org right away. -pd > On 15 Nov 2023, at 20:23 , Ivan Krylov wrote: > > On Wed, 15 Nov 2023

Re: [R] anyone having trouble accesing CRAN?

2023-11-15 Thread Uwe Ligges
Yes, the sysadmins at WU Vienna are upgrading the CRAN master. The mirrors should not be affected. Best, Uwe Ligges On 15.11.2023 20:25, Rui Barradas wrote: Às 19:13 de 15/11/2023, Christopher W. Ryan via R-help escreveu: at https://cran.r-project.org/ I get this error message:

Re: [R] anyone having trouble accesing CRAN?

2023-11-15 Thread Christopher W. Ryan via R-help
Ah, thanks all. Guess I missed the message before they started the maintenance. --Chris Ivan Krylov wrote: > On Wed, 15 Nov 2023 14:13:00 -0500 > "Christopher W. Ryan via R-help" wrote: > >> Anyone seeing similar? > > Same for me. > > While it worked, CRAN website had the following message:

Re: [R] anyone having trouble accesing CRAN?

2023-11-15 Thread Rui Barradas
Às 19:13 de 15/11/2023, Christopher W. Ryan via R-help escreveu: at https://cran.r-project.org/ I get this error message: = Secure Connection Failed An error occurred during a connection to cran.r-project.org. PR_END_OF_FILE_ERROR Error code: PR_END_OF_FILE_ERROR The

Re: [R] anyone having trouble accesing CRAN?

2023-11-15 Thread Ivan Krylov
On Wed, 15 Nov 2023 14:13:00 -0500 "Christopher W. Ryan via R-help" wrote: > Anyone seeing similar? Same for me. While it worked, CRAN website had the following message: >> The CRAN Admin Team will perform system upgrades during the period >> Wednesday November 15 until Thursday November 16,

Re: [R] anyone having trouble accesing CRAN?

2023-11-15 Thread Duncan Murdoch
Yes, they posted a message about this recently. There's some maintenance happening and CRAN will be unavailable for a while. I can't find that message, but I think it was 2 or 3 days of downtime. Duncan Murdoch On 15/11/2023 2:13 p.m., Christopher W. Ryan via R-help wrote: at

[R] anyone having trouble accesing CRAN?

2023-11-15 Thread Christopher W. Ryan via R-help
at https://cran.r-project.org/ I get this error message: = Secure Connection Failed An error occurred during a connection to cran.r-project.org. PR_END_OF_FILE_ERROR Error code: PR_END_OF_FILE_ERROR The page you are trying to view cannot be shown because the

Re: [R] lattice xyplot: trouble about the use of yscale.components to start the yscale from zero

2023-01-24 Thread Laurent Rhelp
Thank you very much for the typo !! and the example about the consequences.  I did not know about the option warnPartialMatchDollar = TRUE, I tested it with my mistake it is very effective indeed. This option should be TRUE by default. I edited my mistake but there is still the trouble, the

Re: [R] lattice xyplot: trouble about the use of yscale.components to start the yscale from zero

2023-01-22 Thread Deepayan Sarkar
On Sun, Jan 22, 2023 at 6:48 PM Laurent Rhelp wrote: > Dear RHelp-list, > > I want to choice my scale for every panel in a lattice graph according to > the ylim range of every panel, with 10 ticks and with a start from 0. > Also I want to plot a grid >according to the y ticks (I did that

[R] lattice xyplot: trouble about the use of yscale.components to start the yscale from zero

2023-01-22 Thread Laurent Rhelp
Dear RHelp-list,  I want to choice my scale for every panel in a lattice graph according to  the ylim range of every panel, with 10 ticks and with a start from 0. Also I want to plot a grid   according to the y ticks (I did that in the panel argument with the panel.abline function) .  So I

Re: [R] [FORGED] Having trouble understanding the sapply/vapply documentation and behaviour of USE.NAMES

2020-04-09 Thread Rolf Turner
On 10/04/20 10:59 am, petr smirnov wrote: I am having trouble parsing the documentation for sapply and vapply, and I cannot understand if it explains the different behaviour of USE.NAMES between the two. I noticed the following different behaviour between the two functions: sapply(c("1"=1,

[R] I have trouble loading histogram :(

2015-09-14 Thread massmatics
Make a histogram and boxplot of the data sets: *south.csv*. south.csv (the following is how it is displayed in the excel file) x -> Acolumn, 1st row 12 10 10 13 12 12 14 7 16 18 8 29 12 14 33 10 6 18 11 25 8 16 14 11 10 20 14 11 12 13 -> Acolumn, 31st row This is the code I used to run but

Re: [R] I have trouble loading histogram :(

2015-09-14 Thread Sarah Goslee
Is this homework? We don't do homework here. Two hints, though: use str() to look at your data after you read it into R. don't use attach(). Sarah On Mon, Sep 14, 2015 at 10:45 AM, massmatics <2hanl...@naver.com> wrote: > Make a histogram and boxplot of the data sets: *south.csv*. > > south.csv

Re: [R] I have trouble loading histogram :(

2015-09-14 Thread John Kane
0700 (PDT) > To: r-help@r-project.org > Subject: [R] I have trouble loading histogram :( > > Make a histogram and boxplot of the data sets: *south.csv*. > > south.csv (the following is how it is displayed in the excel file) > x -> Acolumn, 1st row > 12 > 10 > 10 >

[R] Hausman Test trouble - plm

2015-07-17 Thread TDix
Hi there. I am a student / very fresh R user who is currently having some issues running the procedure for a Hausman test in R. The head for my data sheet named data looks like this: BirdSeason Gully Grouping Food Habitat.Type 1 83 111 0.152

Re: [R] Hausman Test trouble - plm

2015-07-17 Thread TDix
Might have just solved my own problem team! I assumed that the issue here was the replicated samples, and so added a column and gave a number to each replicate. R seemed to like this and was happy to run the test! A significant result tells me that the fixed effects model is the most preferable

Re: [R] Having some Trouble Data Structures

2012-11-04 Thread Jeff Newmiller
: 28 October 2012 15:27 To: Benjamin Ward (ENV); r-help@r-project.org Subject: Re: [R] Having some Trouble Data Structures Search on ragged array. My preferred approach is to use a data frame with one row per effector that repeats the per-ID information. If that occupies too much memory, you can

[R] Having some Trouble Data Structures

2012-10-28 Thread Benjamin Ward (ENV)
Hi All, I'm trying to run a simulation of host-pathogen evolution based around individuals. What I need to have is a dataframe or table of some description - describing all the individuals of a pathogen population (so far I've implemented this as a matrix): ID No_of_Effectors

Re: [R] Having some Trouble Data Structures

2012-10-28 Thread Uwe Ligges
On 28.10.2012 10:32, Benjamin Ward (ENV) wrote: Hi All, I'm trying to run a simulation of host-pathogen evolution based around individuals. What I need to have is a dataframe or table of some description - describing all the individuals of a pathogen population (so far I've implemented this

Re: [R] Having some Trouble Data Structures

2012-10-28 Thread Jeff Newmiller
Search on ragged array. My preferred approach is to use a data frame with one row per effector that repeats the per-ID information. If that occupies too much memory, you can setup another data frame with one row per ID and refer to that information as using lapply and subset the effectors

Re: [R] Having some Trouble Data Structures

2012-10-28 Thread arun
) paste(sample(1:1,3,replace=TRUE)),sep=,) A.K. - Original Message - From: Benjamin Ward (ENV) b.w...@uea.ac.uk To: r-help@r-project.org r-help@r-project.org Cc: Sent: Sunday, October 28, 2012 5:32 AM Subject: [R] Having some Trouble Data Structures Hi All, I'm trying to run

Re: [R] Having some Trouble Data Structures

2012-10-28 Thread arun
. - Original Message - From: Benjamin Ward (ENV) b.w...@uea.ac.uk To: r-help@r-project.org r-help@r-project.org Cc: Sent: Sunday, October 28, 2012 5:32 AM Subject: [R] Having some Trouble Data Structures Hi All, I'm trying to run a simulation of host-pathogen evolution based around

Re: [R] Rmpi installation trouble

2012-10-10 Thread Prof Brian Ripley
Note: libmpi.dylib: cannot open shared object file: No such file or directory Linux does not have .dylib's: Darwin (part of Mac OS X) does. This is not an R question (it seems to be about your MPI installation) and you need to discuss it with the package maintainer (see the posting quide).

Re: [R] rjags installation trouble

2012-01-11 Thread Martyn Plummer
It looks like you are cross-linking to an earlier version of the JAGS library at run time. Check /sbin/ldconfig -p | grep jags - When compiling rjags, you can hard-code the location of the jags library using the [GNU-specific] configure option --enable-rpath. Martyn On Tue, 2012-01-10 at 10:40

Re: [R] rjags installation trouble

2012-01-11 Thread Ben Bolker
On 12-01-11 11:45 AM, Martyn Plummer wrote: It looks like you are cross-linking to an earlier version of the JAGS library at run time. Check /sbin/ldconfig -p | grep jags - When compiling rjags, you can hard-code the location of the jags library using the [GNU-specific] configure option

[R] rjags installation trouble

2012-01-10 Thread Ben Bolker
Trying to install latest rjags (3-5) from CRAN with JAGS 3.2.0 installed on Ubuntu 10.04, with r-devel ... the bottom line is that it fails while loading with /libs/rjags.so: undefined symbol: _ZN7Console15checkAdaptationERb Has anyone else seen this or is it a glitch somewhere in my

[R] Am having trouble calling a function

2011-08-27 Thread James Rome
In my main R program, I have source(retaanalysis/Functions/doAirport.R) stuff to read data and calculate ads sapply(ads,function(x) {doAirport(x, base)} ) And doAirport has # analyze the flights for a given airport doAirport = function(df, base) { # Get rid of unused runway factor

Re: [R] Am having trouble calling a function

2011-08-27 Thread Carl Witthoft
First of all, please replace your = with - per general R-usage rules. Next: you need to provide a clear listing of doAirport.R so we can tell what it actually is, and what you've done outside the function. That said, my suspicion is that your parent function (the one which calls doAirport)

Re: [R] Am having trouble calling a function

2011-08-27 Thread jim holtman
Add the following to your script: options(error=utils::recover) (actually put it in you Startup script), then learn how to use the debugging in R. On the error, this should provide a trace of the stack so that we know where the error occurs. By learning how to use debug/browser, you will be

[R] If Then Trouble

2011-04-24 Thread Sparks, John James
Dear R Helpers, I have another one of those problems involving a very simple step, but due to my inexperience I can't find a way to solve it. I had a look at a number of on-line references, but they don't speak to this problem. I have a variable with 20 values table (testY2$redgroups) 1

Re: [R] If Then Trouble

2011-04-24 Thread jim holtman
?ifelsethis is vectorized 'if' only handles single values testY2$redgroups - ifelse(testY2$redgroups 17, 17, testY2$redgroups) On Sun, Apr 24, 2011 at 4:10 PM, Sparks, John James jspa...@uic.edu wrote: Dear R Helpers, I have another one of those problems involving a very simple step,

Re: [R] If Then Trouble

2011-04-24 Thread Joshua Wiley
Hi John, On Sun, Apr 24, 2011 at 1:10 PM, Sparks, John James jspa...@uic.edu wrote: Dear R Helpers, I have another one of those problems involving a very simple step, but due to my inexperience I can't find a way to solve it.  I had a look at a number of on-line references, but they don't

Re: [R] If Then Trouble

2011-04-24 Thread Uwe Ligges
On 24.04.2011 22:10, Sparks, John James wrote: Dear R Helpers, I have another one of those problems involving a very simple step, but due to my inexperience I can't find a way to solve it. I had a look at a number of on-line references, but they don't speak to this problem. I have a

Re: [R] Basic Looping Trouble

2011-03-22 Thread Petr Savicky
On Mon, Mar 21, 2011 at 02:28:32PM -0700, armstrwa wrote: Hi all, Forgive me for this basic question. I've been doing some research and haven't been able to figure out how to best do this yet. I have 75 variables defined as vector time series. I am trying to create a script to automate

Re: [R] Basic Looping Trouble

2011-03-22 Thread armstrwa
lt;!DOCTYPE html PUBLIC quot;-//W3C//DTD HTML 4.01 Transitional//ENquot;gt; Thanks, Petr.nbsp; Your insight has helped me out a lot. Billy Petr Savicky-2 [via R] wrote: On Mon, Mar 21, 2011 at 02:28:32PM -0700, armstrwa wrote: gt; Hi all, gt; gt; Forgive me for this basic

[R] Basic Looping Trouble

2011-03-21 Thread armstrwa
Hi all, Forgive me for this basic question. I've been doing some research and haven't been able to figure out how to best do this yet. I have 75 variables defined as vector time series. I am trying to create a script to automate calculations on each of these variables, but I wasn't sure how to

[R] spss imports--trouble with to.data.frame

2009-11-13 Thread Paul Johnson
My students are working with several SPSS dataset provided by the European Social Survey. If you register your name, you can download it too. This is the 2004 data, for example: http://ess.nsd.uib.no/ess/round2/ I cannot give you the European Survey dataset, but you can download it for free if

Re: [R] spss imports--trouble with to.data.frame

2009-11-13 Thread Peter Ehlers
I can't really help you with your problem, but maybe importing with use.value.labels=FALSE will at least get rid of the 'duplicated levels' warnings. -Peter Ehlers Paul Johnson wrote: My students are working with several SPSS dataset provided by the European Social Survey. If you register

Re: [R] nls convergence trouble

2008-09-04 Thread Benoit Boulinguiez
: r-help@r-project.org Objet : Odp: [R] nls convergence trouble Hi Excel fit is not exceptionally good. Try fff-function(a,b) (V + b * m * a + C0 * V * b - ((C0 * V * b)^2 + 2 * C0 * + b * V^2 - 2 * C0 * V * m * a * b^2 + V^2 + 2 * V * m * a * + b + (b * m * a)^2)^(1/2))/(2 * b * m

Re: [R] nls convergence trouble

2008-09-04 Thread Petr PIKAL
/Cordialement Benoit Boulinguiez -Message d'origine- De : Petr PIKAL [mailto:[EMAIL PROTECTED] Envoyé : mercredi 3 septembre 2008 17:58 À : Benoit Boulinguiez Cc : r-help@r-project.org Objet : Odp: [R] nls convergence trouble Hi Excel fit is not exceptionally good. Try

Re: [R] nls convergence trouble

2008-09-04 Thread Christian Ritz
Hi Benoit, another way of making Petr's point is by looking at the profile log likelihood function for b; that is, only estimating the a parameter for a grid of b values: ## Defining mean function for fixed b lgma - function(b){ function(C0, m, V, a){ (V + b * m * a + C0 * V * b - ((C0 *

Re: [R] nls convergence trouble

2008-09-04 Thread Gabor Grothendieck
# 1. Supplying the derivatives results in convergence: lgmg - function(a, b, C0, m, V) { + e - expression((V + b * m * a + C0 * V * b - ((C0 * V * b)^2 + 2 * + C0 * b * V^2 - 2 * C0 * V * m * a * b^2 + V^2 + 2 * V * m * + a * b + (b * m * a)^2))/(2 * b * m)) + val - eval(e) + attr(val,

[R] nls convergence trouble

2008-09-03 Thread Benoit Boulinguiez
Hi, Parameters assessment in R with nls doesn't work, though it works fine with MS Excel with the internal solver :( I use nls in R to determine two parameters (a,b) from experimental data. m VC0 CeQe 1 0.0911 0.0021740 3987.581 27.11637

Re: [R] nls convergence trouble

2008-09-03 Thread Gabor Grothendieck
Try squaring both sides of the formula. On Wed, Sep 3, 2008 at 10:01 AM, Benoit Boulinguiez [EMAIL PROTECTED] wrote: Hi, Parameters assessment in R with nls doesn't work, though it works fine with MS Excel with the internal solver :( I use nls in R to determine two parameters (a,b) from

[R] lme4 install trouble

2007-10-11 Thread David Reitter
After upgrading to R 2.6.0, I'm having trouble running lmer: model - lmer(primed ~ log(dist.time)*role + 1|target.utt, data=data.utts) Error in UseMethod(as.logical) : no applicable method for as.logical So I thought I'd upgrade lme4 to the latest version, but unfortunately the compilation

Re: [R] lme4 install trouble

2007-10-11 Thread Prof Brian Ripley
installing. Try R --vanilla .libPaths() library(Matrix) searchpaths() # and look where Matrix came from. sessionInfo() # and check the Matrix version packageDescription(Matrix) # and check the Built: line contains 2.6.0 On Thu, 11 Oct 2007, David Reitter wrote: After upgrading to R 2.6.0, I'm

Re: [R] lme4 install trouble

2007-10-11 Thread Douglas Bates
On 10/11/07, David Reitter [EMAIL PROTECTED] wrote: After upgrading to R 2.6.0, I'm having trouble running lmer: model - lmer(primed ~ log(dist.time)*role + 1|target.utt, data=data.utts) Error in UseMethod(as.logical) : no applicable method for as.logical That problem originates

Re: [R] lme4 install trouble

2007-10-11 Thread David Reitter
Thank you both very much for your replies. The problem was indeed that the updated libraries were installed in the wrong place and the code below helped me solve this quickly. -- David Reitter ICCS/HCRC, Informatics, University of Edinburgh http://www.david-reitter.com On 11 Oct 2007, at