Displaying 20 results from an estimated 10000 matches similar to: "Is there a overall calculation precision control in R"
2013 Oct 15
1
randomForest: Numeric deviation between 32/64 Windows builds
Dear R Developers
I'm using the great randomForest package (4.6-7) for many projects and recently stumbled upon a problem when I wrote unit tests for one of my projects:
On Windows, there are small numeric deviations when using the 32- / 64-bit version of R, which doesn't seem to be a problem on Linux or Mac.
R64 on Windows produces the same results as R64/R32 on Linux or Mac:
>
2015 Dec 17
2
llvm-3.6 MCAsmParser x64 Error "invalid operand for instruction" when msb set
Hello,
I am experiencing problems, when trying to assemble these two x86-64 Opcodes
"add r64, imm32"
"imul r64, r64, imm32"
When having the most significant bit set for imm32, for example:
"add rax, 0x80000000", "add rax, 0xffffffff", ...
"imul rbx, rsi, 0x80000000", "imul rbx, rsi, 0xffffffff", ...
The Error Message I receive is the
2015 May 06
2
IdntoAscii issue with KERNEL32.dll on 64-bit R on Windows Server 2003 x64 SP2
Dear list,
With the new R 3.2.0 on the aforementioned platform, I get the following
pop-up error when I enter "?update.packages" using R64:
"The procedure entry point IdnToAscii could not be located in the dynamic
link library KERNEL32.dll"
That is, my command never gets executed. This does NOT happen with R32.
I previously noticed this error starting with R 3.0.0 with the
2009 Jul 01
8
productivity tools in R?
Hi all,
Could anybody point me to some latest productivity tools in R? I am
interested in speeding up my R programming and improving my efficiency
in terms of debugging and developing R programs.
I saw my friend has a R Console window which has automatic syntax
reminder when he types in the first a few letters of R command. And
he's using R under MAC. Is that a MAC thing, or I could do the
2010 Jun 15
2
[LLVMdev] Question on X86 backend
Hi Micah,
> In X86InstrInfo.td for Call Instructions, it mentions that Uses for
> argument registers are added manually. Can someone point me to the
> location where they are added as the comment doesn't reference a
> where or how?
the register uses are added by the function
X86TargetLowering::LowerCall() during the DAG Lowering phase. This is
the relevant code segment:
// Add
2010 Aug 24
3
Compiling Fortran for R : .so: mach-o, but wrong architecture
Dear all,
I'm trying to compile FORTRAN code to be used in R, failing miserably. I got
a simple code function to try to figure out what is going wrong. Here is the
code (available on the web) :
subroutine bar(n, x)
integer n
double precision x(n)
integer i
do 100 i = 1, n
x(i) = x(i) ** 2
100 continue
end
1. I compiled the
2012 Jun 05
2
Seeking pointers to various regression techniques with R?
Hi all,
Could you please point me to good materials on various
tricks/intuitions/techniques of regression, and hopefully in R?
For example, what does lm(y~ x * w - 1) mean vs. lm(y ~ x/w -1 ) vs. lm (y
~ x:w-1), etc...
I just found that even simple linear regression is not that simple and
there are a lot of tricks/techniques in using them...
Hopefully I can find good materials on these!
Thank
2012 Mar 27
2
rgl package broke with R 2.14.2
Dear People
I can't figure out how to fix this problem: rgl won't run under R
2.14.2 (it was working for me before under 2.14.0). The error message
is:
> library(rgl)
Error : .onLoad failed in loadNamespace() for 'rgl', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object '/Library/Frameworks/
2012 Sep 06
3
Help! Weird behavioral difference between R interactive and command-line?
Help! Weird behavioral difference between R interactive and command-line?
Hi all,
This weird problem has been bugging me for a while.
If I run the R program in an interactive session, it worked;
But if I run the R program on command-line, it stopped with no reason: with
"Execution halted" message and without any specific error messages.
What could be the problem?
Thanks a lot!
2012 Mar 10
3
How do I do a pretty scatter plot using ggplot2?
Hi all,
I am trying hard to do the following and have already spent a few hours in
vain:
I wanted to do the scatter plot.
But given the high dispersion on those dots, I would like to bin the x-axis
and then for each bin of the x-axis, plot the quantiles of the y-values of
the data points in each bin:
1. Uniform bin size on the x-axis;
2. Equal number of observations in each bin;
How to do
2010 Jul 28
2
memory problem for scatterplot using ggplot
Dear all,
I have a memory problem in making a scatter plot of my 17.5 million-pair
datasets.
My intention to use the "ggplot" package and use the "bin2d". Please find the
attached script for more details.
Could somebody please give me any clues or tips to solve my problem?? please ...
Just for additional information: I'm running my R script on my 32-bit machine:
Ubuntu
2010 May 29
3
S4 dispatch for .DollarNames (utils)
Hello,
I'm trying to make .DollarNames generic and implement a method for it in
a package. .DollarNames is the function that is now called to get
completion possibilities.
My R code looks like this:
setGeneric( ".DollarNames" )
setClass("track",
representation(x="numeric", y="numeric"))
## A class extending the previous, adding one more
2009 Mar 19
4
Import R-output into Java
Hello,
I want to import R-output via Rserve to Java, especially for the function
ctree from the package party.
Rserve is working properly.
Yet, I only get the predictions with the Java code
try{
RConnection c = new RConnection();
...
c.voidEval("modell <- ctree(...)");
REXP y = c.eval("nodes(modell,1)[[1]]$prediction");
...
2009 Jul 03
6
Remove all spaces from a string so it can be used by assign()
Hi
I have a string "56 Fe [1]" that I would like to use as a variable name by using "assign" however I think the spaces and brackets might be causing R some trouble.
How can I change the string so that it just becomes 56Fe1 and can be used as a variable name.
Thank You
Kurt
_________________________________________________________________
[[elided Hotmail spam]]
2012 Apr 11
1
inference for customized regression in R?
Hi all,
Are there functions in R that could help me do the following?
We have a special type of regression which is called Geometric Mean
Regression.
We have done some search and found the following:
https://stat.ethz.ch/pipermail/r-help/2011-July/285022.html
The question is: how to do the statistical inference on GMR results?
More specifically, we are looking for the prediction interval:
2009 Sep 17
3
How to generate a matrix where each row (or column) is the same vector?
Hi,
I can use the following code to generate a matrix, each column of
which is 'x'. But I have to specify '5' twice in the second command. I
am wondering if there is a better way to do it.
> x=1:10
> matrix(rep(x,5),nc=5)
> t(matrix(rep(x,5),nc=5))
Regards,
Peng
2009 Oct 09
1
celebrating revision 50000
Hello,
Today, Brian Ripley commited the revision 50000 of R's svn repository.
I took this as an opportunity to do some data analysis of the log and
posted some code and graphics on my blog:
http://romainfrancois.blog.free.fr/index.php?post/2009/10/09/celebrating-R-commit-50000
The plots of the number of commits per day (and per month) indicates a
peak in 2002.
Here are the top 20
2010 Apr 30
2
RInside & child threads
Hi Folks,
I am creating a multi-threaded C++ application that initializes RInside in
one of the child thread.
I would also like to access support interfaces like Rcpp::Environment in the
remaining child threads, so that I could access any "R" function associated
with the
environment initialized.
When I run my program, I always get "C Stack limit too huge" errors.
I looked
2009 Dec 01
4
Package is loaded but functions are not exported
Hello,
I wrote a package, which in the NAMESPACE file exports functions like this:
exportPattern("^\\rh")
On R-2.8 (Linux, 64), upon loading the package I have the rh functions present.
On R-2.10, Mac OS X, (32 bit), it builds, loads, but the functions are not
loaded, i.e the only function is rhyper (which is not from my package).
Is there something wrong with my package setup?
2012 Sep 12
1
digit precision in p value of rcorr
Hi all,
Sorry about posting a really novice question.
I was able to run rcorr after converting the list to a matrix by your help.
I'm though wondering if there is any way to find out an exact p value as
the output only gave me 0 for P value as shown below.
I've added options(digits=10), which doesn't seem to help at all. Any help
would be appreciated.
P
D Prime T