[R] forecast using linear model

2017-02-22 Thread Mayukh Dass
Hello, I have a time series with sales data of two products A and B. The sales data are reported weekly. I want to forecast next 26 weeks sales data for product A using trend, seasonality and sales of B. So first I forecast next 26 weeks sales of B with only trend and season. Next, I tried to cr

Re: [R] Reading Json data

2015-07-27 Thread Mayukh Dass
haracter. > > Try > json_data <- fromJSON(paste(readLines(json_file), collapse = " ")) > > Mark > R. Mark Sharp, Ph.D. > msh...@txbiomed.org > > > > > >> On Jul 27, 2015, at 3:41 PM, Mayukh Dass wrote: >> >> Hello, >>

[R] Reading Json data

2015-07-27 Thread Mayukh Dass
Hello, I am trying to read a set of json files containing tweets using the following code: json_data <- fromJSON(paste(readLines(json_file)) Unfortunately, it only reads the first record on the file. For example, in the file below, it only reads the first record starting with "id":"tag: search.t

[R] Problem with loading library-ks

2008-07-01 Thread Mayukh Dass
Hi, I am trying to load the library(ks), but I am getting the following error: Loading required package: KernSmooth KernSmooth 2.22 installed Copyright M. P. Wand 1997 Loading required package: mvtnorm Loading required package: rgl Loading required package: misc3d Error in lazyLoadDBfetch(key, da