similar to: how to abort script with message

Displaying 20 results from an estimated 30000 matches similar to: "how to abort script with message"

2007 May 31
1
sd with n not n-1
need a version of sd [or var] to return population standard deviation (using n rather than n-1 denominator) that will operate on a dataframe containing missings, i.e. unequal n's. any ideas? thx, ted. ---------------------------------------- Ted (Edwin) Blew tblew@ets.org -------------------------------------------------- This e-mail and any files transmitted with it may contain
2010 Aug 22
2
on abort error, always show call stack?
Dear R Wizards---is it possible to get R to show its current call stack (sys.calls()) upon an error abort? I don't use ESS for execution, and it is often not obvious how to locate how I triggered an error in an R internal function. Seeing the call stack would make this easier. (right now, I sprinkle "cat" statements everywhere, just to locate the line where the error appears.) Of
2023 Apr 12
1
aborting the execution of a script...
Dear members, I have a script which I source it interactively. I have the following questions: 1. If there is an error in an expression, an error message is printed, but the execution continues till the end of the script. I am sourcing with echo. Is there any way to abort the execution when the first error occurs? This happens with R CMD BATCH. If there is an error
2023 Apr 12
1
aborting the execution of a script...
On 12/04/2023 7:03 a.m., akshay kulkarni wrote: > Dear members, > I have a script which I source it interactively. I have the following questions: > > > 1. If there is an error in an expression, an error message is printed, but the execution continues till the end of the script. I am sourcing with echo. Is there any way to abort the execution when
2023 Apr 12
1
aborting the execution of a script...
Dear Duncan, What if I use source() with echo? I am using that in RStudio. THanking you, Yours sincerely AKSHAY M KULKARNI ________________________________ From: Duncan Murdoch <murdoch.duncan at gmail.com> Sent: Wednesday, April 12, 2023 5:35 PM To: akshay kulkarni <akshay_e4 at hotmail.com>; R help Mailing list <r-help at r-project.org> Subject: Re:
2023 Apr 12
1
aborting the execution of a script...
This is what I get: > source("~/temp/test.R", echo = TRUE) > print(1) [1] 1 > stop("here") Error in eval(ei, envir) : here I get similar output in every variation I tried. It never prints the 2. On 12/04/2023 8:13 a.m., akshay kulkarni wrote: > Dear Duncan, > ? ? ? ? ? ? ? ? ? ? ? ? ?What if I use source() with echo? I am using > that in RStudio.
2013 Nov 14
1
Windows 7/Rstudio/Rattle - rattle() Causes R Session to abort
Windows 7, R 2.15.1 64bit, RStudio 0.97.312, Rattle 2.6.26 Hi, Please help. I removed rattle then reinstalled then loaded then attempted to open rattle with rattle(). But each time I do that My R session in R studio aborts and restarts. remove.packages("rattle") install.packages("rattle") library(rattle) How can I fix this? I saw something in rattle-users but that applied
2007 Jul 20
6
automatically jpeg output
Dear R users, I used R to draw many histograms and I would like to automatically save them into a jpeg file. I tried the following code since I know .ps file could be saved like this way: postscript("AYA_ELA.jpeg",horizontal=F,onefile=T) ......#some funtions inside here dev.off() There was a jpeg file, however, there is no pictures inside. Any suggestion? Thanks. Rebecca
2014 Jan 17
2
imap abort after upgrade from 2.2.4 to 2.2.7
Hi, I used to use dovecot 2.2.4. I saw lots of warnings saying 'Extension header update points outside header size'. I upgraded to dovecot 2.2.7, based on the discussion in mail list. Now, I see lots of imap aborts around: src/lib-index/mail-index-transaction-export.c:203: i_assert(u32.offset + u32.size <= ext_hdr_size); I also noticed, in some mailbox, imap process kept
2004 Nov 15
1
Speex samples in a wav format.
Hi, I am trying to use the speex coding standard to create the files required for human audio testing by various departments of our company. I just need to understand if the sample files available on the website are really speex coded in a wav container, because the header information as visible on opening the file in a text editor does not indicate so, and these files can play in the media
2011 Mar 12
1
SASL abort causes 5s delay, triggered by UW libc-client
Since upgrding to Debian squeeze, the web mail system (Imp4/Horde3) suffers delays every time a new IMAP connection is needed. Tracing the authentication conversation, we find: 08:45:55.270609: 00000000 AUTHENTICATE GSSAPI 08:45:55.271277: + 08:45:55.271761: * 08:45:55.271782: 00000000 BAD Authentication aborted by client. 08:45:55.271815: 00000001 AUTHENTICATE PLAIN 08:46:00.271008: + and the
2023 Nov 04
1
Should upsd abort if one if LISTEN addresses is not available?
Cheers all, Issue https://github.com/networkupstools/nut/issues/723 was brought up recently, and I've re-verified it with the current codebase that it still happens. The crux of it is that if upsd can LISTEN to some but not all addresses, it aborts because "no listening interface available" and worse - does so inconsistently (seems to depend on whether the *first* listed
2004 Sep 15
2
wine clipboard
i cannot make cut'n'paste work to any programm, running with wine. for example, i run `wine notepad.exe', then select something in xterm. but nothing happens, when i trying to insert this selection into notepad. googling doesn't really helps. all i found is to put [Clipboard] ClearAllSelections=1 PersistentSelection=0 in ~/.wine/config, but it doesn't helps -- WBFH: -error,
2014 Nov 23
0
X Abort after run level 3->5 transition and multiple logins are tried?
Through many years and through CentOS-6.5, I would boot to runlevel 3, do various admin stuff on my desktop and then telinit 5, which started an X session on tty7. I would then do logout->switch user a few times to get additional user IDs active. Many years ago I would accomplish this with some kind of "startx ... :1', or ':2' etc. thingy, but I've forgotten the details
2006 Jul 26
1
lesson learned: script/runner does not abort on failed require
After a fresh installation of an application, some utility scripts run with script/runner quietly aborted right after their start. No error message whatsoever, just a new shell prompt. The reason was an uninstalled dependecy, but that was difficult to determine because the load failure was not reported: % ruby script/runner ''require "foobarbaz"'' % Why
2008 Jul 04
1
Calling and running a compiled program inside R
Hi, I need to use the outputs from a complied program (*.exe program that is made by some one else) for numerous data sets and use R with the outputs for some computations. I thought that it would be very efficient if I can use R from the beginning to the end by calling the exe program and run it within R, continuing the computations based on the outputs. Are there any calling function for
2020 Apr 04
5
Help useRs to use R's own Time/Date objects more efficiently
This is mostly a RFC [but *not* about the many extra packages, please..]: Noticing to my chagrin how my students work in a project, googling for R code and cut'n'pasting stuff together, accumulating this and that package on the way all just for simple daily time series (though with partly missing parts), using chron, zoo, lubridate, ... all for things that are very easy in base R *IF*
2005 Jun 23
1
HDLC abort 6 error
I've read as much as I can on this error and still can't seem to figure out what's causing this error: Jun 23 20:54:58 NOTICE[7483]: chan_zap.c:7395 pri_dchannel: PRI got event: HDLC Abort (6) on Primary D-channel of span 1 Jun 23 20:55:03 NOTICE[7483]: chan_zap.c:7395 pri_dchannel: PRI got event: HDLC Abort (6) on Primary D-channel of span 1 Jun 23 20:55:03 NOTICE[7483]:
2020 Jan 20
1
Minor bug in error message in datetime.c
Hi, I have spotted a minor bug in do_strptime() function. Here is a patch: ?--- a/src/main/datetime.c +++ b/src/main/datetime.c @@ -1048,7 +1048,7 @@ SEXP attribute_hidden do_strptime(SEXP call, SEXP op, SEXP args, SEXP env) if(!isString((x = CAR(args)))) error(_("invalid '%s' argument"), "x"); if(!isString((sformat = CADR(args))) ||
2005 Sep 04
2
Blew away MySQL
Unfortunately, I blew MySQL away by replacing the MySQL control tables with others and not making a copy of the folder. My data is backed up, so that is not a problem, but I cannot reinstall MySQL and create the mysql directory with the control tables (e.g. user, db, host). I have run "yum remove mysql" and "yum install mysql" and "yum install mysql-server" and