[R] Rgui and high DPI (e.g. 4K) monitors

2019-06-08 Thread Brent via R-help
Summary: I need advice on how to simultaneously get crisp text and properly sized icons in Rgui on a modern monitor. Background and details: I have a new Dell Precision 7530 workstation laptop with a 15 inch 4K monitor running the latest (1903) build of Windows 10 Pro for Workstations. I ju

Re: [R] RTools and previous Cygwin installation--conflict?

2018-10-15 Thread Brent via R-help
I sent a query on this subject over 4 years ago. https://www.mail-archive.com/r-help@r-project.org/msg212269.html I used to use Duncan Murdoch's suggestion to install only cygwin 32 bit and then put RTools first in my Windows path, so that its versions of cygwin commands would get pick up fi

Re: [R] Has R recently made performance improvements in accumulation?

2016-07-31 Thread Brent via R-help
Thierry: thanks much for your feedback, and apologies for this tardy response. You pointed me in the right direction. I did not appreciate how even if the algorithm ultimately has O(n^2) behavior, it can take a big n to overcome large coefficents on lower order terms (e.g. the O(1) and O(n) par

[R] Has R recently made performance improvements in accumulation?

2016-07-19 Thread Brent via R-help
Subtitle: or, more likely, am I benchmarking wrong? I am new to R, but I have read that R is a hive of performance pitfalls. A very common case is if you try to accumulate results into a typical immutable R data structure. Exhibit A for this confusion is this StackOverflow question on an algor

[R] %OSn in time formats: is it only valid for formatting, but invalid for parsing?

2015-06-09 Thread Brent via R-help
Consider this R code: time = as.POSIXct(1433867059, origin = "1970-01-01") print(time) print( as.numeric(time) ) timeFormat = "%Y-%m-%d %H:%M:%OS3" tz = "EST" timestamp = format(time, format = timeFormat, tz = tz) print(timestamp) timeParsed = as.POSIXct(timestamp, format = timeFormat, tz = tz)

[R] RMySQL works inside function, but prints Error output when executed outside a function

2015-02-14 Thread Brent via R-help
On my computer, if I execute this R code inside the console of Rgui.exe     execInsideFunction = function() {         dbc = dbcLocal         conn <- dbConnect(MySQL(), host = dbc$host, dbname = "xxx", user=dbc$user, password=dbc$password)         dbSendQuery(conn, "delete from yyy")         dbDis

[R] Three-way mosaic residual plot with survey data

2014-12-30 Thread Mast, Brent D
urvey package. I'm wondering if I could run a log-linear model with svyloglin and transform the output into a table format that the mosaic function will plot. Any help would be appreciated. Thanks, and happy New Year. Brent Mast Social Science Analyst HUD Office of Policy Development & R

[R] lm predictions for rows with missing y values

2014-04-15 Thread Mast, Brent D
=NULL with a dataset with 2 missing y values, but the model won't estimate. It also won't run with na.action=TRUE or FALSE. Any suggestions would be appreciated. Thanks much, Brent Mast x <- rnorm(15) y <- x + rnorm(15) lm <- lm(y ~ x) fit <- fitted(lm) fit # 2 new x cases

Re: [R] RTools and previous Cygwin installation--conflict?

2014-03-12 Thread Brent
Duncan: so good to get a reply from the RTools maintainer! I decided for now to go with your simplest suggestion 1.  So, I deinstalled 64 bit cygwin, reinstalled the 32 bit version, and hope that the RTools versions of the commands which will get picked up earlier in the PATH will not cause my c

[R] RTools and previous Cygwin installation--conflict?

2014-03-11 Thread Brent
Background:     --I already had the latest 64 bit cygwin (1.7.28) installed on my Windows 7 box     --I am a new R user; I just installed the latest 64 bit R today (3.0.3)     --a coworker told me that I also need to install RTools, so, I also installed the latest RTools (3.1) from         http:/

Re: [R] In factor analysis in the psych package, how can I work out which factors the columns in $scores relate to? How do I know what each of the scores is scoring?

2012-12-09 Thread Brent Caldwell
MR8 MR10 MR9 MR11). Thank you! Best wishes Brent -Original Message- From: David L Carlson [mailto:dcarl...@tamu.edu] Sent: Thursday, 6 December 2012 2:45 p.m. To: Brent Caldwell; 'r-help@R-project.org' Cc: 'William R Revelle' Subject: RE: [R

Re: [R] In factor analysis in the psych package, how can I work out which factors the columns in $scores relate to? How do I know what each of the scores is scoring?

2012-12-05 Thread Brent Caldwell
ich items load onto MR4MR3MR2MR6MR7 MR5MR1MR8MR10 MR9MR11 Thank you, I've taken your advice and cc'd this to Prof William Revelle Thank you Best wishes Brent -Original Message- From: David L Carlson [mailto:dcarl...@tamu.edu] Sent: Thursday, 6

[R] In factor analysis in the psych package, how can I work out which factors the columns in $scores relate to? How do I know what each of the scores is scoring?

2012-12-05 Thread Brent Caldwell
from the loadings in column MR1 ? Or are the scores in the first column of $scores (ie V1) derived from the loadings in the first column of $loadings (ie MR4)? Thank you very much for your guidance, and your patience with my confusion Best wishes Brent Brent Caldwell, MBChB, DPH, MPH. Research F

[R] trying to understand the names of the loadings and factor scores from fa()

2012-12-02 Thread Brent Caldwell
very much for your guidance Best wishes Brent Brent Caldwell, MBChB, DPH, MPH. Research Fellow Department of Medicine University of Otago, Wellington U brent.caldw...@otago.ac.nz b 04 918 6041 021 87 22 64 23a Mein Street, PO Box 7343, Newtown, WELLINGTON 6021, NEW ZEALAND brent.ower.cal

Re: [R] Plotting an adjusted survival curve

2012-11-27 Thread Brent Caldwell
his question Thank you - you guys are awesome Best wishes Brent -Original Message- From: Terry Therneau [mailto:thern...@mayo.edu] Sent: Tuesday, 27 November 2012 4:03 a.m. To: r-help@r-project.org; Brent Caldwell Cc: David Winsemius Subject: Re: Plotting an adjusted survival curve Fi

Re: [R] Psych package: fa.diagram, how to re-arrange layout so numbers do not over-write each other

2012-11-26 Thread Brent Caldwell
Dear Bill Wow! Thank you so much for your rapid reply - you are such a kind person, thank you! I'll try fa.rgraph - thanks Thanks Best wishes Brent -Original Message- From: William R Revelle [mailto:reve...@northwestern.edu] Sent: Tuesday, 27 November 2012 5:54 p.m. To: Brent Cal

[R] Psych package: fa.diagram, how to re-arrange layout so numbers do not over-write each other

2012-11-26 Thread Brent Caldwell
ush output to PDF) pdf(file="I:\\ZAPi\\Tables-of-R-output\\fa_diagram_cex.pdf", height=8, width=5) fa.diagram(fa.11factors.rawdata,cex=0.8) #box() # Create box around plot dev.off() # Turn off device driver (to flush output to PDF) Thank you so much for your time Y

[R] Plotting an adjusted kaplan-meier curve

2012-11-25 Thread Brent Caldwell
me", ylab="propotion surviving") Thank you so much for your help. Yours gratefully, Brent Caldwell __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/post

Re: [R] phyloclim help

2012-06-15 Thread Brent Hendrixson
help@r-project.org > From: dwinsem...@comcast.net > To: behendrix...@hotmail.com > Subject: Re: [R] phyloclim help > Date: Fri, 15 Jun 2012 16:45:51 -0400 > > > On Jun 15, 2012, at 3:43 PM, Brent Hendrixson wrote: > > > > > Hi David - > > > >> Look

Re: [R] phyloclim help

2012-06-15 Thread Brent Hendrixson
utorun' had status 1 2: In file(file, "r") :   cannot open file 'aphonopelma_mojave_C:\Documents and Settings\hendrb\Desktop\R.asc': Invalid argument Like I mentioned, it seems that this particular error is unrelat

Re: [R] phyloclim help

2012-06-13 Thread Brent Hendrixson
Hi David - Thanks for the response. > On Jun 13, 2012, at 6:29 PM, Brent Hendrixson wrote: > > > > > Hi all – > > > > My apologies if this is a redundant message. I am a newbie to R and > > have had a terrible time trying to figure out how to set up an

[R] phyloclim help

2012-06-13 Thread Brent Hendrixson
must be a character string or connection I'm incredibly confused by all of this and sincerely appreciate any help you can provide. Regards, Brent __ R-help@r-project.org mailing list https://stat.ethz.ch/

[R] phyloclim help

2012-06-13 Thread Brent Hendrixson
ers to be used for projection of the MAXENT models Suppose all of these files are placed into the directory “C:\Users\hendrb\Desktop\Niche_Overlap”.  Can anyone show me the syntax for setting up the maxent argument? I sincerely appreciate any help you can provide. Regards, Br

[R] summary vs anova

2011-12-19 Thread Brent Pedersen
Hi, I'm sure this is simple, but I haven't been able to find this in TFM, say I have some data in R like this (pasted here: http://pastebin.com/raw.php?i=sjS9Zkup): > head(df) gender age smokes diseaseY 1 female 65 ever control 0.18 2 female 77 never control 0.12 3 male 40

[R] repeated measures setup

2011-03-28 Thread Brent Pedersen
famly? also, there seem to be a number of resources for doing this type of analysis, is a particular package that has more traction that i should look into? thanks, -brent concordant family_id external_ref.probandexternal_ref.other sex.proband sex.other age.proband age.other y(fake)

Re: [R] [Partial Summary] A fundamental formula and dataframe question.

2008-05-11 Thread Myers, Brent
hadn't been aware of this aspect of formula and dataframe construction for modellinng, until you pointed it out! This response had a very useful example, see excerpted below the initial question... Thanks responders, Brent > There is a very useful and apparently fundamental feature of R (o

[R] Fundamental formula and dataframe question.

2008-05-11 Thread Myers, Brent
dataframes generalize to other modeling functions? Some specific clues on a help search might be enough, I've tried many. Regards, Brent [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/lis

[R] Meeting this week

2007-09-11 Thread Brent Sapiro
This email may be an advertisement or solicitation. If you do not want to receive marketing messages from WebEx click here | view Privacy Policy   -WEBEX:enUS:sdFj9CMZvQ8KWIBz21EK7I- __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listi