similar to: pause in function execution

Displaying 20 results from an estimated 6000 matches similar to: "pause in function execution"

2012 Oct 11
2
simple parsing question?
I am using the getQuote function in the Quantmod package to retrieve the % change for a stock as follows: > getQuote("aapl",what=yahooQF(c("Change Percent (Real-time)"))) Trade Time %Change (RT) aapl 2012-10-11 03:41:00 N/A - -1.67% How can I extract the numeric "change %" which is being returned as a factor so that I can use it in other
2009 Feb 05
4
eval and as.name
I'm sure there is a more general way to ask this question but how do you use the elements of a character vector as names of objects in an expression? For example, say you have: a = c(1,3,5,7) b = c(2,4,6,8) n=c("a","b") and you want to use the names a and b in a function (e.g. sum) sum(eval(as.name(n[1])),eval(as.name(n[2]))) works but what is a simpler way to
2009 Mar 05
1
listing functions in base package
How can I print the definition of a function that is in the base package? for example, if I type: which.min I get function (x) .Internal(which.min(x)) <environment: namespace:base> How can I see the definition of this function? Thanks.
2013 Nov 18
3
Sending a matrix in an email
I have a matrix which has colnames and I would like to send this matrix using sendmailR. How can I convert this simple matrix to a format which can be used as the body variable in sendmailR? I see how I can create a file attachment using mime_part but I would like to send the matrix in the body of the email. The matrix looks like: ABD DEF GHI JKL MNO TOT [1,] 0.44 0.81 1.67 0.37
2008 Nov 04
2
strange list structure question
my problem is more complex than below but I think below can suffice. i have a list and the name of it at the top level is GGG. so, if i do an lapply and operate on lower components in the sublist, then I can do as shown in EXAMPLE 1 and what will come back will be named GGG at the top level. but, suppose that , the function inside the lapply function was more complex and i wanted to
2009 Jul 09
4
Issues with file.info?
Are there any tricks associated with file.info? I just tried it on a directory folder and it returned NA for all fields for all files. I tried it on a different folder with different files and it still returned NA. I tried it on a specific file and it returned all the proper info correctly. Just wondering if there are any tricks I've overlooked.
2008 Oct 29
2
linux batch question
I usually just run my R programs at the R command prompt but for my latest one I want to save any output that gets written to the screen so I am trying to use R CMD BATCH and send the output to an output file. I realize I could use sink at the prompt but I'd rather try to do it this way because I know that I used to do this in S+. So, I wrote a simple one line program called test.R which
2009 Mar 05
3
character string as object name
Can someone please tell me why the following (last line) doesn't work (as I expect it to :-) library(quantmod) a = getSymbols("MSFT",from="2009-3-01") a MSFT eval(as.name(a)) MSFT$MSFT.Adjusted b=paste(a,'$MSFT.Adjusted',sep='') b eval(as.name(b)) Why does this last line not work the way the earlier eval does? Thanks.
2009 Feb 25
8
learning R
I was wondering why the following doesn't work: > a=c(1,2) > names(a)=c("one","two") > a one two 1 2 > > names(a[2]) [1] "two" > > names(a[2])="too" > names(a) [1] "one" "two" > a one two 1 2 I must not be understanding some basic concept here. Why doesn't the 2nd name change to
2009 Feb 25
8
learning R
I was wondering why the following doesn't work: > a=c(1,2) > names(a)=c("one","two") > a one two 1 2 > > names(a[2]) [1] "two" > > names(a[2])="too" > names(a) [1] "one" "two" > a one two 1 2 I must not be understanding some basic concept here. Why doesn't the 2nd name change to
2010 Jan 17
4
How to convert character matrix or data.frame to numeric?
Hello, This turned out to be surprisingly hard for me: Let's say I have mm = matrix(as.character(seq(1,30, 1)), nrow=3); mm [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [1,] "1" "4" "7" "10" "13" "16" "19" "22" "25" "28" [2,] "2" "5"
2001 Oct 26
1
pinball.exe
I tried running Pinball.exe (comes with Windows 2000) and got the following message after the Pinball splash screen blinked on the screen for an instant and then exited: fixme:mci:MCI_LoadMciDriver Couldn't load driver for type PINBALL.MID If you don't have a Windows installation accessible from Wine, your perhaps forgot to create a [mci] section in system.ini. I have an [mci] section in
2018 Jan 07
1
help needed on quantmod....
dear members, I am using quantmod to work with stock prices... I am trying to append the data got from getQuote to the one got by getSymbols. The function is named "apnd". The code is as follows: function(x){ if ((class(x) == "xts") || (class(x) == "zoo")){ sym <- deparse(substitute(x))
2017 Sep 06
1
Using quantmod to obtain current Dow Jones index
R 3.4.1 OS X Colleagues, I am just learning to use the quantmod package and I have encountered something that I don?t understand. This works: getSymbols("^DJI") This does not work: getQuote("^DJI?) It returns only NAs: Trade Time Last Change % Change Open High Low Volume ^DJI <NA> N/A N/A N/A N/A N/A N/A N/A Two questions: 1. Is there some way to obtain the
2011 Nov 03
3
Extract Data from Yahoo Finance
Hi R ?users, ? I am using R-2.14.0 on Windows XP. ? May I request you to assist me for the following please. ? I like to extract all the fields (example: a : Ask, b : Bid, ??, w : 52-week Range, x: Stock Exchange) ?for certain period of time, say, 1 October 2011 to 31 October 2011. ? Is there any R-Package(s) & any R- script please? ? Once again, thank you very much for the time you have
2011 Oct 20
4
quantmod package
i am new to the quantmod package . so if the answer is trivial please excuse me. i want to study stock values within a day. i get current stock updates using getQuotes and then want to produce usual quantmod graphs with that values. also the graph should be able of adding technical indicators. please help. in addition it will be helpful if anyone suggests how to run that code continuously to get
2015 Jun 24
2
[Announce] Samba 4.1.19 Available for Download
I show the file size as 19M on the FTP site. 95MB is the gunzipped size. I suspect something unzipped it as it downloaded, I've seen browsers do that. I also pulled the file personally, and found the sizes lined up: ira at ira-t430:~/Downloads [/dev/pts/1](64/0)$ ls -la samba-4.1.19.tar.gz -rw-rw-r--. 1 ira ira 19558250 Jun 23 20:16 samba-4.1.19.tar.gz ira at ira-t430:~/Downloads
2006 Apr 28
4
The Ajax Experience
Anyone on the list going to The Ajax Experience in San Francisco May 10? _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2013 Mar 27
11
[Bug 62835] New: Screen freezes after resume from s2ram
https://bugs.freedesktop.org/show_bug.cgi?id=62835 Priority: medium Bug ID: 62835 Assignee: nouveau at lists.freedesktop.org Summary: Screen freezes after resume from s2ram QA Contact: xorg-team at lists.x.org Severity: normal Classification: Unclassified OS: Linux (All) Reporter: pontus.fuchs at gmail.com
2006 Apr 06
1
pause / unpausequeuemember
Hi, I wanted to use the same extensions for Pausing and UnPausing queue members. Is that a variable that is set up with the agent status (on call, available, not logged, paused) so that I could use it to make some logic in this extension? exten => 111,1,Set(AGENTEPARADESLOGAR=${$[AGENTBYCALLERID_${CALLERIDNUM}]}) exten => 111,2,PauseQueueMember(|Agent/${AGENTEPARADESLOGAR}) exten =>