[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

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

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)

[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

[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)