similar to: how to replace text...

Displaying 20 results from an estimated 700 matches similar to: "how to replace text..."

2005 Sep 29
2
priceIts
Dear All, There is an example for the priceIts function (the its package) which does not work for me as expected. > ?priceIts > x1 <- priceIts(instrument = c("^ftse"), start = "1998-01-01", + quote = "Close") Error in validObject(.Object) : invalid class "its" object: Missing values in dates > x2 <-
2004 Jul 02
1
priceIts problem
Dear R People: In library(its), there is a command priceIts. There is a problem with this command. It is returning an error message: > ibm1 <- priceIts(instrument="ibm",start="1998-01-01",quote="Open") Error in download.file(url, destfile, method = method, quiet = quiet) : cannot open URL
2004 Apr 25
2
Yahoo bug in tseries::get.hist.quote and its::priceIts
Both get.hist.quote, and its derivative priceIts, rely on download.file() to fetch financial data series from Yahoo! in .csv format. They allow for nice interactive demonstrations of what one can do with R. Unfortunately, both are currently broken as Yahoo! decided to add a somewhat useless html comment at the end of the csv 'stream', breaking the regular format of n rows with k columns.
2006 Jul 05
2
apologes if you already saw this :efficiency question
hi everyone : i'm not sure if my previous mail about this got sent. i was typing and erroneosuyl hit a button and lost what i was typing. anyway, i have the code below ( it works ) in which i run through the rows of a dataframe, taking out the first two fields which are characters strings ( with some extra spacing so i yuse gsub) and appending these character strings to a list so that i can
2006 Jan 04
3
How Can I solve this?
this may be an easy question, but i am unable to solve it: i want to take the selected choice and process it in the controller: TEMPLATE: <%=start_form_tag :action => ''get_article'' %> <select name=pricelist> <%= options_from_collection_for_select (@customers, "id", "name") %> </select> <%= submit_tag "Get" %>
2011 Jun 22
0
[LLVMdev] Register class proliferation
On Jun 21, 2011, at 10:20 AM, Jakob Stoklund Olesen wrote: > > On Jun 21, 2011, at 9:23 AM, Jim Grosbach wrote: > >> >> On Jun 21, 2011, at 8:51 AM, Jakob Stoklund Olesen wrote: >> >>> In the past, I've seen some pushback on the list against adding more register classes. You can see it in the code as well,
2007 May 04
5
Something wierd with .save method
Hi, I have a very sime app. I need to create as many records in the db as the selected checkboxes (named :isselected) in the view. Here is the code snippet from the controller: isselectedhash = params[:isselected] for mod in isselectedhash.keys @issue = Issue.new(params[:issue]) @issue.state = ''NEW'' @issue.mod_id = isselectedhash[mod] # this gets
2012 Oct 17
3
aggregate function not working?
The aggregate function for some reason will now work for me. The error I'm getting is: "Error in sort.list(y) : 'x' must be atomic for 'sort.list' Have you called 'sort' on a list?" agPriceList=aggregate(PriceList$Size, list(PriceList$bandNum),sum) *Price list dataframe:* dput(PriceList) structure(list(Price = c(0, 8.18, 8.27, 10.42, 10.5, 10.6, 11.13,
2011 Jun 06
0
[LLVMdev] PBQP & register pairing
On Jun 6, 2011, at 12:14 PM, Peter Lawrence wrote: > Arnaud, > another way to look at it, if the description of your register sets includes "pairs", > is that your assembly language syntax for MPQD is redundant, operand-2 is the second > half of the register-pair in operand-0, so an alternative is to let llvm think this is a two > operand instruction (one
2006 Nov 17
1
Manipulating R lists in C
Hi, I have been studying the R manual on lists but cannot seem to create a simple R list in C - I keep on getting "'dimnames' applied to non-array" whenever I attempt to assign names to the list elements: Wanted output a list structure something like [ type="Bid", price=2.0, volume=1000 ] I can get up to a list of [ "Bid2, 2.0, 1000 ] But for the life of
2011 Jun 07
2
[LLVMdev] PBQP & register pairing
I also considered this approach, but did not want to dive in the constraint handling for now. The PBQP path seemed easier at first sight --- and was easy to setup. And I always wanted to give a try to the pbqp :) I will add the hook to the pbqp and propose a patch if this looks clean enough. Thanks, -- Arnaud de Grandmaison -----Original Message----- From: Jakob Stoklund Olesen
2009 Jun 27
3
Skype for Asterisk. Any return of experience ?
Hi, As many remember, almost one year this Skype for Asterisk extension program was announced. Has anyone tried it ? Is there any available pricelist ? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090627/37b93684/attachment.htm
2007 Apr 16
0
priceIts and yahoo
Dear R People: About 2 years ago, there were a few messages about the function priceIts from library(its) generating error messages. One of the suggested fixes at that time was to check security software and such. I'm getting the same message tonight, and have checked both from Windows and a Linux installation. The other suggestion was to determine if there is still a problem with the
2009 Oct 28
1
replacing <NA> in character column
I have a small Excel data file with two columns of character variables, one column with a numeric variable and three rows. One of the character cells is blank and one of the numeric cells is blank. I read the data file with the following code: library(RODBC) channel <- odbcConnectExcel('u:/test.xls') sqlTables(channel) s1 <- sqlFetch(channel, "Sheet1")
2011 Jun 07
0
[LLVMdev] PBQP & register pairing
Hi Arnaud, That sounds great. I look forward to seeing a patch. You may also look forward to big performance improvements in the PBQP allocator: I'm working on updates which will improve compile speeds and massively reduce memory use. Regards, Lang. On Tue, Jun 7, 2011 at 7:02 PM, Arnaud Allard de Grandmaison < Arnaud.AllardDeGrandMaison at dibcom.com> wrote: > > I also
2005 Jan 26
2
ASTCC Trunks
Hi all I have asked this question before but have not got any helping input. I'm really new to this and need some explanation about ASTCC. So here is the question again. In the ASTCC web admin there are Trunks, Routes, IAXFriends, SIPFriends, Brands, Cards. As I understand Brands is not used, Cards just makes the cards. Routed in the dialplan and pricelist, Trunks is for ASTCC to
2005 Jul 12
2
ASTPP
Does anyone have experience setting up ASTPP? I have an Asterisk server in my office that I also give access to some friends and family that live outside Mexico so they can make local calls. I want to keep track of the costs and I only need to use ASTPP to rate the calls, not for calling cards or anything else. I found the documentation a little vague on the details so after setting up and
2005 May 07
1
General Question re R vs S-Plus
Coming up to speed on both R and S-Plus. My access to S-Plus will end soon so I want to get up to speed on R. The big initial difference seems that R has only the command editor where S-Plus also has a windows interface. My preference is to learn the language and the windows interface doesn't really do the trick. My question is, if one uses the windows interface for some functions, is there
2011 Jun 21
2
[LLVMdev] Register class proliferation
On Jun 21, 2011, at 9:23 AM, Jim Grosbach wrote: > > On Jun 21, 2011, at 8:51 AM, Jakob Stoklund Olesen wrote: > >> In the past, I've seen some pushback on the list against adding more register classes. You can see it in the code as well, TargetLowering::getRegClassForInlineAsmConstraint() returns a vector of registers instead of a real register class. >> >> What
2008 Sep 25
3
OHLC Plot with EMA in it
Hi there I have some timeseries data which I plot in a OHLC Plot. In the same plot I'd like to have the EMA of this timeseries. I tried to add the EMA point to OHLC with lines(), but this doesn't work. Has anyone an idea how to handle it? Regards, Michael Zak