similar to: potential r bug (floor)

Displaying 20 results from an estimated 9000 matches similar to: "potential r bug (floor)"

2002 Oct 14
4
log10(), floor() combo issue?
Hi all, in my search for a nice binary2decimal method, I received this nice code (thanx to Uwe Ligges): bindec <- function(b) sum(as.integer(unlist(strsplit(b, ""))) * 2^(floor(log10(b)):0)) It fails, however, with: > bindec(1000) [1] 4 Warning message: longer object length is not a multiple of shorter object length in: as.integer(unlist(strsplit(b, "")))
2003 May 23
2
RGui Startup Error on Win2000 (PR#3084)
Full_Name: Girish Zambre Version: 1.7.0 OS: Win2000 Submission from: (NULL) (66.7.170.2) I just started looking at and trying R. The problem could be external to R, but I really don't know. It reads 'The instruction at "0x004412f0" referenced memory a "0x0095e40c". the memory could not be "read" ' I get this after installing modules
2004 Sep 04
1
tests for non-stationarity
Dear R list members, Please excuse my ignorance but as a new comer to R I was wondering if anyone knows of any functions in R or Splus that can test a time-series for non-stationarity such as the Pettitt or the Mann-Kendall tests. Kind regards, Jon Nott [[alternative HTML version deleted]]
2008 Apr 10
1
Problem installing and using package "tseries"
I have R 2.6.2, and have tried downloading and installing the package "tseries". I get the same error when I use two different mirror sites: > utils:::menuInstallPkgs() trying URL 'http://cran.mirrors.hoobly.com/bin/windows/contrib/2.6/tseries_0.10-14.zip' Content type 'application/zip' length 400799 bytes (391 Kb) opened URL downloaded 391 Kb package
2008 Mar 11
1
Rtools and GCC4 problem
>> I am trying to compile rseries from Whit Armstrong and a colleague of mine found a problem with using GCC4 I get the following error when compiling rseries g++-sjlj -Ic:/R/include -O2 -Wall -c Rutils.cpp -o Rutils.o Rutils.cpp: In function 'double* getColPointer(SEXPREC*, int)': Rutils.cpp:406: warning: deprecated conversion from string constant to 'char*'
2002 Jun 20
2
Problem with installing packages
I am trying to install the package "tseries", I put the Folder "tseries" in the folder "Library". When entring "library(tseries)" in "R", I have got this warning message "the package contains no R Code". When trying to use the functions in the package "tseries", there is an error message "couldn't find function
2006 Apr 26
1
MacOSX package install problem: pkgs quadprog & tseries
I upgraded to R-2.2.1 on two PPC G5 computers today. Further I want to work with the tseries package for the first time. As root with R CMD INSTALL tseries_0.10-0.tar.gz I get the following gcc-3.3 -bundle -flat_namespace -undefined suppress -L/usr/local/lib - o tseries.so arma.o bdstest.o boot.o dsumsl.o garch.o ppsum.o tsutils.o -framework vecLib -L/usr/local/lib/gcc/powerpc-apple-
2007 Nov 04
4
Problems with garch() function tseries package R 2.6.0
Hi all, I recently updated my to R 2.6.0 and tseries package ?tseries? version: 0.10-11. When i was using R Version 2.3.1 (2006-06-01) with tseries 'tseries' version: 0.10-7, the code > garch(dflnRCLC1) ***** ESTIMATION WITH ANALYTICAL GRADIENT ***** Call: garch(x = dflnRCLC1) Coefficient(s): a0 a1 b1 4.985e+00 1.880e-01 6.210e-14 > worked very
2007 Sep 14
1
segfault in download.file
Hello, I was trying to use get.hist.quote in tseries, and got a segfault: -8<----------------------------------- > library(tseries) Loading required package: quadprog Loading required package: zoo 'tseries' version: 0.10-6 'tseries' is a package for time series analysis and computational finance. See 'library(help="tseries")' for
2007 Jul 26
1
Problem installing tseries package
Hi, I'm running R 2.4.1 on Fedora Core 6 and am unable to install the tseries package. I've resolved a few problems getting to this point, by running a yum update, installing the gcc-gfortran dependency, but now I'm stuck. Could someone please point me in the right direction? ========R install.packages output ======= ==================================
2005 Aug 19
1
Problem with get.hist.quote() in tseries
When using get.hist.quote(), I find the dates are broken. This is with R 2.1.1 on Mac OS X `panther'. > library(tseries) Loading required package: quadprog 'tseries' version: 0.9-27 'tseries' is a package for time series analysis and computational finance. See 'library(help="tseries")' for details. > x <-
2019 Jul 07
2
Curl4, Quantmod, tseries and forecast
Dear All, I have just upgraded to Debian stable 10 and rebuilt most of the R packages. I use the R backported packages from here https://cran.r-project.org/bin/linux/debian/#debian-buster-testing for the core system. I encounter some issues when updating quantmod, tseries and forecast. For instance, see the following > install.packages("tseries") which finally fails with the
2019 Jul 07
2
Curl4, Quantmod, tseries and forecast
Dear All, I have just upgraded to Debian stable 10 and rebuilt most of the R packages. I use the R backported packages from here https://cran.r-project.org/bin/linux/debian/#debian-buster-testing for the core system. I encounter some issues when updating quantmod, tseries and forecast. For instance, see the following > install.packages("tseries") which finally fails with the
2010 Apr 25
1
problem with Rcmdr Plugins
Dear R Development People: I have written a couple of plugins for Rcmdr and they do not seem to work with R-2.11.0. Here is the output: > library(RcmdrPlugin.epack) Loading required package: Rcmdr Loading required package: tcltk Loading Tcl/Tk interface ... done Loading required package: car --- Please select a CRAN mirror for use in this session --- Rcmdr Version 1.5-4 Attaching package:
1999 Nov 27
1
portfolio.optim.default, Packages tseries quadprog (PR#348)
Full_Name: Ansgar Steland Version: 0.90.0 OS: Linux 6.1 FreeBSD 3.2 Submission from: (NULL) (62.104.196.10) Dear R Team, Yesterday I downloaded R 0.90.0 and the current versions of some packages (tseries, quadprog,...). I had no problems to build the program using FreeBSD 3.2 and SuSe Linux 6.1. I also re-build all packages required by tseries. I checked out portfolio.optim (package:
2011 Mar 24
2
Help with creating a ts (time series) object with daily sampling values
Hi All, I have a data set of daily measurements of river flow. I would like to create a "ts" object from this data. Here's a sample data set: date <- as.Date(c(1:300), format="%Y") year=as.numeric(format(date, format = "%Y")) month=as.numeric(format(date, format = "%m")) julianday=as.numeric(format(date, format = "%j"))
2008 May 07
2
Problem installing tseries under FC7 x86_64
I have just installed the 64 bit version of R, using yum. The version is: 2.6.2-1.fc7.1.x86_64. I installed zoo without any major problem and the same with quadprog (a few warnings). However, when I came to install tseries I get the following: install.packages() Warning in install.packages() : argument 'lib' is missing: using
2015 Jan 08
4
unloadNamespace
In the documentation the closed thing I see to an explanation of this is that ?detach says "Unloading some namespaces has undesirable side effects" Can anyone explain why unloading tseries will load zoo? I don't think this behavior is specific to tseries, it's just an example. I realize one would not usually unload something that is not loaded, but I would expect it to do
1999 Jul 14
1
tseries package -- license
Thanks a lot for "tseries"! The new (0.1-2) version of the tseries package contains the following in ./README : >> Author(s): A. Trapletti <A.Trapletti@ci.tuwien.ac.at>, >> B. LeBaron ("./src/bdstest.c"), >> K. Krischer, and T. M. Kruel ("./src/muin2ser.f", >> "./misc/mutinfo-1.21b.tar.gz") >>
2007 Apr 19
3
Problem installing packages
I tried to install the package "tseries" but could not do so. Any suggestions are welcome. I am using Ubuntu Linux and here is what I did: $ sudo R Then once in R, I did > install.packages("tseries", dep=TRUE) which gave a long list of errors. Going through them, I saw that the basic problem was that the package "grid" was not found by the packages (like