[R] [R-pkgs] Update of X2R (with FishGraph) at CRAN, 20 Nov 2008

2008-11-21 Thread Michael H. Prager
THIS SOFTWARE IS SUPPLIED WITH NO WARRANTY OF ANY KIND. The authors will endeavor to fix bugs promptly and to add requested features. Send bug reports, suggestions, and extensions to Michael H. Prager - [EMAIL PROTECTED] Southeast Fisheries Science Center National Marine Fisheries Service, N

[R] eclipse and R

2008-11-26 Thread Ruud H. koning
Hello, I am trying to install Eclipse and R on an amd64 machine running Suse linux 9.3. I have compiled R 2.8.0 with --enable-R-shlib and it seems that compilation was successfull. After starting R, I installed the latest rJava package, from the output: checking whether JRI is requested... yes

[R] error message from dbConnect, using ROracle

2007-09-28 Thread Muller, John H
I am trying to use ROracle (v 0.5-8) with R on Windows (v 2.5.1) I get an error message when I run the following code > library(DBI) > library(ROracle) > m <- dbDriver("Oracle") > con <- dbConnect(m, dsn='', uid='', pwd='') Note masked real values with ###

[R] Interpretation of residual variance components and scale parameters in GLMMs

2007-10-01 Thread Emily H. DuVal
Dear R-listers, I am working with generalized linear mixed models to quantify the variance due to two nested random factors, but have hit a snag in the interpretation of variance components. Despite my best efforts with Venables & Ripley 2002, Fahrmeir & Tutz 2001, R-help archives, Google, and ot

[R] Adehabitat package question - trying to generate animal home ranges

2007-10-02 Thread Peter H Singleton
1:4,] ## relocations coordinates id[1:4] ## ID ### ### ### ### Home ranges ## MCP hr<-mcp(xy, id) ## home range estimation plot(hr)## displays the MCP (jj<-mcp.area(xy, id)) ## home range size plot(jj)## plots h

Re: [R] Nodes & edges with similarity matrix

2007-10-04 Thread H. Paul Benton
to value > gplot(mat, edge.lwd = mat, label = rownames(mat)) > > # thresholding at 0.5 > gplot(mat > .5, label = rownames(mat)) > > > On 8/28/07, H. Paul Benton <[EMAIL PROTECTED]> wrote: > >> Hello, >> >>I apologise if someone has already

[R] graph or svn

2007-10-08 Thread H. Paul Benton
Hello all, I'm having a spot of trouble. I have made a very nice distance matrix from some comparison calculations. However, the matrix is 3096 x 3096, so it's relatively large. Currently I'm using the svn package as it seems to work for my data. The graph package errors and says the "adjacen

[R] histogram labels

2007-10-16 Thread H. Paul Benton
Dear all, Just a quick one, hopefully. I have a histogram made from the method 'hist()'. How do I get labels on the bars? Such that the bars will have the x axis on the bar, not the frequency of the point but the number of the point itself. To make a quick summary, I want the the numbers from

Re: [R] histogram labels

2007-10-18 Thread H. Paul Benton
ybe > a more informative example would help. I just want the labels from hist$breaks on the bars, not the frequency like "labels=TRUE" gives you. Is there a different histogram I can use or something? Thank, Paul > > Jim > > H. Paul Benton wrote: > Dear all, > >

[R] groups in lattice

