Displaying 20 results from an estimated 20000 matches similar to: "R-packages updates"
2008 Oct 27
2
r-cran-vars?
Hi,
I was wondering what is the recommended way to install the "vars" package in
debian. And for that matter, how do you usually install R packages not
included in debian? I guess I could simply use install.packages() but I'm
afraid of ending up with several versions of the same package which could be
bad I guess... Any recommendation on how to go with this?
Thanks in advance for
2011 Apr 19
1
Where did my packages go ?
Running linux 10.04 ubuntu.
Looks like Ubuntu automatically updated to version 2.13. I was running
version 2.12 until today. But now I'm getting error messages when I use the
require or library command and one of the packages I've downloaded in the
past. For example:
> require(quantmod)
Loading required package: quantmod
Warning message:
In library(package, lib.loc = lib.loc,
2007 Nov 17
1
littler usage
Hi,
I've been using r (the little, but sweet one!), and recently found out
about the magic argv vector of the rest of arguments passed to it. How
can we process an argument that represents elements of a vector:
$ r littler_ex.R 14 '3, 2'
Error in ff * ss : non-numeric argument to binary operator
where:
,-----[ cat ~/scripts/R/littler_ex.R ]
| ff <- as.numeric(argv[1])
| ss
2012 Nov 25
1
I'd like to know more efficient method to verify the pre-packaged codes
Hello,
I want to add some new functionalities in the package 'quantmod '.
So I download source code and am managed to build it.
I found that modifying code and check if it works by repeating the following steps:
1) r CMD check quantmod
2) r CMD build quantmod
3) r CMD INSTALL quantmod_0.3-17.tar.gz
4) launch R gui
5) library('quantmod')
6) run my script
Let me know if there
2008 Jun 18
1
best way to update packages when using Debian packages of R
After some frustrations with installing some R packages from source,
usually related to library dependencies or suspected kernel problems
(recent one with Ubuntu and Rmpi) I decided to give Debian a try. I'm
working through the tutorial found at
http://cran.r-project.org/bin/linux/debian/ and I have a couple
questions about how packages are best updated between releases of R.
Many R packages
2011 Apr 25
1
Help with objects
Hi all,
I would appreciate some help in understanding how to find out about objects.
For example, to the extent that I understand R it seems to treat everything
as an object even without declaring them as objects. Everything has
attributes, for example, which are like instance variables in objects. In
addition, there are S3 and S3 category objects. Is there a good
introductory description of how
2015 Nov 04
1
setOldClass("xts")
Hello,
I apologize that I am cross posting here after getting no answer from
my initial
question on stack overflow
<http://stackoverflow.com/questions/33492601/r-setoldclass-only-if-needed>.
I should certainly have posted it first here..
I am using 3 packages:
- xts
- quantmod
- 'myPackage'
quantmod is creating a union class by doing:
setOldClass("xts");
2008 Oct 13
2
problem with update.packages
Hi, is anyone else getting this error? Could this be a bug?:
> update.packages(ask=FALSE)
Error in read.dcf(pkgpath, fields = fields) :
Line starting 'unix; ...' is malformed!
> sessionInfo()
R version 2.8.0 RC (2008-10-12 r46696)
x86_64-pc-linux-gnu
locale:
2018 Feb 14
2
How to turn off warnings about class name conflicts
Hi,
I am using two packages (quantmod and FRAPO)
Quantmod and FRAPO both have a class names "zoo"
R is displaying the following warning when I manipulate an object of class
zoo:
Found more than one class "zoo" in cache; using the first, from namespace
'quantmod'
Also defined by ?FRAPO?
The warning is displayed every time I manipulate a zoo object and becomes
pretty
2012 Mar 16
1
Basic Quantmod help needed
Hi,
I'm new to R and Quantmod. I'm trying to make use of Quantmod's features
however I'm failing at the first hurdle and I'm finding most R documentation
a little cryptic.
I have some minutely data for the same day for a stock in an existing
timeSeries (ts) object. For example:
Date time price volume
2012-03-12 08:01 45.01 10000
2012-03-12 08:02
2010 Jan 30
2
Stop packages and datasets to be loaded on startup.
Hi.
I would like to know how to start an embedded R session, and avoid
datasets and the standard library packages to be loaded on startup.
I've been looking at littler's code (so this is partly a question to
Dirk Eddelbuettel...):
> /* We don't require() default packages upon startup; rather, we
> * set up delayedAssign's instead. see autoloads().
>
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
2020 Feb 06
1
R (language) + install.packages("DMwR") :
Hi:please i am working on fedora 31, then i installed R (language), and i want to install a R package ("DMwR"), but i get these warning messages ...:
The downloaded source packages are in
?? ??/tmp/RtmpCBUyte/downloaded_packages?
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Warning messages:
1: In install.packages("DMwR") :
2012 Jul 07
1
Getting objects from quantmod ticker list
Hi all,
I would need to put datas downloaded with quantmod into a matrix or a data
frame.
Suppose to start from here:
*require(quantmod)
ticker.list <- c('AAA', 'ALTSALES', 'AMBNS', 'AMBSL', 'BAA', 'EMRATIO',
'FEDFUNDS', 'GASPRICE', 'GS1', 'GS10', 'GS20', 'LNS14100000', 'MORTG',
2018 Jan 18
0
Split charts with ggplot2, tidyquant
Hi Charlie,
I am comfortable to put the data in any way that works best. Here are two
possibilities: an xts and a data frame.
library(quantmod)
quantmod::getSymbols("SPY") # creates xts variable SPY
SPYxts <- SPY[,c("SPY.Close","SPY.Volume")]
SPYdf <- data.frame(Date=index(SPYxts),close=as.numeric(SPYxts$SPY.Close),
2018 Feb 14
0
How to turn off warnings about class name conflicts
On 2/13/2018 11:47 PM, Ayhan yuksel wrote:
> Hi,
>
> I am using two packages (quantmod and FRAPO)
>
> Quantmod and FRAPO both have a class names "zoo"
>
> R is displaying the following warning when I manipulate an object of class
> zoo:
>
> Found more than one class "zoo" in cache; using the first, from namespace
> 'quantmod'
>
2008 Oct 14
1
problem with update.packages (PR#13161)
On 14 October 2008 at 09:39, Simon Blomberg wrote:
| Hi, is anyone else getting this error? Could this be a bug?:
|
| > update.packages(ask=FALSE)
| Error in read.dcf(pkgpath, fields = fields) :
| Line starting 'unix; ...' is malformed!
|
| > sessionInfo()
| R version 2.8.0 RC (2008-10-12 r46696)
| x86_64-pc-linux-gnu
Confirmed in plain R using the same package built this
2018 Mar 15
1
Adjusting OHCL data via quantmod
Hello,
I'm trying to do two things:
-1. Ensure that I understand how quantmod adjust's OHLC data
-2. Determine how I ought to adjust my data.
My overarching-goal is to adjust my OHLC data appropriately to minimize the
difference between my backtest returns, and the returns I would get if I
was trading for real (which I'll be doing shortly).
Background:
-1. I'm using Alpha
2024 Dec 31
2
Citation for stock price data from Quantmod
Yes, you need to cite the source of data and the method for retrieval. You also need to cite programs used in manipulating the data, cleaning the data, and analyzing the data. I should be able to read what you wrote, and using those methods recover the data independently from you and finish all other steps in the analysis. I should not have to guess.
Tim
-----Original Message-----
From: R-help
2016 Apr 06
2
Is this a bug in quantmod::OpCl?
OpCl works on xts objects but not on quantmod.OHLC objects. Is this a bug?
Example error:
x.Date <- as.Date("2003-02-01") + c(1, 3, 7, 9, 14) - 1
set.seed(1)
x <- zoo(matrix(runif(20, 0, 1), nrow=5, ncol=4), x.Date)
q <- as.quantmod.OHLC(x,c("Open","High","Low","Close"))
# error
OpCl(q)
#> Error in `colnames<-`(`*tmp*`, value =