similar to: General Question on learning R...

Displaying 20 results from an estimated 1000 matches similar to: "General Question on learning R..."

2004 May 20
1
Windows versus Unix packages in CRAN (Was Re: Rmetrics)
Prof Brian Ripley <ripley at stats.ox.ac.uk> wrote: mkdir fBasics unzip fBasics.zip -d fBasics rm fBasics/src/*.o R CMD check fBasics and that took me about 3 minutes. Now me, I just did unzip -a fBasics_190.10051.zip R CMD INSTALL fBasics rm -rf fBasics in a naive and trusting manner. It took me considerably longer than 3 minutes to learn that this was what I should do, and
2005 Jun 09
1
Error to install library( fSeries)
Dear @ll Friends, After trying to install some libraries such as fSeries, I receive this error: Fehler: unable to create temp directory 'C:/Programme/R/rw2010pat/library\file12763' Also after trying to install other packages ,I receive similar errors, for example, installation of tseries: Fehler: unable to create temp directory 'C:/Programme/R/rw2010pat/library\file30539' ...
2006 Apr 04
3
Financial functions
In what R package(-s) can I find the entire set of financial functions that you can find in MS-Excel such as PMT, PPMT, FV and IPMT? Ciao Vittorio
2005 Apr 20
2
fSeries Technical Analysis rsiTA problem
fSeries Technical Analysis rsiTA problem Hello, I?m trying to use the rsiTA() function but keep getting this error: >rsiTA(tsx,14) Error in "[.timeSeries"(close, 1:(length(close) - 1)) : only 0's may be mixed with negative subscripts Here?s is the first three lines of my data: >tsx[1:3,] close 2004-04-18 20:00:00 8702.82 2004-04-19
2008 May 21
3
Problem with R or fBasics Package (PR#11495)
I have a problem wirh R: After loding fBasics packages log funtion doesn't work like as fallow: Cenap ERDEMIR Hacettepe University Turkey > log(20) [1] 2.995732 > local({pkg <- select.list(sort(.packages(all.available = TRUE))) + if(nchar(pkg)) library(pkg, character.only=TRUE)}) Loading required package: fImport Loading required package: fSeries Loading required package: robustbase
2008 Apr 07
2
tcltk issue remains
Dear R-help, I'm trying to load the fGarch package and keep running into problems with tcltk: After succesfully instaling fGarch (and dependencies) I get: >library(fGarch) Loading required package: fBasics Loading required package: fImport Loading required package: fSeries Loading required package: robustbase Loading required package: fCalendar Loading required package: MASS Loading
2006 Apr 26
1
garchFit from fSeries
Dear R People: I'm trying to use the garchFit function from the library(fSeries) However, R freezes every time that I use it. Is anyone else having this problem, please? Thanks in advance! R Version 2.2.1 Windows. Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: hodgess at gator.uhd.edu
2010 Aug 25
1
Documenting S4 Methods
I'm in the process of converting some S3 methods to S4 methods. I have this function : setGeneric("enrichmentCalc", function(rs, organism, seqLen, ...){standardGeneric("enrichmentCalc")}) setMethod("enrichmentCalc", c("GenomeDataList", "BSgenome"), function(rs, organism, seqLen, ...) { ... ... ... })
2007 Aug 08
2
Error: Cannot Coerce POSIXt to POSIXct when building package
A newbie here - please forgive me if this is a basic question. We have an in house package built in R 2.2.1 (yes we're a little behind the times at our firm)and would like to rebuild it using R 2.5.1. However, when I try and build the package from source, I keep getting this error: Error in as(slotVal, slotClass, strict = FALSE) : no method or default for coercing "POSIXt"
2013 Jan 17
2
error installing KEGGSOAP
Hi, I am new to bioconductor, trying to install KEGGSOAP package, but got warnings() when installing and error message when trying to load the package, can anyone suggest what went wrong? many thanks John > source("http://bioconductor.org/biocLite.R") Bioconductor version 2.11 (BiocInstaller 1.8.3), ?biocLite for help > biocLite("KEGGSOAP") BioC_mirror:
2003 May 16
3
ARMA.predict?
Hi there, Does anyone know how to predict ARMA? It doesn?t have either predict or forecast methods. I found couple of packages called fbasic and fseries at http://www.itp.phys.ethz.ch/econophysics/R/, which has ?arma.predict? in it, but it doesn?t seem to be working. Any help in this regard would be appreciated. Thanks in advance. Regards Skanda Kallur "Prediction is very difficult,
2006 Jan 30
1
fExtreme packages
Hello, I am a new user of R. I am trying to use the packages fBasics and fExtremes when i am running the examples I get few error. Could someone tell me what is happenig? Thank you beforehand. from Fbasics packages: xmpfBasics() Error in file(file, "r") : unable to open connection In addition: Warning message: cannot open file '/usr/lib/R/library/fBasics/demoIndex'
2010 Apr 19
2
How to pass a list of parameters into a function
Does anyone know how to pass a list of parameters into a function? for example: somefun=function(x1,x2,x3,x4,x5,x6,x7,x8,x9){ ans=x1+x2+x3+x4+x5+x6+x7+x8+x9 return(ans) } somefun(1,2,3,4,5,6,7,8,9) # I would like this to work: temp=c(x3=3,x4=4,x5=5,x6=6,x7=7,x8=8,x9=9) somefun(x1=1,x2=2,temp) # OR I would like this to work: temp=list(x3=3,x4=4,x5=5,x6=6,x7=7,x8=8,x9=9)
2008 Jun 02
1
Help : R-packages : Problems loading package fSeries
Hi. I am trying to load the package fSeries, in order to load the package fGarch after. However, it says the following message. > local({pkg <- select.list(sort(.packages(all.available = TRUE))) + if(nchar(pkg)) library(pkg, character.only=TRUE)}) Loading required package: fBasics (Error : ... infinite recursion) Loading required package: fImport Loading required package: fSeries Loading
2005 May 08
1
what is a good learning book for R?
Aside from An Introduction to R by W. N. Venables, D. M. Smith (the PDF is free), what would people recommend as a good starter book? I was thinking of introductory Statistics with R by Peter Dalgaard. Any thoughts?? My knowledge of Stats is stale and the primary use of R is for time series analysis. Any advice would be greatly appreciated. Thanks. -- Jonathan jqm475 at gmail.com
2004 Dec 13
3
Moving standard deviation?
Is there a simple function in R to get a moving standard deviation (i.e. for the last x samples)? My goal is to plot bollinger bands around a moving average for price data. I use kernel smoothing for the moving average. cheers and thanks! over and out -- doktora
2010 Oct 24
1
140 packages in R Commander!!
Dear List I just downloaded and installed R 2.12.0 and then installed R Commander . First it got RCmdr and Car, and then suggested for other packages for utilizing the full functionality- I clicked yes! I got 140 packages installed!!! Cran Mirror was UCLA... Here is the list. Is this intentional- I can see some packages like snow and multicore which are desirable but quite optional.(see list
2007 Jul 19
1
Questions regarding R and fitting GARCH models
Dear all, I've recently switched from EViews to R with RMetrics/fSeries (newest version of july 10) for my analysis because of the much bigger flexibility it offers. So far my experiences had been great -prior I had already worked extensively with S-Plus so was already kind of familiar with the language- until I got to the fSeries package. My problem with the documentation of fSeries is that
2006 Aug 15
1
fMultivar OLS - how to do dynamic regression?
Hi folks! Does anybody know how to use the OLS function in fMultivar to do dynamic regression? I've tried specifying lags in OLS using a data series created in fSeries and it doesn't seem to work. I've done dynamic regression using dyn$lm and I was wondering how to accomplish the same thing using the OLS function from fMultivar. Thanks! John [[alternative HTML version
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