Displaying 20 results from an estimated 8000 matches similar to: "7 arguments passed to .Internal(identical) which requires 6"
2012 Jun 05
1
7 arguments passed to .Internal(identical) which requires 6
I know this has come up before on R-help
(http://r.789695.n4.nabble.com/7-arguments-passed-to-Internal-identical-which-requires-6-td4548460.html)
but I have a concise reproducible case that I wanted to share.
Also, please note the Bioconductor scenario which is potentially
seriously impacted by this.
The issue arises when a binary version of a package (like my example
package below) is built
2011 Aug 01
2
5 arguments passed to .Internal(matrix) which requires 7
Hello,
I am having a problem with the function matrix. Specifically, when I pass
three arguments (two more being instantiated in the function), I get the
following error message:
Error in matrix(0, 30, 10) :
5 arguments passed to .Internal(matrix) which requires 7
I looked into it, and someone has suggested that this may be the function
from an old version of R. I recently changed my source
2012 Aug 06
2
Windows 7 and .libPaths()
Hello,
I'm having some trouble trying to set the .libPaths() on Windows 7,
R-2.15.0 and R-2.15.1. The environment variables R_LIBS and R_LIBS_USER
are set according to the help page for .libPaths() and the Rprofile.site
file has the default setting, as shown below. R-2.14.1 recognizes the
lib paths but not R-2.15. Is this a bug or am I doing something wrong?
(I've also tried with
2012 Apr 28
1
Unable to install rggobi in R 2.15
I am currently using R 2.15.0 with R Tools 2.15 (in Windows XP). I downloaded the source for RGgobi and extracted it to a folder.
Then I tried compiling and installing with the following command and got an error message:
--------------------------------------------------------------------------------------------
D:\Work\tmp>R CMD INSTALL --build "D:\\DPF\\Rggobi\\rggobi"
*
2012 Apr 27
1
Unable to compile & install rggobi
I am currently using R 2.15.0 with R Tools 2.15 (in Windows XP). I downloaded the source for RGgobi and extracted it to a folder.
Then I tried compiling and installing with the following command and got an error message:
------------------------------------------------------------------------------------------------------------------
D:\Work\tmp>R CMD INSTALL --build
2009 Feb 10
1
need help with installRExcel()
Struggled a whole day, but still could not get DCOM working on my machine.
What I did is:
1. Installed R 2.8.1 under folder "../R/R-2.8.1"
2. Installed R_Scilab_DCOM3.0-1B5 under folder ".. \R\(D)COM Server"
3. Installed packages: rscproxy_1.0-12, RExcelInstaller_3.0-10,
rcom_2.0-4...
4. run the following commands:
library(rscproxy)
library(rcom)
2011 Jun 25
2
calling R from C
I read R extensions on calling R within c code. I am on windows vista, cygwin and R-2.13.0.I can compile & link the c code with following commands$gcc -I/cygdrive/c/Progra~1/R/R-2.13.0/include -c -ggdb Rhello.c
gcc-L/cygdrive/c/Progra~1/R/R-2.13.0/bin/i386 -oRhello Rhello.o -lR
However I cant run the resulting .exe file with following command
LD_LIBRARY_PATH=/cygdrive/c/Progra~1/R/R-2.13.0/bin
2006 May 17
2
checking package dependencies
Dear all,
I seem to be unable to check a source package since I upgraded R to 2.3.0
(Ubuntu Linux 5.1). I get this:
* checking package dependencies ... ERROR
> tools:::.check_package_depends("/home/adi/Work/QCAGUI")
I have even tried with R-patched, same result.
My Renviron does specify the path to the installed packages (and all depending
packages are installed):
2012 Jun 06
1
problem in compililng c code using R CMD SHLIB
Hello all,
I was trying to compile a simple C program hello.c using R CMD SHLIB
hello.c.
MY R software residing in C:\Program Files\R\R-2.15.0, and also I have
downloaded the Rtools 2.15.0 and it is in C:\Rtools, MY file(hello.c) is in
E:\R_dir.
I have followed the procedures given below
1. In a new CMD.exe window I have set the path as
c:\ Rtools\bin; C:\Rtools\MinGW\bin;C:\Program
2017 Dec 05
2
command line arguments are parsed differently on windows, from 3.4.3
One comment:
For your R devel example you didn't use spaces in the expression, i.e.
maybe that's broken too with spaces?
Three questions:
Does it work if you avoid spaces?
Does it work if you use single quotes?
Does this also occur for Rscript?
Thxs
Henrik
On Dec 5, 2017 03:44, "G?bor Cs?rdi" <csardi.gabor at gmail.com> wrote:
I wonder if this is intended.
Thanks,
2002 Jun 27
1
Building from a source-code library under windows
Dear All,
I have a pair of .cpp and .def file can be compiled using VC++ and works
perfectly well in S-PLUS.
I wanted to do the same for R; so I followed the guidline given in "Building
from a source-code library under Windows" as much as possible and manage to
compile them using VC++ and call it from R. But it gives different answer
from the one called from S-Plus.
I know that I did
2017 Dec 05
2
command line arguments are parsed differently on windows, from 3.4.3
Sorry for not reading carefully and thanks for confirming problem with
Rscript too.
On Dec 5, 2017 08:47, "G?bor Cs?rdi" <csardi.gabor at gmail.com> wrote:
> On Tue, Dec 5, 2017 at 4:40 PM, Henrik Bengtsson
> <henrik.bengtsson at gmail.com> wrote:
> > One comment:
> > For your R devel example you didn't use spaces in the expression, i.e.
> maybe
2020 Mar 10
4
R CMD INSTALL cannot recognize full path on Windows
Oops, I think both of us forget to cite the r-devel channel.
Best,
Jiefei
On Tue, Mar 10, 2020 at 5:13 AM Wang Jiefei <szwjf08 at gmail.com> wrote:
> Thanks for your quick response, Tomas.
>
> Yes, this is a path issue, I think the problem is related to R, not the
> Rtools make. I built an example package for reproducing the problem:
> https://github.com/Jiefei-Wang/example
2003 Feb 03
2
[Out off-topic] SJava under Windows
Sorry for this off-topic subject.
I am fighting for running SJava under Windows.
SJava_0.64 (compiled by Simon Urbanek, thanks), R 1.6.2, Java JDK 1.4.0_02,
Windows XP pro:
> library(SJava)
> .JavaInit()
Error in .JavaInit() : Couldn't start Java Virtual Machine: Cannot find the
Omegahat interface manager class. Check you classpath!
> # And the second time...
> .JavaInit()
It
2020 Mar 11
1
R CMD INSTALL cannot recognize full path on Windows
Jiefei,
you did not commit all files into the example package - your example has things like RcppExports.cpp as well as additional flags which are not in your GH project. I suspect the issue is with the extra flags you're adding - those don't come from R. Please make sure you can replicate the issue with the GH package you created.
Cheers,
Simon
* installing *source* package
2011 Oct 21
3
R v2.13.2 - Cannot find Rcmd on path?
Hello,
I recently updated to R version 2.13.2. With R version 2.10.0, I often
created and installed R packages, however, I cannot do this since updating.
In other words, when I type in Rcmd build -binary PACKAGENAME I receive an
error message: "Rcmd is not recognized as an internal...". I suspect that
this is because Rcmd.exe is no longer installed in the bin folder, but
rather, in
2012 Jun 24
2
Win 64 package build - ERROR: loading failed for 'x64'
I have developed an R package that works under Win32, but when I attempt to build it on Win64,
I get ERROR: loading failed for 'x64'
More precisely, I developed and tested the package under Win32 and it works. But when I move
to a 64 bit Windows 7 (Home Premium) system, and attempt to build both 32 bit and 64 bit packages,
the 32 bit package seems to build, but the 64 bit build
2020 Mar 11
0
R CMD INSTALL cannot recognize full path on Windows
Thanks a lot for your suggestions. I see what you mean. I have removed all
unnecessary files and dependences on https://github.com/Jiefei-Wang/example,
but still no luck. I've tried to install the package as a user, not admin,
but I got the same error. Also, I apologize for spamming the mail list. I
will keep my reply as neat as possible.
Martin has suggested checking the encoding of the file
2004 Jul 07
2
Win32 & C code
Hi,
I'm trying to get C code working with R. This is my first time writing C
on Windows and I'm making a mess of it. Help!
I'm following the example in Roger Peng's "An Introduction to the .C
interface to R". The C code is:
#include <R.h>
void hello(int *n){
int i;
for(i=0; i < *n; i++) {
Rprintf("Hello, world!\n");
}
}
I seem to be unable
2017 Dec 05
0
command line arguments are parsed differently on windows, from 3.4.3
On Tue, Dec 5, 2017 at 4:40 PM, Henrik Bengtsson
<henrik.bengtsson at gmail.com> wrote:
> One comment:
> For your R devel example you didn't use spaces in the expression, i.e. maybe
> that's broken too with spaces?
I did. There are two R-devel examples, one with spaces (buggy) and one
without spaces (works).
To show that spaces are the problem.
> Three questions:
>