Displaying 20 results from an estimated 110 matches similar to: "get.hist.quote - is great, but am I missing something?"
2008 Feb 20
1
Is there simple code for this simple financial time series task?
My code below makes a data frame with columns for
date, time, and price. Time on each date runs from 1
to 4.
I'd like to add a new column "ts$closingprice", which
would have the closing price for that date. To find
the closing price, I'd like to take the price in the
row having the greatest time value for each date.
Then I'd like to fill that closing price into the
2008 Dec 22
2
How can I avoid nested 'for' loops or quicken the process?
Hi All,
I'm still pretty new to using R - and I was hoping I might be able to get
some advice as to how to use 'apply' or a similar function instead of using
nested for loops.
Right now I have a script which uses nested for loops similar to this:
i <- 1
for(a in Alpha) { for (b in Beta) { for (c in Gamma) { for (d in Delta) {
for (e in Epsilon)
{
Output[i] <-
2009 Jul 13
7
puppetd no-daemonize
So I have been trying to run puppet once in my kickstart %post scripts but
every time it detaches and daemonizes even though I have explicitly stated
otherwise. Am I missing something?
# rpm -q puppet
puppet-0.24.8-1
# /usr/sbin/puppetd --onetime --no-daemonize --verbose --debug
debug: Creating default schedules
debug: Failed to load library ''shadow'' for feature
2018 Feb 20
0
getQuote in quantmod malfunctioning
dear members,
I have a list of stocks by name snlcq2:
snlcq2 <- c("ICICIBANK.NS" "IBULHSGFIN.NS" "INDUSINDBK.NS" "INFY.NS" "KOTAKBANK.NS" "LTI.NS" "LT.NS" "LUPIN.NS" "M&M.NS" "M&MFIN.NS" "NTPC.NS" "ONGC.NS"
2008 Dec 08
1
Battlefeild 2- new issue?
ubuntu 8.1
Nvidia 9600GT.
Installed BF2 with no problems.
Go to run it- first screen comes up, screen blinks, reverts to desktop, changing resolution from 1440x900 to 800x600. so basically it wont even start
Ive already tried everything i found in previous forums and appdb (i think ive tried it all)
Ive changed the video.con file to read 1024x768 at 60 in the appropiate file. Ive tried
2006 Apr 11
1
cph() in Design package
Hi there, I encountered a weird problem using cph()
with Design package:
I have 2 datasets, say "dat1" and "dat2", both data
frames with 3 columns "time","status" and "scores",
all numeric
If I run the following:
dd<-datadist(dat1)
options(datadist='dd')
dd
time status scores
Low:effect 37.0 0 -6.018
2019 Jan 29
3
Early Tail Duplication Inefficiency
I have a file for which clang-7 takes over 2 hours to compile with -O3. For the same file, clang-5 takes less than 2 minutes (which is also high IMHO). I will try to create a test case (but it is pretty simple, it only contains initializations of many arrays of structs where the structs are of the following form:
struct Foo {
EnumType1 e1; // there are 700+ enum labels
std::string s1;
2013 Feb 16
1
odd behavior within R2HTML
Dear R People:
I'm using R2HTML but having a strange result.
Here is the original data:
resp trt block
90.3 A I
89.2 A II
98.2 A III
93.9 A IV
87.4 A V
97.9 A VI
92.5 B I
89.5 B II
90.6 B III
94.7 B IV
87.0 B V
95.8 B VI
85.5 C I
90.8 C II
89.6 C III
86.2 C IV
88.0 C V
93.4 C VI
82.5 D I
89.5 D II
85.6 D III
87.4 D IV
78.9 D V
90.7 D VI
And here are the commands:
> resin1.df <-
2008 Mar 09
1
Re: wine don't handle hard coded resolutions & refresh rates
Nate Homier wrote:
> I think I get it. So I added the modeline:
> Modeline "1024x768 at 50" 51.85 1024 1056 1248 1280 768 784 791 807
>
> But it still don't work. Running winedebug gives:
> trace:x11settings:X11DRV_ChangeDisplaySettingsEx width=1024 height=768
> bpp=32 freq=50 (XRandR)
> err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found
2008 Nov 08
6
Running Wine in Window Mode
I seem to be able to run a video game in 1024x867 (what ever it is) as a window, by selecting the window mode button in the game. However, i can not run the game in window mode with a resolution set about 1024x867.
What is going on? I am assuming i am missing something in wine or the game that does not allow the video game to be run in any resolution greater than 1024x867 in window mode.
2011 Nov 11
2
Estimating IRT models by using nlme() function
Hi,
I have a question about estimating IRT models by using nlme, not just rasch
model, but also other models.
Behavior Research Methods
<http://www.springerlink.com/content/1554-351x/> Volume
37, Number 2 <http://www.springerlink.com/content/1554-351x/37/2/>, 202-218,
DOI: 10.3758/BF03192688
Using SAS PROC NLMIXED to fit item response theory models (2005). Ching-Fan
2020 Nov 12
2
Musings on the TableGen -emit-dag-isel backend
A rather notorious aspect of TableGen is the time required to run the
-emit-dag-isel backend on some targets, including AMDGPU and X86. I added a
timing feature to TableGen and timed the AMDGPU run.
===-------------------------------------------------------------------------===
TableGen Phase Timing
2017 May 11
4
APC Back-UPS XS 1500G says "No battery"
I have a new-ish APC Back-UPS XS 1500G connected via USB. It's giving me
a "ups.alarm: No battery installed!" error. I also installed and
configured apcupsd to give that a try and it's giving me the same error.
I suspect this is a driver problem because while NUT claims the battery
isn't plugged in, it's giving me battery runtime/charge info. Both can't
be valid
2020 Nov 13
4
Musings on the TableGen -emit-dag-isel backend
I wouldn't want to be too hasty about simply removing the relaxation
algorithm. The size and speed of the compiler affects all users, but the
time to compile the compiler "only" affects us compiler developers. And I
speak as a developer who is heavily affected by the time to compile the
AMDGPU backend.
One off-the-cuff idea (I haven't even looked at the code yet): could we
pass
2002 Oct 11
9
Memory Leak in 2.2.6rc2??
We upgraded to 2.2.6rc2 yesterday to continue our resolving of the printer
driver problems. (Thanks Jerry & Rohin) For unrelated reasons I wanted to
log into the machine late last night and found Putty couldn't connect.
When I get in this morning the server was completely hooped with Out of
Memory errors on the screen with SMBD as the offending process. Trying to
log into any console
2011 Oct 04
3
Error: Device 0 (vif) could not be connected. ip addr add 10.0.0.329 dev vif28.0 failed
I''ve looked everywhere for the error message I''ve posted in the title,
doesn''t seem like anyone else has it (lots of missing hotplugs scripts).
We''re using network-nat. ifconfig -a outputs this:
eth0 Link encap:Ethernet HWaddr 00:19:99:a8:f4:5c
inet addr:X.X.X.X Bcast:X.X.X.X Mask:255.255.255.255
inet6 addr: X::X:X:X:X/64 Scope:Link
2010 Feb 15
7
No keyboard input when running RollerCoaster Tycoon 3
Be forewarned, I am new to Linux. I am using Ubuntu 9.10 (Karmic Koala). I have installed wine (1.1.38) and I am able to run RollerCoaster Tycoon 3 both with and without a virtual desktop. It runs with no problems except for the fact that it does not receive keyboard commands! I have looked all over the Internet and still have yet to find a solution. Someone help, please!
I haven't
2017 Dec 15
3
[cfe-dev] Who wants faster LLVM/Clang builds?
2017-12-09 12:54 GMT-08:00 Chris Lattner via llvm-dev <
llvm-dev at lists.llvm.org>:
>
>
> On Dec 8, 2017, at 5:01 PM, Mikhail Zolotukhin via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
> Hi,
>
> I tweaked my scripts to avoid removing includes when it doesn't give any
> significant benefits, which made the patches significantly smaller. This
>
2017 Dec 09
2
[cfe-dev] Who wants faster LLVM/Clang builds?
Hi,
I tweaked my scripts to avoid removing includes when it doesn't give any significant benefits, which made the patches significantly smaller. This time the patches should not try to remove includes of header files, which are transitively included from other included header files. The gains mostly remained the same (plus/minus noise), the tables are in the end of the email. I also included
2016 Jul 02
5
kqueue crash on FreeBSD with 2.2.25
> On 1 Jul, 2016, at 10:52, Timo Sirainen <tss at iki.fi> wrote:
>
> On 01 Jul 2016, at 19:39, Adam Weinberger <adamw at adamw.org> wrote:
>>
>> Hi,
>>
>> 2.2.25 crashes on FreeBSD with a kqueue-related message. I see references to something similar (http://www.dovecot.org/list/dovecot/2012-February.txt) from a couple years ago.
>>
>> I