2007-11-02 Thread Ruud H. Koning
Hello, I must be missing something very obvious. I have a dataset with consists of three groups, and for each group I would like to draw a regression line in one frame. Something like plot.a <- xyplot(result~price,data=nl, xlab="Standardized price",ylab="Outcome",groups=slice, panel=function(x

[R] tilde on a spanish keyboard?

2008-08-12 Thread Martin Henry H. Stevens
I was trying to help someone who used a spanish keyboard on a PC running Windows. he discovered that he had no tilde key. Does anyone know of any simple work-arounds? Thanks, Hank Dr. Hank Stevens, Associate Professor 338 Pearson Hall Botany Department Miami University Oxford, OH 45056 Offic

Re: [R] tilde on a spanish keyboard?

2008-08-12 Thread Martin Henry H. Stevens
t;\u00D1") On 8/12/08, Martin Henry H. Stevens <[EMAIL PROTECTED]> wrote: I was trying to help someone who used a spanish keyboard on a PC running Windows. he discovered that he had no tilde key. Does anyone know of any simple work-arounds? Thanks, Hank Dr. Hank Stevens, Associa

Re: [R] tilde on a spanish keyboard?

2008-08-12 Thread Martin Henry H. Stevens
Sweet - works like a charm. Thanks! Hank On Aug 12, 2008, at 7:19 AM, Henrique Dallazuanna wrote: The try this: form <- as.formula('x\u007ey') lm(form) On 8/12/08, Martin Henry H. Stevens <[EMAIL PROTECTED]> wrote: Thanks Henrique. We need to use the tilde in formula statem

Re: [R] lmer and scale parameter in glmm model

2008-08-18 Thread Martin Henry H. Stevens
Hi Fränzi, mod.sum <- summary(model) mod.sum @ sigma Hank On Aug 18, 2008, at 9:34 AM, Fränzi Korner wrote: Hi Oliver you once asked this question at the R help list. Hi all, I try to fit a glmm model with binomial distribution and I would to verify that the scale parameter is close to

[R] Cansisc: Error in eigen(eHe, symmetric = TRUE)

2014-07-09 Thread Maria Judith Carmona H
Hi, I have a problem using the function Candisc from Candisc Package. bosques1<-read.csv("bosques1.csv",header=TRUE,encoding="latin1") bosques1<-na.exclude(bosques1) attach(bosques1) #Modelo de regresión mod <- lm(cbind(biomasa,altdosel,altsoto,cobertura,riqarb,elevacion,temperatura,precipitaci

Re: [R] Cansisc: Error in eigen(eHe, symmetric = TRUE)

2014-07-09 Thread Maria Judith Carmona H
iversity > Hamilton, Ontario, Canada > http://socserv.mcmaster.ca/jfox/ > > On Wed, 9 Jul 2014 11:36:35 -0500 > Maria Judith Carmona H wrote: > > Hi, > > > > I have a problem using the function Candisc from Candisc Package. > > > > bosques1<-read.csv

Re: [R] Cansisc: Error in eigen(eHe, symmetric = TRUE)

2014-07-09 Thread Maria Judith Carmona H
much more that I can say. > Because I'm out of town and will be traveling tomorrow, I'm unlikely to be > able to respond again for several days. > > Best, > John > > On Wed, 9 Jul 2014 17:54:56 -0500 > Maria Judith Carmona H wrote: > > Dear John, > > >

Re: [R] Cansisc: Error in eigen(eHe, symmetric = TRUE)

2014-07-10 Thread Maria Judith Carmona H
..@r-project.org] > On Behalf Of Michael Friendly > Sent: Thursday, July 10, 2014 3:22 AM > To: Maria Judith Carmona H > Cc: r-help@r-project.org; John Fox > Subject: Re: [R] Cansisc: Error in eigen(eHe, symmetric = TRUE) > > Maria > > The variables > > Araceae

[R] Suppress only Z axis tick marks and numbers in wireframe statement

2011-02-04 Thread Matthew A. H. Walters
I actually have several questions revolving around the generation of wireframe plots. The most pressing is that which is described by the subject line. I am trying to produce a figure with x, y, and z labels, but only tick marks on the x, and y axes. I have supplied sample code below subst

Re: [R] {spam?} Re: Error: cannot use PQL when using lmer

2008-07-06 Thread Martin Henry H. Stevens
Hi hpdutra, I do not know what section of which Crawley book you are referring to, but I assume that Crawley's point is to use a binomial error distribution (logistic regression) rather than a normal model. It is generally thought that LaPlace methods are more accurate than PQL methods. H

Re: [R] Repeated measures lme or anova

2008-07-06 Thread Martin Henry H. Stevens
Hi John, 1. I do not know why you remove the intercept in the lme model, but keep it in the aov model. 2. The distributional assumptions are shot --- you can't run any sort of normal model with these data. You might consider some sort of binomial (metabolite detected vs. not detected). Hank

[R] Integral implicit function

2007-12-06 Thread Eddy H. G. Bekkers
Hi, Could somebody help me with the following. I want to calculate the integral over an implicit function. I thought to integrate over a function depending on uniroot. In previous topics I found a thread about finding the root of an integral. And that works. But the other way around, does not w

[R] R on an eeePC

2008-01-28 Thread Dr. Walter H. Schreiber
Dear list, I wonder if somebody has succeeded in installing R on an eeePC (Xandros desktop). Searching via Rseek (term eeePC) and in eeePC forums (term Cran) left me without proper hits. Best wishes, Walter. __ R-help@r-project.org mailing list

Re: [R] glmmML vs. lmer - fitting overdispersed Poisson outcome.

2007-10-17 Thread Martin Henry H. Stevens
; y <- rpois(100,exp(u)) > id <- seq(1:100) > summary(glmmML(y~1,cluster=as.factor(id),family =poisson)) > summary(lmer(y~1+(1|id),family='poisson')) > > I would like to use lmer() rather then glmmML(). Does anybody know > of a > way of getting the lmer() function

Re: [R] R -Legality Question about R's Open Source GNU GPL License

2008-07-30 Thread Stevens, Martin Henry H. Dr.
The limit of use is that you cannot profit from it. It is Open Source. From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Ajay ohri [EMAIL PROTECTED] Sent: Wednesday, July 30, 2008 9:39 AM To: r-help@r-project.org Subject: [R] R -Legality Question about

[R] I can not open R (UNCLASSIFIED)

2008-04-29 Thread Park, Kyong H Mr ECBC
Classification: UNCLASSIFIED Caveats: NONE Dear R users, I could not open R2.4.1 this morning with error messages "Error in loadName space (name): There is no package called 'nlme'" and "Fatal error: unable to restore saved data in .Rdata" under the information box. It had been working fine unt

[R] A function for random test based on longest run (UNCLASSIFIED)

2007-12-27 Thread Park, Kyong H Mr ECBC
Classification: UNCLASSIFIED Caveats: NONE Hello, R users, Has anybody written a function for random test based on the length of longest run of same events. I really appreciate your help. Kyong Park Classification: UNCLASSIFIED Caveats: NONE [[alternative HTML version deleted]] __

[R] A function for random test based on longest run of same events (U NCLASSIFIED)

2007-12-27 Thread Park, Kyong H Mr ECBC
Classification: UNCLASSIFIED Caveats: NONE Hello, R users, Has anybody written a function for random test based on the length of longest run of same events. I really appreciate your help. Kyong Park Classification: UNCLASSIFIED Caveats: NONE [[alternative HTML version deleted]] __

Re: [R] A function for random test based on longest run (UNCLASSI FIED)

2007-12-27 Thread Park, Kyong H Mr ECBC
> [mailto:[EMAIL PROTECTED] On Behalf Of Park, Kyong H Mr > ECBC > Sent: Thursday, December 27, 2007 11:05 AM > To: 'r-help@r-project.org' > Subject: [R] A function for random test based on longest run > (UNCLASSIFIED) > > Classification: UNCLASSIFIED > Cavea

[R] Lme does not work without a random effect (UNCLASSIFIED)

2008-03-14 Thread Park, Kyong H Mr ECBC
Classification: UNCLASSIFIED Caveats: NONE Dear R users, I'm interested in finding a random effect of the Block in the data shown below, but 'lme' does not work without the random effect. I'm not sure how to group the data without continuous value which is shown in the error message at the bott

[R] Summary Regard with Lme does not work without a random effect (UN CLASSIFIED)

2008-03-17 Thread Park, Kyong H Mr ECBC
comparing two models with and without a random effect. For the anova test, both anova.lme and anova work. Thanks again for their quick helpful responses. Kyong -Original Message- From: Park, Kyong H Mr ECBC Sent: Friday, March 14, 2008 3:26 PM To: 'r-help@r-project.org' Subject

[R] How to change symbols in a trellis graph (UNCLASSIFIED)

2008-03-18 Thread Park, Kyong H Mr ECBC
Classification: UNCLASSIFIED Caveats: NONE Hello, R Users, I created a trellis graph following methods suggest in "Mixed-Effects Models in S and S-Plus" by Bates and Pinheiro using 'groupedData' and 'outer' commands as follows: 1. data2<-groupedData(LCU~ST1|Blcok, data=data1) 2. plot(data2, ou

[R] Unexpected result after auto-attaching of the Matrix package

2025-02-11 Thread H B via R-help
Dear all, I just stumbled on this behavior - not sure if this is expected: R version 4.4.2 (2024-10-31) -- "Pile of Leaves" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu > library(Matrix) > sparseMatrix(i=1:10, j=1:10, x=rnorm(10)) |> saveRDS("~/Do

Re: [R] Unexpected result after auto-attaching of the Matrix package

2025-02-13 Thread H B via R-help
can get two different results when trying to access the  same object in the same  way,  without any error or warning message. Thanks again! Best regards Hilmar On 12.02.25 14:09, Ivan Krylov wrote: В Tue, 11 Feb 2025 13:51:48 +0100 H B via R-help пишет: > class(d) [1] "dgCMatr

Re: [R] Unexpected result after auto-attaching of the Matrix package

2025-02-13 Thread H B via R-help
wrong result was kind of unexpected. Best regards Hilmar On 12.02.25 03:02, Jeff Newmiller wrote: Why aren't you loading the package before you load the object that assumes the relevant methods for that object are available? On February 11, 2025 4:51:48 AM PST, H B via R-help wrote: Dea

[R] Retrieving an evaluated gradient value (UNCLASSIFIED)

2010-01-21 Thread Park, Kyong H Mr CIV USA AMC
Classification: UNCLASSIFIED Caveats: NONE Dear R users, How can I retrieve an evaluated gradient value from "deriv" function provided below? I want to retrieve b0 value. Appreciate your help. Kyong junk1<-deriv(~(1/b1)*k-b0/b1,"b0",c("k","b0","b1"),formal=T) junk1(k=0,b0=-14.0236,b1=2.4403

Re: [R] Retrieving an evaluated gradient value (UNCLASSIFIED)

2010-01-27 Thread Park, Kyong H Mr CIV USA AMC
Classification: UNCLASSIFIED Caveats: NONE I really appreciate Mr. Dallazuanna's quick reply for my question. See below. Kyong -Original Message- From: Henrique Dallazuanna [mailto:www...@gmail.com] Sent: Thursday, January 21, 2010 3:13 PM To: Park, Kyong H Mr CIV USA AMC Cc: r

[R] Defining Parameters in arules

2021-11-23 Thread Stephen H. Dawson, DSL via R-help
Hi, New to the list, first post. I have reviewed the file: https://cran.r-project.org/web/packages/arules/arules.pdf I am unable to find what I am after, so I am asking the mailing list for assistance, please. I am using arules to accomplish apriori for reviewing some association rules wor

Re: [R] Defining Parameters in arules

2021-11-24 Thread Stephen H. Dawson, DSL via R-help
Thank, Ivan. *Stephen Dawson, DSL* /Executive Strategy Consultant/ Business & Technology +1 (865) 804-3454 http://www.shdawson.com On 11/23/21 5:17 AM, Ivan Krylov wrote: Hello, If you don't get an answer here, consider asking the package maintainer: Michael Hahsler

Re: [R] Defining Parameters in arules

2021-11-24 Thread Stephen H. Dawson, DSL via R-help
https://rattle.togaware.com/ https://journal.r-project.org/archive/2009/RJ-2009-016/index.html Thank you, Tom. *Stephen Dawson, DSL* /Executive Strategy Consultant/ Business & Technology +1 (865) 804-3454 http://www.shdawson.com On 11/23/21 5:55 AM, Tom Woolman wrote

[R] Question about Rfast colMins and colMaxs

2021-11-30 Thread Stephen H. Dawson, DSL via R-help
Hi, I am working to understand the Rfast functions of colMins and colMaxs. I worked through the example listed on page 54 of the PDF. https://cran.r-project.org/web/packages/Rfast/index.html https://cran.r-project.org/web/packages/Rfast/Rfast.pdf My data is in a CSV file. So, I bring it int

Re: [R] Question about Rfast colMins and colMaxs

2021-11-30 Thread Stephen H. Dawson, DSL via R-help
pen mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Tue, Nov 30, 2021 at 10:55 AM Stephen H. Dawson, DSL via R-help wrote: Hi, I am working to understand the Rfast functions of colMins an

Re: [R] Question about Rfast colMins and colMaxs

2021-11-30 Thread Stephen H. Dawson, DSL via R-help
nothing useful about the data, it is up to you to inspect your data and figure out what to do with it. On November 30, 2021 10:55:13 AM PST, "Stephen H. Dawson, DSL via R-help" wrote: Hi, I am working to understand the Rfast functions of colMins and colMaxs. I worked through the exa

Re: [R] Question about Rfast colMins and colMaxs

2021-11-30 Thread Stephen H. Dawson, DSL via R-help
ite to the maintainer of the package to ask that data.frames be directly supported.  In the meantime you could use    vapply(yourDataFrame, which.min, FUN.VALUE=NA_real_) or     vapply(yourDataFrame, min, FUN.VALUE=NA_real_) instead of colMins. -Bill On Tue, Nov 30, 2021 at 10:55 AM Stephen H. Dawso

Re: [R] Question about Rfast colMins and colMaxs

2021-11-30 Thread Stephen H. Dawson, DSL via R-help
11/30/21 5:14 PM, Stephen H. Dawson, DSL via R-help wrote: Hi Jeff, Thanks for the data review offer. Attached is the CSV. *Stephen Dawson, DSL* /Executive Strategy Consultant/ Business & Technology +1 (865) 804-3454 http://www.shdawson.com <http://www.shdawson.com> On 11/30/21 3:2

Re: [R] Question about Rfast colMins and colMaxs

2021-11-30 Thread Stephen H. Dawson, DSL via R-help
they think the best practice should be for their package. As has been pointed out already, it appears to differ from the usual "read it in as a data frame" procedure. Bert On Tue, Nov 30, 2021 at 2:11 PM Stephen H. Dawson, DSL wrote: Right, R Studio is not R. However, the Rfast package

Re: [R] Question about Rfast colMins and colMaxs

2021-12-01 Thread Stephen H. Dawson, DSL via R-help
http://www.shdawson.com <http://www.shdawson.com> On 11/30/21 5:23 PM, Stephen H. Dawson, DSL via R-help wrote: Well, no it is not. The email list stripped off the attachment. The data is numeric, happens to be all whole numbers. Kindest Regards, *Stephen Dawson, DSL* /Executive Strategy Consultant

Re: [R] Question about Rfast colMins and colMaxs

2021-12-01 Thread Stephen H. Dawson, DSL via R-help
i [1] 1 $f [1] 1.2 $i2 [1] 3 Clearly converting that to a matrix while whole would result in everything being converted to character and a minimum may be elusive. -Original Message- From: R-help On Behalf Of Stephen H. Dawson, DSL via R-help Sent: Tuesday, November 30, 2021 5:37 PM To: Be

Re: [R] Question about Rfast colMins and colMaxs

2021-12-01 Thread Stephen H. Dawson, DSL via R-help
-Original Message- From: R-help On Behalf Of Stephen H. Dawson, DSL via R-help Sent: Wednesday, December 1, 2021 5:11 PM To: r-help@r-project.org Subject: Re: [R] Question about Rfast colMins and colMaxs Jeff, Can you use max and min evaluations on any other data type then numeric? If so, how

Re: [R] Question about Rfast colMins and colMaxs

2021-12-01 Thread Stephen H. Dawson, DSL via R-help
minimum may be elusive. -Original Message- From: R-help On Behalf Of Stephen H. Dawson, DSL via R-help Sent: Tuesday, November 30, 2021 5:37 PM To: Bert Gunter Cc: r-help@r-project.org Subject: Re: [R] Question about Rfast colMins and colMaxs Oh, you are segmenting standard R from the rest of R.

Re: [R] Question about Rfast colMins and colMaxs

2021-12-02 Thread Stephen H. Dawson, DSL via R-help
re 2.3 FALSE 4 3 3 goodbye 3.4 TRUE 3 So a bit more complex one-liner removes any non-numeric columns like this: mycolMins(df[, sapply(df, is.numeric)]) $i [1] 1 $f [1] 1.2 $i2 [1] 3 Clearly converting that to a matrix while whole would result in everything being converted to character an

Re: [R] Question about Rfast colMins and colMaxs

2021-12-03 Thread Stephen H. Dawson, DSL via R-help
names(v) <- colnames(some.data.frame)     v } On Wed, 1 Dec 2021 at 07:55, Stephen H. Dawson, DSL via R-help mailto:r-help@r-project.org>> wrote: Hi, I am working to understand the Rfast functions of colMins and colMaxs. I worked through the example listed on page 54 of the PDF.

[R] Adding SORT to UNIQUE

2021-12-20 Thread Stephen H. Dawson, DSL via R-help
Hi, Running a simple syntax set to review entries in dataframe columns. Here is the working code. Data <- read.csv("./input/Source.csv", header=T) describe(Data) summary(Data) unique(Data[1]) unique(Data[2]) unique(Data[3]) unique(Data[4]) I would like to add sort the unique entries. The dat

Re: [R] Adding SORT to UNIQUE

2021-12-20 Thread Stephen H. Dawson, DSL via R-help
Data you may want to do them all at once using something like: lapply(Data[1:4], unisort) As you note, the sort ordering depends on the data and perhaps on options you specify. -Original Message- From: R-help On Behalf Of Stephen H. Dawson, DSL via R-help Sent: Monday, December 20, 202

Re: [R] Adding SORT to UNIQUE

2021-12-20 Thread Stephen H. Dawson, DSL via R-help
Thanks. sort(unique(Data[[1]])) This syntax provides row numbers, not column values. *Stephen Dawson, DSL* /Executive Strategy Consultant/ Business & Technology +1 (865) 804-3454 http://www.shdawson.com <http://www.shdawson.com> On 12/20/21 11:58 AM, Stephen H. Dawson, DSL via R-

Re: [R] Adding SORT to UNIQUE

2021-12-20 Thread Stephen H. Dawson, DSL via R-help
s of Data you may want to do them all at once using something like: lapply(Data[1:4], unisort) As you note, the sort ordering depends on the data and perhaps on options you specify. -Original Message- From: R-help On Behalf Of Stephen H. Dawson, DSL via R-help Sent: Monday, December 20, 202

Re: [R] Adding SORT to UNIQUE

2021-12-21 Thread Stephen H. Dawson, DSL via R-help
1:18 de 20/12/21, Stephen H. Dawson, DSL via R-help escreveu: Thanks. sort(unique(Data[[1]])) This syntax provides row numbers, not column values. This is not right. The syntax Data[1] extracts a sub-data.frame, the syntax Data[[1]] extracts the column vector. As for my previous answer,

Re: [R] Adding SORT to UNIQUE

2021-12-21 Thread Stephen H. Dawson, DSL via R-help
On 21/12/2021 10:16 a.m., Stephen H. Dawson, DSL via R-help wrote: Thanks everyone for the replies. It is clear one either needs to write a function or put the unique entries into another dataframe. It seems odd R cannot sort a list of unique column entries with ease. Python and SQL can do it

Re: [R] Adding SORT to UNIQUE

2021-12-22 Thread Stephen H. Dawson, DSL via R-help
804-3454 http://www.shdawson.com <http://www.shdawson.com> On 12/21/21 11:38 AM, Duncan Murdoch wrote: On 21/12/2021 11:31 a.m., Duncan Murdoch wrote: On 21/12/2021 11:20 a.m., Stephen H. Dawson, DSL wrote: Thanks for the reply. sort(unique(Data[1])) Error in `[.data.frame`(x, order(

Re: [R] Adding SORT to UNIQUE

2021-12-22 Thread Stephen H. Dawson, DSL via R-help
ation of sorting by rows. Bert On Tue, Dec 21, 2021 at 7:16 AM Stephen H. Dawson, DSL via R-help wrote: Thanks everyone for the replies. It is clear one either needs to write a function or put the unique entries into another dataframe. It seems odd R cannot sort a list of unique column en

Re: [R] Adding SORT to UNIQUE

2021-12-22 Thread Stephen H. Dawson, DSL via R-help
then setting each shorter vector to be longer with code like: length(a) <- longest You can then patch together all the results into a data.frame with trailing NA values on some columns. I quickly cobbled together a few lines that can do that and can be placed inside a function to return

Re: [R] Adding SORT to UNIQUE

2021-12-22 Thread Stephen H. Dawson, DSL via R-help
* /Executive Strategy Consultant/ Business & Technology +1 (865) 804-3454 http://www.shdawson.com <http://www.shdawson.com> On 12/22/21 10:47 AM, Duncan Murdoch wrote: On 22/12/2021 10:20 a.m., Stephen H. Dawson, DSL wrote: Thanks for the reply. Both syntax options work to render the corre

Re: [R] Adding SORT to UNIQUE

2021-12-22 Thread Stephen H. Dawson, DSL via R-help
10:55 a.m., Stephen H. Dawson, DSL wrote: I see. So, we are talking taking the output into a new dataframe. I was hoping to have the output rendered on screen without another dataframe, but I can live with this option it if must occur. Am I correct the desired vertical output must first go to a dataf

Re: [R] Adding SORT to UNIQUE

2021-12-22 Thread Stephen H. Dawson, DSL via R-help
v1 to the vertical output of this syntax, please? *Stephen Dawson, DSL* /Executive Strategy Consultant/ Business & Technology +1 (865) 804-3454 http://www.shdawson.com <http://www.shdawson.com> On 12/22/21 11:13 AM, Stephen H. Dawson, DSL via R-help wrote: OK, now I get what you ar

Re: [R] Adding SORT to UNIQUE

2021-12-22 Thread Stephen H. Dawson, DSL via R-help
lt;- function(x, ...){   n <- max(lengths(x))   y <- lapply(x, \(.x) c(.x, rep("", n - length(.x   y <- do.call(cbind.data.frame, y)   names(y) <- names(x)   print(y)   invisible(x) } # Test the functions above Data2 <- sort_unique(Data) class(Data2) Data2 print(Data2)

Re: [R] Adding SORT to UNIQUE

2021-12-22 Thread Stephen H. Dawson, DSL via R-help
to have that name, this would do it: cat(format(names(Data[,1]). "\n", v1, justify = "right"), sep = "\n") -Original Message- From: R-help On Behalf Of Stephen H. Dawson, DSL via R-help Sent: Wednesday, December 22, 2021 12:02 PM To: Duncan Murdoch ; R

Re: [R] Adding SORT to UNIQUE

2021-12-23 Thread Stephen H. Dawson, DSL via R-help
ere the error is, in these cases try to read the instruction more carefully, typos can be hard to find.) Hope this helps, Rui Barradas Às 17:59 de 22/12/21, Stephen H. Dawson, DSL via R-help escreveu: Thanks. I am pondering label names, not set on one as of yet. I like your recommendatio

[R] Script Run Output Capturing

2021-12-23 Thread Stephen H. Dawson, DSL via R-help
Hi, I need to capture the output in a physical file when I run an R script. I would like to capture the output as a TXT file. I am thinking something along the line of the tee command is what I am after, but I am not certain what I am after here. https://en.wikipedia.org/wiki/Tee_(command)

[R] Error Awareness

2021-12-23 Thread Stephen H. Dawson, DSL via R-help
Hi, I am thinking about awareness of errors when an R script runs. My concern is I have an error-free script. I run it for months on end without problems. Then, something changes somewhere causing an error. My wonderment is how R will tell me I had an error in the script, but the rest of the

Re: [R] Script Run Output Capturing

2021-12-23 Thread Stephen H. Dawson, DSL via R-help
Nice! Thanks for the reply. I will research over the next few days. https://www.ssc.wisc.edu/~hemken/Rworkshops/interface/savingoutput.html How about the sink() and capture.output() functions? Have you ever used them? *Stephen Dawson, DSL* /Executive Strategy Consultant/ Business & Technolo

Re: [R] Error Awareness

2021-12-23 Thread Stephen H. Dawson, DSL via R-help
hat sort of help you can expect (and have already received here. Cheers, Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Thu, Dec 23, 2021 at 3

Re: [R] Script Run Output Capturing

2021-12-23 Thread Stephen H. Dawson, DSL via R-help
ted? If not, why not? Have you tried it to see? Bert Gunter On Thu, Dec 23, 2021 at 5:28 AM Stephen H. Dawson, DSL via R-help wrote: Nice! Thanks for the reply. I will research over the next few days. https://www.ssc.wisc.edu/~hemken/Rworkshops/interface/savingoutput.html How about the sink(

Re: [R] Adding SORT to UNIQUE

2021-12-23 Thread Stephen H. Dawson, DSL via R-help
may be interested in what is the canonical or best way and by now, you may note there are very often MANY ways and some programmers prefer one or another. And, I note, after enough questions of a fairly basic or even naïve nature, some responders in these groups stop responding for some reason. -

Re: [R] Adding SORT to UNIQUE

2021-12-23 Thread Stephen H. Dawson, DSL via R-help
2/21 12:12 PM, Duncan Murdoch wrote: On 22/12/2021 12:01 p.m., Stephen H. Dawson, DSL wrote: Data <- read.csv("./input/Source.csv", header=T) v1 <- sort(unique(Data[, 1])) cat(format(v1, justify = "right"), sep = "\n") OK, working with the options you prese

Re: [R] Script Run Output Capturing

2021-12-23 Thread Stephen H. Dawson, DSL via R-help
Thank you, Rasmus. I appreciate the reply. *Stephen Dawson, DSL* /Executive Strategy Consultant/ Business & Technology +1 (865) 804-3454 http://www.shdawson.com On 12/23/21 10:00 AM, Rasmus Liland wrote: sink and capture.output seem useful, but I have not used them.

Re: [R] Error Awareness

2021-12-24 Thread Stephen H. Dawson, DSL via R-help
. But if things do happen, then your code is not robust enough. -Original Message- From: R-help On Behalf Of Stephen H. Dawson, DSL via R-help Sent: Thursday, December 23, 2021 11:17 AM To: Bert Gunter Cc: R-help Subject: Re: [R] Error Awareness Hi Bert, Thanks for the reply. The use c

Re: [R] splitting data matrix into submatrices

2022-01-05 Thread Stephen H. Dawson, DSL via R-help
Hi, Please post the data structure so it is more clear what data is being massaged. Thanks, *Stephen Dawson, DSL* /Executive Strategy Consultant/ Business & Technology +1 (865) 804-3454 http://www.shdawson.com On 1/4/22 10:52 PM, Faheem Jan via R-help wrote: I ha

Re: [R] (Off-Topic) Time for a companion mailing list for R packages?

2022-01-13 Thread Stephen H. Dawson, DSL via R-help
Great discussion thread. The problem is not a mailing list. The problem is the inability to segment questions. Segment, by keyword or sub-directory (loose word) or any other compartmentalization. QUESTION What other technology options are available here beyond a mailing list? *Stephen Dawso

Re: [R] (Off-Topic) Time for a companion mailing list for R packages?

2022-01-13 Thread Stephen H. Dawson, DSL via R-help
Good comments, Ivan. I also have found StackOverflow to not be too helpful in a structured conversation. I have had it and miss success with GitHub interactions. *Stephen Dawson, DSL* /Executive Strategy Consultant/ Business & Technology +1 (865) 804-3454 http://www.shdawson.com

Re: [R] tidying up

2022-02-28 Thread Stephen H. Dawson, DSL via R-help
Hi Avi, I thought about your question over the past few days. A new email list may help, but I doubt the help will suffice to solve the problem of forming emails as the existing list prefers. Here is where I see the source of the problem with using R by way of getting questions answers. h

[R] Recommended Statistics Papers and Packages

2022-04-01 Thread Stephen H. Dawson, DSL via R-help
Good Morning, I have been doing some further reading on the topic of statistics lately. I enjoyed reading the following material. I am writing to share the material with the list as recommended reading on the respective topics. Estimating the number of clusters in a data set via the gap sta

Re: [R] Circular Graph Recommendation Request

2022-05-28 Thread Stephen H. Dawson, DSL via R-help
From: Stephen H. Dawson, DSL Sent: Saturday, May 28, 2022 3:37 PM To: Lucas Heber Mariano Dos Santos ; Bert Gunter Cc: r-help Subject: Re: [R] Circular Graph Recommendation Request Thank you, Lucas! Kindest Regards, *Stephen Dawson, DSL* /Executive Strategy Consultant/ Business & Techn

Re: [R] Circular Graph Recommendation Request

2022-05-30 Thread Stephen H. Dawson, DSL via R-help
omic strip ) On Sat, May 28, 2022 at 8:39 AM Stephen H. Dawson, DSL via R-help wrote: https://www.visualcapitalist.com/us-goods-exports-by-state/ Visualizing U.S. Exports by State Good Morning, https://www.visualcapitalist.com/wp-content/uploads/2022/05/us-exports-by-state-infographic.jpg Saw

[R] Error Running arules

2022-09-01 Thread Stephen H. Dawson, DSL via R-help
Hi Everyone, I upgraded my box recently. I am now running R at version 4.2. I attempted to do association rules today using arules. I am getting two errors. My first guess is there is something in the build of the arules that is not found in r-base. My second guess is the script syntax need

Re: [R] Error Running arules

2022-09-02 Thread Stephen H. Dawson, DSL via R-help
espaces'. 3. Search on "masking in R" Bert On Fri, Sep 2, 2022 at 9:01 AM Stephen H. Dawson, DSL wrote: Bert, Thanks for the guidance. Do you have a documentation URL I can review to research your suggestion? Ivan, Thanks for the guidance. The traceback() revealed the same resul

Re: [R] Error Running arules

2022-09-04 Thread Stephen H. Dawson, DSL via R-help
I am running. I will remove all of R from my box and look to other repositories. *Stephen Dawson, DSL* /Executive Strategy Consultant/ Business & Technology +1 (865) 804-3454 http://www.shdawson.com On 9/2/22 12:50, Stephen H. Dawson, DSL via R-help wrote: Go it, thanks. *Stephen Da

[R] Question about Line Ending Choice

2022-09-27 Thread Stephen H. Dawson, DSL via R-help
Hi All, I am writing with a question about choosing the line ending aspect of a file, please. I use write.csv and write.table to export work to CSV files and TXT files. I am planning now on how to share my work with the Windows crowd beyond only sharing with the Linux crowd. I use my text e

Re: [R] Question about Line Ending Choice

2022-09-27 Thread Stephen H. Dawson, DSL via R-help
le ? Bert On Tue, Sep 27, 2022 at 8:23 AM Stephen H. Dawson, DSL via R-help wrote: Hi All, I am writing with a question about choosing the line ending aspect of a file, please. I use write.csv and write.table to export work to CSV files and TXT files. I am planning

Re: [R] Question about Line Ending Choice

2022-09-29 Thread Stephen H. Dawson, DSL via R-help
http://www.shdawson.com On 9/29/22 05:24, Enrico Schumann wrote: On Tue, 27 Sep 2022, Stephen H. Dawson, DSL via R-help writes: Hi All, I am writing with a question about choosing the line ending aspect of a file, please. I use write.csv and write.table to export work to CSV files and TXT files.

Re: [R] Question about Line Ending Choice

2022-09-29 Thread Stephen H. Dawson, DSL via R-help
get==�Windows�) eol <- c(CR,LF) else if (target %in% c(�Unix�,�Mac�)) eol <- LF else if �. else stop(�Unexpected target.�) write.table(eol=eol, �.) Regards, Jorgen Harmse. Message: 7 Date: Tue, 27 Sep 2022 11:35:54 -0400 From: "Stephen H. Dawson, DSL" To: Bert Gunter

Re: [R] [R-pkgs] Retirement/archiving of rgdal, rgeos and maptools October 2023

2023-04-10 Thread Stephen H. Dawson, DSL via R-help
Thank you, Roger. Kindest Regards, *Stephen Dawson, DSL* /Executive Strategy Consultant/ Business & Technology +1 (865) 804-3454 http://www.shdawson.com On 4/10/23 11:31, Roger Bivand wrote: The third report on the R-spatial evolution project has been published. https://r-spatial.org/r/2023/

Re: [R] Could not read time series data using read.zoo()

2023-08-03 Thread Stephen H. Dawson, DSL via R-help
Agreed. Tab character is not comma character. *Stephen Dawson, DSL* /Executive Strategy Consultant/ Business & Technology +1 (865) 804-3454 http://www.shdawson.com On 8/3/23 11:04, Jeff Newmiller wrote: no commas? On August 3, 2023 7:53:07 AM PDT, Christofer Bogaso wrote: Hi, I have a CSV

Re: [R] OFF TOPIC: chatGPT glibly produces a lot of wrong answers?

2023-08-13 Thread Stephen H. Dawson, DSL via R-help
Thanks. https://www.wsj.com/articles/with-ai-hackers-can-simply-talk-computers-into-misbehaving-ad488686?mod=hp_lead_pos10 Ever heard of AI prompt injection? *Stephen Dawson, DSL* /Executive Strategy Consultant/ Business & Technology +1 (865) 804-3454 http://www.shdawson.com On 8/13/23 13:49

[R] Book Recommendation

2023-08-28 Thread Stephen H. Dawson, DSL via R-help
Good Morning, I am doing some research to develop a new course where I teach. I am looking for a book to use in the course content to teach accomplishing SQL in R. Does anyone know of a book on this topic to recommend for consideration? Thank You, -- *Stephen Dawson, DSL* /Executive Strate

Re: [R] Book Recommendation

2023-08-28 Thread Stephen H. Dawson, DSL via R-help
s of greatest interest to your target audience.   Spencer Graves p.s.  DISCLAIMER:  I'm the lead author and maintainer of the sos package. On 8/28/23 1:48 PM, Hadley Wickham wrote: You might find this chapter of R for Data Science helpful: https://r4ds.hadley.nz/databases Hadley On

Re: [R] Book Recommendation

2023-08-28 Thread Stephen H. Dawson, DSL via R-help
pful: https://r4ds.hadley.nz/databases Hadley On Tue, Aug 29, 2023 at 3:47 AM Stephen H. Dawson, DSL via R-help wrote: Good Morning, I am doing some research to develop a new course where I teach. I am looking for a book to use in the course content to teach accomplishing SQL in R. Does anyone kno

Re: [R] Book Recommendation

2023-08-28 Thread Stephen H. Dawson, DSL via R-help
s, Bert On Mon, Aug 28, 2023 at 8:47 AM Stephen H. Dawson, DSL via R-help wrote: Good Morning, I am doing some research to develop a new course where I teach. I am looking for a book to use in the course content to teach accomplishing SQL in R. Does anyone know of a b

Re: [R] Book Recommendation

2023-08-30 Thread Stephen H. Dawson, DSL via R-help
b, notably a post (circa 2013) from Patrick Burns: https://www.burns-stat.com/translating-r-sql-basics/ HTH, Bill. W. Michels, Ph.D. On Mon, Aug 28, 2023 at 8:47 AM Stephen H. Dawson, DSL via R-help wrote: Good Morning, I am doing some research to develop a new course where I teach. I am loo

Re: [R] Book Recommendation

2023-08-30 Thread Stephen H. Dawson, DSL via R-help
ttps://cran.r-project.org/web/packages/RSQLite/vignettes/RSQLite.html On Mon, Aug 28, 2023, 22:12 Stephen H. Dawson, DSL via R-help wrote: This is an academic course. The effort now is to nail down the former. I am pushing against a local db for the students. I prefer they focu

Re: [R] Book Recommendation

2023-08-30 Thread Stephen H. Dawson, DSL via R-help
to use. https://cran.r-project.org/web/packages/RSQLite/vignettes/RSQLite.html On Mon, Aug 28, 2023, 22:12 Stephen H. Dawson, DSL via R-help < r-help@r-project.org> wrote: This is an academic course. The effort now is to nail down the former. I am pushing against a local db for the studen

<    1   2   3   4   >