Displaying 20 results from an estimated 500 matches similar to: "Download multiple stock quotes in a loop"
2007 Dec 20
1
Recursive solution with for()
Hello,
i just ran into the following problem: I wanted to recursively solve
equations of the type x_1[t]=x_1[t+1]+beta*x_2[t], and used a for-loop
written
for(j in c(1:t-1, recursive=TRUE){
...
}
This didn't work, so i resolved to writing
for(j in c(10,9,...,1){
which worked, but is not terribly efficient. So, what did I do wrong?
Thanks in advance,
Owe
--
Owe Jessen
Diplom-Volkswirt
2007 Dec 28
1
FYI: Package installation problem with windows
Hello,
maybe this info is helpful for someone else, at least it is a reminder
for me if the problem should reoccur:
The last hours R drove me nuts because it wouldn't install new packages,
or more irritating still: It would chose randomly which packages to
install when given a list ("unable to move temporary installation" ).
The solution was to turn of the indexation of
2008 Apr 29
2
Problem installing packages
Hi,
when I try installing new packages (in this case DBI) I run into the
following problem:
Paket 'DBI' erfolgreich ausgepackt und MD5 Summen abgeglichen
Warnung: kann tempor?re Installation
'C:\Programme\R\R-2.7.0\library\file5f906952\DBI' nicht nach
'?
xlD?? $@\R\R-2.7.0\libra' verschieben
Has anybody any idea where these strange symbols come from?
Thanks in
2009 Nov 13
2
linear model and by()
Hello R list,
This is a question for anyone who has used the by() command. I would like to
perform a regression on a data frame by several factors. Using by() I think
that I have able to perform this using the following:
> lm.r <- by(master, list(Sectionf=Sectionf, startd=startd), function(x) lm
(tot.c ~ starttime, data = x))
So that is, I would like to perform separate regressions for
2002 Jun 16
3
lm() function to get coefficients doesn`t work
Hi,
to get the residuals and coefficients I did the following:
kurse <- read.table("kurse.txt" header=T)
the data:
index bmw mru rwe vow kar sie bas
1 159,70 74,18 338,21 89,03 110,30 141,23 178,53 67,97
2 160,76 73,46 343,66 89,38 110,30 142,66 180,45 68,30
3 162,45 74,18 349,12 91,54 108,54 146,22 183,12 68,85
4 162,18 72,74 349,12 92,20 106,43 144,80 181,75
2002 Jun 19
2
solve() doesn`t work
Hi,
I tried to inverse a matrix but it doesn`t work. I hope somebody can help
me. This is what I did.
> kurse <- read.table("kurse.txt", header=T, dec=",")
> x <- cbind(1,kurse[,-c(1)])
> y <- kurse$index
> t(x) %*% x
Error in t(x) %*% x : requires numeric matrix/vector arguments
> x <- as.matrix(x)
> xtxi <- solve(t(x) %*% x)
Error in
2008 Jul 07
4
getting opensolaris b85 domU to start
Folks:
I am unable to get my opensolaris sn-b85 domU to start up in an
opensolaris sn-b85 dom0. I am booted to xvm. Other systems, such as
Fedora 8, WinXP Pro, W2k3 server, W2k8 server and Windows Vista startup
normally.
I have used the following to build the domU:
# mkfile -n 25g /solhvm/solhvm.img
# ls -l /solhvm
total 269
-rw------T 1 root root 26843545600 Jul 7 10:37 solhvm.img
2009 Nov 16
5
xVM filas on SXCE 127
During boot, I get the following error:
Nov 16 09:16:41 sol11 svc.startd[7]: [ID 652011 daemon.warning] svc:/system xvm/store:default: Method "/lib/svc/method/xenstored start" failed with exit status 96.
Nov 16 09:16:41 sol11 svc.startd[7]: [ID 748625 daemon.error] system/xvm/store:default misconfigured: transitioned to maintenance (see ''svcs -xv'' for details)
It
2014 Aug 21
1
Error Starting Samba
I got a copy of the latest samba build from the samba site, v4.1.11. I compiled and installed it with the default options on OpenIndiana 151.1.8. I previously had samba installed from the openindiana repository but this stopped working after my windows folks made security changes to AD. I suspect the older version of samba in the repo 3.5.21-0.151.1.8 lacks certain functionality to enable it to
2008 May 29
1
>1TB ZFS thin provisioned partition prevents Opensolaris from booting.
Not sure where to put this but I am cc''ing the ZFS - discussion board.
I was successfull in creating iscsi shares using ZFS set shareiscsi=on with 2 thin provisioned partitions of 1TB each (zfs create -s -V 1tb idrive/d1). Access to the shares with an iscsi initiator was successful, all was smooth, until the reboot.
Upon reboot, the console reports the following errors.
WARNING:
2011 Mar 13
1
problem with looping formula through table
Dear useRs,
I am stuck with a piece of code and hope you could give me some pointers.
My aim is to calculate the lm-regression coefficients of individual stocks against an index. I am interested in both the coefficient and the pval. While I could do this manually for a select hand full, I hope to scale this up say for 30+ stocks (DAX-30, FTSE-100 etc.) to eventually have a matrix of coefficients
2005 Nov 27
1
how to get ''zfs mount -a'' in some order?
I have several filesystems created from the pool; and some
mountpoints are inside the others, e.g.:
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
nfsv4pool 15.5M 33.5G 98.5K /nfsv4pool
nfsv4pool/KRB5_FS 1.87M 33.5G 1.87M /export/test/KRB5_FS
nfsv4pool/NOSPC_FS 3.01M 0 3.01M /export/test/NoSPC_FS
nfsv4pool/NOTSHARE_FS 105K 33.5G 105K
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??)
--
2007 Jan 30
1
unable to boot zone
I''m unable to boot a zone after I did a sys-unconfig, how do I recover?
GLOBAL ZONE:
---------------------------
dmpk14a603# zoneadm list -cv
ID NAME STATUS PATH
0 global running /
1 snitch-zone02 running /snitch-zone02
4 snitch-zone04 down /snitch-zone04
dmpk14a603# zoneadm -z snitch-zone04 boot
zoneadm: zone
2007 Jun 28
2
NOTICE: cannot instrument return of fd_intr at 7b7d6278: non-canonical return instruction
Folks;
During a jumpstart (2nd boot) of a Sun Fire 240 with Solaris 10 Update 3
(11/06), I noticed the following message;
Jun 27 11:43:33 first fbt: NOTICE: cannot instrument return of fd_intr
at 7b7d6278: non-canonical return instruction
Kernel level was Generic_118833-33. Jumpstart was conducted using the
standard JET modules.
What gives?
The jumpstart worked though. Solaris 10 installed
2007 Dec 12
2
Xend will not start, prints ominous sounding error at boot
I''m currently running snv_76 on my laptop to run a windows XP hvm domU.
Everything has been working great until recently when I started getting
the following messages during boot (from dmesg):
Dec 11 16:31:19 pdlaptop xenstored: [ID 702911 daemon.error] Checking
store ...
Dec 11 16:31:19 pdlaptop xenstored: [ID 702911 daemon.error] Checking
store complete.
Dec 11 16:31:19 pdlaptop
2010 Jan 08
6
How to change a rails app to INstant rails app???
i have a rails app , i need to change that app to instant rails app.
i have been using Net beans as IDE
is der an easy step to do that???
rather creating a new one by copy paste?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2009 Dec 15
0
Error starting up xVM in b129?
I updated to b129 and now I get this error in dmesg on boot.
Dec 15 06:26:05 nas svc.startd[9]: [ID 652011 daemon.warning] svc:/system/xvm/domains:default: Method "/lib/svc/method/xvm-domains start" failed with exit status 1.
Dec 15 06:26:07 nas last message repeated 2 times
Dec 15 06:26:07 nas svc.startd[9]: [ID 748625 daemon.error] system/xvm/domains:default failed: transitioned to
2013 Jul 30
1
[LLVMdev] Enabling the SLP-vectorizer by default for -O3
Nadav,
I ran some benchmarks and I'm seeing 3-6% performance loss on a few of them
when we use SLP on both O2 and O3 (with O3 having the biggest differences).
Unfortunately, my benchmarking is not scientific, so I can't vow for those
numbers, nor I'll have time to investigate it closer in the short term, but
I wouldn't be surprised if this is result of extra shuffles we were
2012 Oct 11
7
kern.maxswzone is gone... what next?
Hi all.
I prefer to build all ports in /tmp, which is actually a tmpfs
filesystem. I have 8G partition. But when I tried to compile Apache
OpenOffice system starts shooting processes when I was near 6G of swap.
Oct 11 18:12:32 ar1l0u kernel: swap zone exhausted, increase kern.maxswzone
Oct 11 18:12:32 ar1l0u kernel: pid 1334 (java), uid 818, was killed: out
of swap space
Oct 11 18:12:32