Re: [R] Remove all box around a plot except bottom line (base graphics)

2024-11-29 Thread Fer
That's pretty similar to call axis function, i.e.  plot(rnorm(100), yaxt="n", bty="n")  usr <- par("usr")  ## lines(usr[c(1,2)], usr[c(3,3)], xpd = TRUE)  axis(1, ...) # where 1 is bottom, 2 left, 3 top, and 4 right sides of the plot box) Best Fer O

Re: [R] Stop or limit to console printing large list and so on

2024-09-11 Thread Fer Arce via R-help
Hello Stephen. I am not sure of the exact details of your problem, but following the second part of your e-mail, if you accidentally print a large object in the console and do not want to wait (i.e. you want to stop printing), just press C-c C-c and it will stop it (it will stop any process ha

Re: [R] Naming output file

2024-06-24 Thread Fer Arce via R-help
Hi, try with: m<-3 for (im in 1:m) { mydata<-read.csv(paste0("2010midata",im,".csv")) assign(paste0("bop",im),boprobit(eqs,mydata,wt=weight,method="BHHH",tol=0,reltol=0,gradtol=1e-5, Fisher=TRUE) } cheers F. On 6/24/24 06:41, Steven Yen wrote: I would like a loop to (1) read data files 201