similar to: does R provides a wait or pause function?

Displaying 20 results from an estimated 30000 matches similar to: "does R provides a wait or pause function?"

2004 Nov 23
2
sorting without order
Hello, In order to increase the performance of a script I'd like to sort very large vectors containing repeated integer values. I'm not interesting in having the values sorted, but only grouped. I also need the equivalent of index.return from the standard "sort" function: f(c(10,1,10,100,1,10)) => grouped: c(10,10,10,1,1,100) ix: c(1,3,6,2,5,4) is there a way
2005 Jan 12
2
mydataframe$colname: using substring of colname may also match some column (PR#7496)
Full_Name: Marc Mamin Version: 1.8, 2.0.0 OS: Windows & Linux Submission from: (NULL) (217.17.202.254) Using only the beginning of a column name will match it: >aaa<-1 >df<-as.data.frame(aaa) >names(df) [1] "aaa" >df$a [1] 1 !!!!!!!!! (I expect df$a to be undefind) >df$x >NULL Compare with: > df["aaa"] aaa 1 1 > df["a"]
2005 Feb 21
2
character occurence within a string
Hello, I'm looking for a function that counts the occurences of a given character within a string. f('|','ab|c|d') => 2 More precisely, I need to complete a vector of strings to ensure that all elements have the same count of a "separator": a|b|c a |a|b|c|d => a|b|c|| a|||| |a|b|c|d I guess that scan makes use of an internal function that would do
2004 Oct 27
1
regexp,grep: capturing more than one substring
Hello, I would like to have a function that retrieve matching strings in the same way as with java.util.regex (java 1.4.2). Example: f('^.*(xx?)\\.([0-9]*)$','abcxx.785') => c('xx','785') First of all: Is it possible to achiev this with grep(... perl=TRUE,value=TRUE )? As I would call this function very often with large data, I'm reluctant to use Sjava
2004 Sep 29
4
multiple match question
Hello, I'm looking for a fast way to retrieve the position of elements from a vector which match element in another vector. Example va<-c('a','e') vb<-c('a','b','c','d','e','f','e') f(va,vb) should return c(1,5,7) I have 2 different cases: I) my vector vb contains only distinct values II) my vector vb may
2003 Jul 09
2
RODBC and Oracle: error "table does not exist"
Dear r-helpers! I have trouble reading data from an Oracle data base using RODBC Version 1.0-3, R Version 1.7.1, Windows XP, Oracle8 ODBC Driver Version 8.1.6.4.0: > library(RODBC) > channel <- odbcConnect(dsn="PAV32", case="oracle", believeNRows=FALSE) > # ok, this was succesful > x <- sqlTables(channel) > x[37, ] TABLE_CAT TABLE_SCHEM TABLE_NAME
2003 Jul 28
3
http://www.omegahat.org/RSXML
Hi, As the server www.omegahat.org seems to be down since quite a while, could someone send me the RSXML library for Windows2000 ? Many thanks, Marc Mamin
2003 Sep 09
2
lattice.xyplot: adding grid lines
Hallo, I'd like to add grid lines to a lattice graph having 2 series of Y data. See these 2 examples: data(iris) [1] xyplot(Sepal.Length + Sepal.Width ~ Petal.Length , data = iris, allow.multiple = TRUE, scales = "same",type="l", ) [2] xyplot(Sepal.Length + Sepal.Width ~ Petal.Length , data = iris, allow.multiple = TRUE, scales =
2003 Jul 18
0
line colors in lattice.xyplot with png device
On Friday 18 July 2003 12:28, r-help-request at stat.math.ethz.ch wrote: > Message: 9 > Date: Thu, 17 Jul 2003 13:50:29 +0200 > From: Marc Mamin <M.Mamin at intershop.de> > Subject: [R] line colors in lattice.xyplot with png device. > To: r-help at stat.math.ethz.ch > > Hi, > > R is very new for me, so excuse if my questions are too basic... > > ????????BTW,
2003 Sep 18
1
lattice, trellis.device, dev.off() within a condition (seems t o be a bug)
Hi, I have a strange issue under W2K; consider these two code extracts: 1) if(condition a){ trellis.device(png,filename = filename_a,... xyplot(... dev.off() } 2) if(condition a){ trellis.device(png,filename = filename_a,... xyplot(... } dev.off() In 1), The png file is generated, but empty; in 2), where I've taken the dev.off clause out of the condition block, my plot is
2003 Jul 17
2
line colors in lattice.xyplot with png device.
Hi, R is very new for me, so excuse if my questions are too basic... BTW, are there any forum where new R users could get help without annoying this huge mailing list ? In following code, I'd like to choose the color for each of the curve diplayed. png(filename = filename, width = 950, height = 600, pointsize = 10, bg = "white") xyplot(HITS+MS1*3+FREQ~TIME
2004 Sep 05
1
Pause or Wait character in Dial command?
Is there a Pause or Wait character for dial tone command for the Dial command? Like in a modem Dial string? I'm having issues with the FXO Analog line not returning dial tone quick enough for * to recognize. Arick -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040905/a4a1388f/attachment.htm
2005 Aug 23
1
Wait before dialing ( was Pause during dialing to enter another number)
Started a new thread as my problem is somewhat different than the OP. Seems his somewhat different problem doesn't work as advertised either. Eric Wieling wrote: > I don't know what the problem is, but this is what I use and it works on my analog FXO port. > exten => _9NXXNXXXXXX,1,Dial(${PSTN}/w${EXTEN:1}) So, I modified slightly to fit my dialplan: exten =>
2003 Dec 05
1
OpenSSH Contrib/solaris buildpkg.sh
Hi, thanks for this great work. Just a minor point - maybe you should mention the rm -rf $FAKE_ROOT command within your README file: It caught me unexpected and I was looking a couple of minutes for the package artifact before I actually read the last line. Regards, Burkhard Kohl Lead Engineer Content Management burkhard.kohl at intershop.de INTERSHOP? http://www.intershop.de INTERSHOP
2009 May 18
11
Zfs and b114 version
http://dlc.sun.com/osol/on/downloads/b114/ This URL makes me think that if I just sit down and figure out how to compile OpenSolaris, I can try b114 now^h^h^h eventually ? I am really eager to try out the new quota support.. has someone already tried compiling it perhaps? How complicated is compiling osol compared to, say, NetBSD/FreeBSD, Linux etc ? (IRIX and its quickstarting??) --
2009 Feb 09
3
pause in function execution
I would like to have a function which gets data, does a calculation and prints a result and then waits some number of seconds and repeats. If I use Sys.sleep, the execution is pausing but the function output is buffered so that it all comes out when the function terminates. How can I get output while the function continues to execute?
2001 Mar 12
2
pause
I've been playing with a quincunx animation in R 1.2.2 and would like to have finer control over the speed of the animation. I know that I can use system("sleep 1") on unix systems at least, but it would be nice to have something like pause(.01). Any suggestions? url: http://www.econ.uiuc.edu Roger Koenker email roger at ysidro.econ.uiuc.edu Department of Economics vox:
2010 Feb 05
2
Pause in non-interactive mode
Dear all, I've found this nice code fragment on the web (from Jan T. Kim if I'm correct): hitReturn <- function(msg) { invisible(readline(sprintf("%s -- hit return", msg))); } But it does not seem to work in non-interactive mode ( I mean, when I start a script like this: R --vanilla < script.R ) It simply continues, I guess the stdin is not connected? Does somebody
2010 Apr 19
2
Pause time
i want to pause my cent os time and date in a spesific date :D is it possible ? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20100419/6f4b5018/attachment-0002.html>
2001 Sep 21
1
adding a pause utility in the distribution
This is going to look silly, but I've seen it asked so many times that I'm starting to think it should be included in the OpenSSH distribution. People want to set up persistent tunnels without having to keep a shell open. The following program can be used with -f to do just that: #include <unistd.h> int main() { pause(); return 0; } Any chance of this making it