similar to: loading data into ZOO

Displaying 20 results from an estimated 9000 matches similar to: "loading data into ZOO"

2010 Nov 22
4
How to call R from C
Hi all! I read R Extensions manual. But still I am not sure how to call R functions from C. Would any of you give me a sample C code to show how to call R functions - for instance, time series functions - from C in the embedded way of C code? [[alternative HTML version deleted]]
2014 Sep 03
2
timings for examples in R CMD check
I'm having a very hard time making R CMD check produce a clean check on examples because of the timings inserted into examples by R CMD check. I am getting a difference on every example output caused by timing information being inserted by 'R CMD check'. The current 'Writing R Extensions' manual[1] states on p. 14: If directory tests has a subdirectory Examples
2009 May 13
4
matching period with perl regular expression
Hello, I have several strings where I am trying to eliminate the period and everything after the period, using a regular expression. However, I am having trouble getting this to work. > x = "wa.w" > gsub(x, "\..*", "", perl=TRUE) [1] "" Warning messages: 1: '\.' is an unrecognized escape in a character string 2: unrecognized escape removed
2012 Feb 21
1
tempdir() documentation or real bug ?
?tempdir says By default, ?tmpdir? will be the directory given by ?tempdir()?. This will be a subdirectory of the temporary directory found by the following rule. The environment variables ?TMPDIR?, ?TMP? and ?TEMP? are checked in turn and the first found which points to a writable directory is used: if none succeeds ?/tmp? is used. Unfortunately, it doesn't seem to
2015 Sep 05
2
Support for high DPI 4K screens
I was recently testing R and RStudio on a high dpi 4K monitor under Windows and noticed that the plot window cannot be scaled or zoomed without affecting the relative sizing of all plot elements (line widths, font sizes, legend spacing etc). RStudio seems to try to overcome this by enabling dpi scaling for the plot window on high dpi screens, but this results in really fuzzy text and graphics
2009 Dec 23
5
iid.test
I downloaded the iid.test, but I can't run it. I get the following message: Error: could not find function "iid.test" Where am I supposed to save this package in order that it works? Thanks, EZ [[alternative HTML version deleted]]
2017 Sep 13
2
establishing a Code of Conduct for R
Dear Colleagues/Developers/R enthusiasts, Would it be possible to develop a code of conduct (CoC) document for R lists, CRAN submissions that all developers/maintainers to follow? This may help all of us to better communicate and move forward together. There is a similar effort from Python community, here are the links: * https://mail.python.org/pipermail/scipy-dev/2017-August/022044.html *
2009 Dec 27
2
Identifying outliers in non-normally distributed data
Hello, I've been searching for a method for identify outliers for quite some time now. The complication is that I cannot assume that my data is normally distributed nor symmetrical (i.e. some distributions might have one longer tail) so I have not been able to find any good tests. The Walsh's Test (http://www.statistics4u.info/ fundsta...liertest.html#), as I understand assumes that the
2013 Oct 09
1
How to write R data frame to HDFS using rhdfs?
Hello, I am trying to write the default "OrchardSprays" R data frame into HDFS using the "rhdfs" package. I want to write this data frame directly into HDFS without first storing it into any file in local file system. Which rhdfs command i should use? Can some one help me? I am very new to R and rhdfs. Regards, Gaurav [[alternative HTML version deleted]]
2010 Nov 18
1
Performance monitoring tools
Hello, Are there any good tools available for monitoring the performance of R? I'm wanting to capture things such as time elapsed in evaluating an expression, memory usage over time (or operation), and so on. I could build my own but would like to follow established practice, if there is one. Thank you, Patrick [[alternative HTML version deleted]]
2011 Sep 03
2
mclust: modelNames("E") vs modelNames=("V")
Hi, I'm trying to use the library mclust for gaussian mixture on a numeric vector. The function Mclust(data,G=3) is working fine but the fitting is not optimal and is using modelNames="E". When I'm trying Mclust(data,G=3,modelName="V") I have the following message: Error in if (Sumry$G > 1) ans[c(orderedNames, "z")] else ans[orderedNames] : argument is
2013 Sep 05
2
ASCII art in function documentation?
Hi I want to include ascii art in a function documentation which should look as follow: ,---- | +------+------+------+ | | 1/16 | 1/16 | 1/16 | | +------+------+------+ | | 1/16 | 8/16 | 1/16 | | +------+------+------+ | | 1/16 | 1/16 | 1/16 | | +------+------+------+ `---- to keep the monospaced font even in html, I decided to use \code{}: ,---- | \code{+------+------+------+} | | \code{|
2015 Oct 08
1
R-core package cross compilation help
Hi, I am a beginner to R language and currently exploring R to use it for machine learning use case. My requirement is to include R-core package in my embedded linux box which runs on customized Monta Vista Linux with kernel 2.6.32 and it has multi-core MIPS processor. I hope, there is NO pre-compiled R package for Monta vista linux and mips processor. So, i am trying to do cross compilation
2018 Jan 15
1
searching co-mentor for gsoc18
Dear R community, I am in a quest for a co-mentor, expert in R, for the following GSoC18 project proposal: https://github.com/rstats-gsoc/gsoc2018/wiki/Sampling-and-volume-approximation Thank you in advance for your feedback. Best, Vissarion Fisikopoulos
2009 Dec 23
1
Fitting ACD model
Hi - I'm wondering if there is any existing package in R that facilitates ACD (Autoregressive Conditional Duration) model. I googled. Apparently there were packages dynamo and fACD. However, they do not seem to be on any CRAN. I am wondering if anyone could point me to an existing package (if any). Thank you. -r
2013 Mar 14
2
Snippets from other packages/ License
Hello, I want to use a function from another package (which is GPL>=3), about 20 lines of code, in my own package. I somewhat hesitate to depend on the entire package just for this single function, but of course I want to credit the original authors. What would be the best way to do that? Where should I put that credit? Or should I proceed completely different? Best, Felix
2011 Apr 29
1
Handling of irregular time series in lineChart
Hi, I realized that when I have irregular series to feed into lineChart, the interval of each point in the chart does not seem to take care of irregular time interval I specified in my input xts time series. But rather, lineChart seems to take each point as equal spaced time series. For example, I have the following code: library(quantmod) options(digits.sec=3) t0 <-
2009 Jul 21
4
how to transform m/d/yyyy to yyyymmdd?
Hello, I have a set of data that has a Date column looks like this: 12/9/2007 12/16/2007 1/1/2008 1/3/2008 1/12/2008 etc. I'd like the date to look something like the follow (so that I could sort by date easily). 20071209 20071216 20080101 20080103 20080112 How to do it? Thank you very much Julia -- View this message in context:
2010 Mar 10
1
Trouble with plm in Ubuntu 9
Hello, Apologies in advance if this is a stupid question. I am running R on Ubuntu 9. R version 2.9.2 (2009-08-24) I am trying to work with plm. I think the library is installed, as I can do > library(plm) Loading required package: kinship Loading required package: survival Loading required package: splines Loading required package: nlme Loading required package: lattice [1] "kinship
2011 Nov 21
2
a^b when a is large and b < 1 (64bit R on windows 7)
Hi, I'm getting some strange behaviour when trying to use the power operator (a^b) when a is large and b is less than one: big <- .Machine$double.xmax big big^0.5 sqrt(big) > big <- 1.797693134862315708384e+308 > big^0.5 [1] Inf > sqrt(big) [1] 1.340781e+154 I'm guessing that this behaviour is not expected, or am I missing something about ^? Cheers Martyn >