Displaying 20 results from an estimated 2000 matches similar to: "Problem with R_registerRoutines"
2018 Feb 27
0
R-devel Digest, Vol 180, Issue 24
I didn't find the development version of your package but the latest version archived on CRAN uses Rcpp, RcppArmadillo.
Since the latest versions of Rcpp and Armadillo support registration, it may be something related to RcppAttributes()
or similar. I think that you don't need to do registration manually.
I had a similar problem but when I realised the above, I discarded everything
2018 Feb 23
0
Problem with R_registerRoutines
>>>>> <Jon.SKOIEN at ec.europa.eu>
>>>>> on Fri, 23 Feb 2018 15:43:43 +0000 writes:
> Thanks a lot for your answer Jeroen!
> I should have mentioned that I had actually only checked with the win-builder, as I did not have R-devel installed on my computer.
> But based on your answer I installed R-devel locally on a Linux-server
2018 Feb 23
2
Problem with R_registerRoutines
Thanks a lot for your answer Jeroen!
I should have mentioned that I had actually only checked with the win-builder, as I did not have R-devel installed on my computer.
But based on your answer I installed R-devel locally on a Linux-server (Redhat), and the package could be checked without the NOTE. So you might be right that this is a windows issue. However, another package that I am maintaining
2018 Feb 23
0
Problem with R_registerRoutines
On Windows this warning may be a false positive if R cannot find
"objdump.exe" which is required for this check. I think this is
actually a bug in R because it should be looking for "objdump.exe"
inside BINPREF (where gcc is) rather than on the PATH.
Can you check if you get the same warning if you upload the package to
https://win-builder.r-project.org ?
On Fri, Feb 23,
2018 Feb 23
2
Problem with R_registerRoutines
Dear list,
I am trying to update a package to pass the CRAN-checks.
But I am struggling with the following note:
File 'psgp/libs/i386/psgp.dll':
Found no calls to: 'R_registerRoutines', 'R_useDynamicSymbols'
File 'psgp/libs/x64/psgp.dll':
Found no calls to: 'R_registerRoutines', 'R_useDynamicSymbols'
It is good practice to register native
2016 Dec 07
0
Strange behavior when using progress bar (Fwd: Re: [R] The code itself disappears after starting to execute the for loop)
Dear Martin and Jon,
I can reproduce this problem in the Windows GUI, where I observed it using Jon's program after 75 iterations. I didn't observe the problem in a Windows terminal or under RStudio, letting the program run for more than 200 iterations in each case.
My system and session info:
------------- snip ---------
> Sys.info()
sysname release
2016 Dec 07
3
Strange behavior when using progress bar (Fwd: Re: [R] The code itself disappears after starting to execute the for loop)
>>>>> Jon Skoien <jon.skoien at jrc.ec.europa.eu>
>>>>> on Wed, 7 Dec 2016 11:04:04 +0100 writes:
> I would like to ask once more if this is reproducible also for others?
> If yes, should I submit it as a bug-report?
> Best,
> Jon
Please Windows users .. this is possibly only for you!
Note that I do *not* see problems on
2012 Mar 08
2
Cannot change location of tempdir()
Hi,
One of the functions I use needs to write to a temporary file, in the
directory given by tempdir(). I want to change this from the standard
one, as the file is too large for the drive. However, tempfile() doesnt
seem to respect the environment variables when I change them with
Sys.setenv(). In a fresh R-session:
> Sys.getenv("TMP")
[1]
2016 Dec 07
0
Strange behavior when using progress bar (Fwd: Re: [R] The code itself disappears after starting to execute the for loop)
I would like to ask once more if this is reproducible also for others?
If yes, should I submit it as a bug-report?
Best,
Jon
On 11/28/2016 11:26 AM, Jon Skoien wrote:
> I first answered to the email below in r-help, but as I did not see
> any response, and it looks like a bug/unwanted behavior, I am also
> posting here. I have observed this in RGui, whereas it seems not to
>
2012 May 24
1
New S3 methods for optional package
Hi,
I have asked this question before, but the solution I ended up with (see
below) creates a note when running R CMD check. So I am trying again...
I am developing a package B that, among other things, also offers some
extra S3-methods for functions in package A if the user has installed A.
I do not want to list A under Depends of B, as the dependency list of A
is rather long, and most
2023 Sep 02
1
Fails to install Rfast package
Hi,
I was trying to install Rfast package in iMac (OS HIGH SIERRA) from
source. However the installation fails with below message.
Rfast is an essential package for various other packages in R
Could you please help how to resolve this error?
Thankss for your help
> install.packages("/Volumes/WDStorage/NAS Download/Rfast_2.0.8.tar.gz", repos = NULL)
* installing *source* package
2007 Jan 23
2
is it necessary to always register C routines with R_registerRoutines?
I am writing bindings to the neural network simulator SNNS.
At present I have used only .C interface, now I'm studying .Call interface.
I have adapted the example from page 77 of r-exts.pdf, however, it crashes
R.
I use MingW as recommended by Duncan Murdoch.
Please, tell me what I am missing.
The code is below.
Thank you.
SEXP snns_getVersion(void)
{SEXP version;
char *v;
2016 Nov 28
2
Strange behavior when using progress bar (Fwd: Re: [R] The code itself disappears after starting to execute the for loop)
I first answered to the email below in r-help, but as I did not see any
response, and it looks like a bug/unwanted behavior, I am also posting
here. I have observed this in RGui, whereas it seems not to happen in
RStudio.
Similar to OP, I sometimes have a problem with functions using the
progress bar. Frequently, the console is cleared after x iterations when
the progress bar is called in a
2024 May 30
1
How to call directly "dotTcl" C-function of the tcltk-package from the C-code of an external package?
I asked Tomas.
Apparently this works:
getNativeSymbolInfo("dotTcl",PACKAGE=getLoadedDLLs()$tcltk)
and the tcltk behavior was changed by
r84265 | hornik | 2023-04-15 08:44:36 +0200 (Sat, 15 Apr 2023) | 1 line
Try forcing symbols in ff calls.
Index: library/tcltk/src/init.c
===================================================================
--- library/tcltk/src/init.c
2007 Mar 19
3
Rinternals.h and undefined symbols
Hi,
I'm trying to register my native routines using R_registerRoutines
(...). I can compile the code, but the loader cannot resolve the symbol:
undefined symbol:
_Z18R_registerRoutinesP8_DllInfoPK12R_CMethodDefPK15R_CallMethodDefS3_S6
_
$ nm bgx.Rcheck/bgx/libs/bgx.so | grep R_registerRoutines
U
_Z18R_registerRoutinesP8_DllInfoPK12R_CMethodDefPK15R_CallMethodDefS3_S6
2015 Jun 17
2
Add-on argument in sample()
On 6/16/2015 1:32 PM, Peter Meissner wrote:
> Am .06.2015, 14:55 Uhr, schrieb Millot Gael <Gael.Millot at curie.fr>:
>
>> Hi.
>>
>> I have a problem with the default behavior of sample(), which performs
>> sample(1:x) when x is a single value.
>> This behavior is well explained in ?sample.
>> However, this behavior is annoying when the number of
2014 Sep 30
1
Package Rcpp: Question conerning source code of cpp files and related question
Dear all,
I am trying to use Rcpp to write some files in C++ for use in R.
Below is an example for a cpp-file (crossp.cpp). Then I use
>sourceCpp("crossp.cpp") in R and the corresponding function is
availabe in R.
Now I have to question related to this worklfow:
1) Is there a way to see the source file of the "final" cpp-file? (I
mean is it possible to see how the
2008 Oct 08
1
error installing lattice package
I just updated my Redhat EL systems to R-2.7.2, and tried to update my
packages as well. Lattice is one that failed. What do I need to do?
R version 2.7.2 (2008-08-25)
> install.packages("lattice", repos = "http://cran.fhcrc.org/")
Warning in install.packages("lattice", repos = "http://cran.fhcrc.org/")
:
argument 'lib' is missing: using
2010 Sep 15
2
lapack in R 2.11.1 (Ubuntu 10.04.1)
Hi there,
I'm trying to install the package RcppArmadillo in my R 2.11.1 which I installed
and regularly update via Ubuntu's repositories.
When I try to install RcppArmadillo from CRAN I get:
> install.packages('RcppArmadillo', lib='~/myRlibs')
[...]
g++ -shared -o RcppArmadillo.so RcppArmadillo.o fastLm.o
-L/home/matias/myRlibs/Rcpp/lib -lRcpp
2011 Dec 05
1
RcppArmadillo compilation error: R CMD SHLIB returns status 1
Dear all,
running the example by D. Eddebuettel (http://dirk.eddelbuettel.com/blog/2011/04/23/) I get an error message. Specifically, the R code I was taking from the above example is
### BEGIN EXAMPLE ###
suppressMessages(require(RcppArmadillo))
suppressMessages(require(Rcpp))
suppressMessages(require(inline))
code <- '
arma::mat coeff = Rcpp::as<arma::mat>(a);
arma::mat