Displaying 20 results from an estimated 10000 matches similar to: "Snippets from other packages/ License"
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
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
*
2008 Jun 17
1
Reading csv-data from variables
Dear Listmembers,
I'm looking for a convenient way to read csv-data which are stored in
variables of data frames.
I'm working with nested csv-data: one of the columns of the first
table stores a long string containing a second csv-coded table. My
problem is to parse that second-order csv-table.
As the read.csv command requires a link to a file, I couldn't get it
to read the
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
2015 Apr 22
3
alternate licensing for package data?
Martyn Plummer <plummerm <at> iarc.fr> writes:
>
> I think this is covered well by the CRAN repository policy:
> http://cran.r-project.org/web/packages/policies.html
>
> The two key license requirements are that:
> 1) CRAN must have a perpetual license to distribute the package
> 2) The package license should be listed here:
>
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
2009 Dec 23
2
loading data into ZOO
Hello,
I have a simple question. I am trying to load data into a zoo object. I have
the data in CSV format as follows
SYMBOL DATE TIME PRICE
XX YYYYMMDD HH:MM:SS n.nn
and there are multiple symbols in this one data frame.
My question is, do I need to merge DATE and TIME before loading them or can
I specify multiple index.column or index.name fields?
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 <-
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
>
2017 Oct 29
3
Renjin?
Hi All,
OK, in the "back to the drawing board" department, I found what looks like a much better solution to using R in Java. Renjin.
Looking at the docs and then trying a quick example, didn't quite work.
Of course I'm missing something.
Although I'm telling the engine to require ("biotools") just like I would in R itself, when I get to the line of code that