Displaying 20 results from an estimated 2000 matches similar to: "Line histogram for a matrix"
2006 May 17
2
No output in sourced R program
Hi,
If I type it in the command line I get, as expected:
> 1:30
[1] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
23 24 25
[26] 26 27 28 29 30
> q()
Save workspace image? [y/n/c]: n
If I create a program 02e451444d6a46acf551996579092c911b90aa8e.R and run
it I get
R : Copyright 2006, The R Foundation for Statistical Computing
Version 2.3.0 (2006-04-24)
>
2002 Aug 13
1
R CMD check: Too long [R] code line generated (PR#1900)
Full_Name: Henrik Bengtsson
Version: 1.5.1
OS: WinMe
Submission from: (NULL) (217.210.0.243)
In the Perl script $R_HOME/bin/check there is a bug under the section "Check R
code for syntax errors" where the 'Rfiles <- c(...)' is build up. If there are
too many files in @Rfiles the source code line generated will be too long and
weird things will happen, e.g. strange
2004 Sep 28
1
package error message
Hi,
I am trying to make my own package in Windows XP with R 1.9.1. using
Rcmd build/ Rcmd.
The initial Rcmd build compiles ok with no error messages. However, when
I run Rcmd check it runs ok up until
* checking for file 'GammaTest/DESCRIPTION' ... OK
* checking if this is a source package ... OK
* checking whether package 'GammaTest' can be installed ... ERROR
Installation
2012 Dec 04
4
partial analisys of a time series
Dear list members
I want to analyze separately the months of a time series. In other words, I
want to plot and fit models for each month separately.
Taking the example of
http://a-little-book-of-r-for-time-series.readthedocs.org/en/latest/src/timeseries.html
births <- scan("http://robjhyndman.com/tsdldata/data/nybirths.dat")
birthstimeseries <- ts(births, frequency=12,
2007 Feb 22
1
R CMD CHECK question
hi,
I have two private packages, the first (`pkc') depending on the second one
(`roiutils'). The source code and DESCRIPTION files describes the dependency
as it should be ('Imports', `require'), at least I think so.
now, running
R CMD CHECK pkc
yields the following output in which I have inserted my
questions (lines starting with -->):
* checking for working latex ...
2007 Mar 19
1
R CMD CHECK problem
I tried two times to get some help for this from the help list but to no avail. I hope,
it's OK to post this here (once...). if not, please ignore (the rest of) this
mail:
for one of my private packages R CMD CHECK {package} givves me annoying warnings
due to 'missing links' in the manpages for functions from another private
package mentioned in the manpages. specifically, I have two
2003 Sep 14
2
Problem building methods package?
For the last, I dunno, week or so I've been unable to build R... I
finally took the time to investigate and the crash is in building
'methods':
all.R is unchanged
../../../library/methods/man/methods.Rd is unchanged
make[2]: `Makedeps' is up to date.
../../../../library/methods/libs/methods.so is unchanged
make[1]: Nothing to be done for `Rfiles'.
Any clues to where this
2009 Jul 21
1
Forecasting - Croston Method Error
Hi,
I tried to use the Croston function from the forecasting package
1.24<http://robjhyndman.com/software/forecasting> with
the code below, but I get in return this message "*Error in
decompose(ts(x[1L:wind], start = start(x), frequency = f), seasonal) : time
series has no or less than 2 periods*".
histValues
2010 Mar 19
1
Arima forecasting
Hello everyone,
I'm doing some benchmark comparing Arima [1] and SVR on time series data.
I'm using an out-of-sample one-step-ahead prediction from Arima using
the "fitted" method [2].
Do someone know how to have a two-steps-ahead forecast timeseries from Arima?
Thanks,
Matteo Bertini
[1] http://robjhyndman.com/software/forecast
[2] AirPassengers example on page 5
2017 Feb 15
2
stats::median
The generic stats::median method is defined as
median <- function (x, na.rm = FALSE) {UseMethod("median")}
I suggest that this should become
median <- function (x, na.rm = FALSE, ...) {UseMethod("median")}
This would allow additional S3 methods to be developed with additional
arguments.
Currently I have to over-ride this generic definition in the
demography
2024 Feb 07
1
[EXTERNAL] Re: NOTE: multiple local function definitions for ?fun? with different formal arguments
I put the idea below into a function that gives nicer looking results.
Here's the new code:
dupnames <- function(path = ".") {
Rfiles <- pkgload:::find_code(path)
allnames <- data.frame(names=character(), filename=character(), line
= numeric())
result <- NULL
for (f in Rfiles) {
exprs <- parse(f, keep.source = TRUE)
locs <-
2009 Nov 06
2
Debugging makefiles.
I have sucessfully built and run R from source and I have begun to change some of the source files to help with my learning process. All of a sudden I recieved the following error on build:
building package 'stats'
all.R is unchanged
building package 'datasets'
all.R is unchanged
../../../library/datasets/R/datasets is unchanged
building package 'methods'
all.R is
2010 Aug 19
1
memory problem
Hi,
when i run the following code i get this massege:
"The instruction at 0x######## reference memory at
0x#######, the memory cannot be "read".
and then i have to close R.
what is the problem and how can i solve it?
thanks in advance
Avi
my code
# frailtypack
library(frailtypack)
cgd.ag <- read.csv("C:/rfiles/RE/cgd.csv")
cgd.nfm <-frailtyPenal(Surv(TStart,
2005 Oct 11
5
show message while loading - ajax
Hello,
Could anybody please tell me how I would show a message or an image while
the ajax request gets processed?
thank you in advance for your help.
this is what I came up with but it doesn''t really work:
function getHTML() {
var url = "./scripts/rfiles.php";
var par = "";
var myAjax = new Ajax.Updater("fm-viewdetails", url, {method:
2017 Mar 01
1
stats::median
>>>>> Martin Maechler <maechler at stat.math.ethz.ch>
>>>>> on Mon, 27 Feb 2017 10:42:19 +0100 writes:
>>>>> Rob J Hyndman <Rob.Hyndman at monash.edu>
>>>>> on Wed, 15 Feb 2017 21:48:56 +1100 writes:
>> The generic stats::median method is defined as median <-
>> function (x, na.rm = FALSE)
2002 Aug 14
1
FW: R CMD check: Too long [R] code line generated (PR#1900)
On Wed, 14 Aug 2002, Henrik Bengtsson wrote:
> Sorry, but it was indeed the redirection of the standard output in
> Cygwin/bash that cause the first problem, not R (I should stop doing
> troubleshooting at 1:00 AM). So please forget about the problems reported in
> R_CMD_check.out. However, it would still be nice if you still update R CMD
> check to do join with "\n".
2002 Aug 14
0
source() crashes on long lines (PR#1900)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
------=_NextPart_000_0006_01C2432C.7ACD6BA0
Content-Type: TEXT/PLAIN; CHARSET=iso-8859-1
Content-Transfer-Encoding: 8BIT
Content-ID: <Pine.GSO.4.44.0208140920312.15226@auk.stats>
2023 Jan 05
1
R 'arima' discrepancies
Rob J Hyndman gives great explanation here
(https://robjhyndman.com/hyndsight/estimation/) for reasons why results
from R's arima may differ from other softwares.
@iacobus, to cite one, 'Major discrepancies between R and Stata for
ARIMA'
(https://stackoverflow.com/questions/22443395/major-discrepancies-between-r-and-stata-for-arima),
assign the, sometimes, big diferences from R
2011 Jan 24
3
error with source(): invalid 'times' value
hi
I am seeing a strange behavior I can't understand... doing:
> source("/tmp/RFile.r",echo=TRUE)
Error in rep.int(c(prompt.echo, continue.echo), c(leading, length(dep) - :
invalid 'times' value
> traceback()
3: rep.int(c(prompt.echo, continue.echo), c(leading, length(dep) -
leading))
2: paste(rep.int(c(prompt.echo, continue.echo), c(leading, length(dep)
2011 Oct 02
0
Arimax First-Order Transfer Function
Dear list members,
I am a (very) recent convert to R and I am hoping you can help me with a
problem I'm having. I'm trying to fit a first-order transfer function to an
ARIMA intervention analysis using the "arimax" function. The data was
obtained from McCleary & Hay (1980) (via Rob Hyndman's Time Series Library:
http://robjhyndman.com/tsdldata/data/schizo.dat). It has