Re: [R] [External] Parser For Line Number Tracing

2025-01-20 Thread IVO I WELCH
There is a little catch-22 here. I would be happy to fund a student to spend a summer cleaning up the error messages and making it more userfriendly, but the catch-22 problem is that I don’t have much confidence that this effort would be adopted into the basic R distribution — and the only wa

Re: [R] ggplot with major and MINOR tick marks on a log scale

2025-01-20 Thread Kimmo Elo
Hi, this code could/should work: --- snip --- PopByDayByAQIminus %>% ggplot(aes(x=AQI_Cat,y=TotalPop/100), group=Day,color=Day,shape=as_factor(Day), linetype = as_factor(Day)) + geom_point(size=4,alpha=0.7)+ geom_line(linewidth=1.5,alpha=0.3)+ theme(axis

Re: [R] ggplot with major and MINOR tick marks on a log scale

2025-01-20 Thread Bert Gunter
dget() should be dput(), of course. But you don't need dput() either, as assigning the structure() call suffices. -- Bert On Mon, Jan 20, 2025 at 6:18 PM Sorkin, John wrote: > I have used ggplot to create a graph on which the y-axis is on the log > scale. (see data and code, below.) I would lik

[R] ggplot with major and MINOR tick marks on a log scale

2025-01-20 Thread Sorkin, John
I have used ggplot to create a graph on which the y-axis is on the log scale. (see data and code, below.) I would like to add minor tick marks, which will also be on the log scale. The data and code are below. I hope somone can tell me how I can modify the ggplot code so it produces minor tick m

Re: [R] [External] Re: Parser For Line Number Tracing

2025-01-20 Thread Duncan Murdoch
I've posted a patch to bugs.r-project.org that fixes the traceback() issue. It's not specific to findFun3; you get the same problem with errors from expressions like 1 + "a" In my testing, I occasionally saw cases where show.error.locations = TRUE didn't work. I'll try to track down a repr

[R] [tcltk] binding two functions to one event

2025-01-20 Thread re...@meer.net
Here is some tcl/tk code I am trying to emulate in R. Paste the following into wish ### begin tcl code toplevel .wtop proc evresp1 { data } { puts "evresp1 $data" } proc evresp2 { data } { puts "evresp2 $data" } bind all <> "evresp1 %d" bind all <> "+evresp2 %d" ### end tcl code Now paste ev

Re: [R] [External] Re: Parser For Line Number Tracing

2025-01-20 Thread Duncan Murdoch
Sorry, I'm not seeing the first problem now: options(show.error.locations = TRUE) works fine. Not sure what I did wrong before. I'm still seeing `traceback()` failing to report the attempt to call nofunction(). I suppose this is because a context is never set up for the failed call. Perhap