Displaying 20 results from an estimated 80 matches similar to: ""undefined symbol" when `R CMD check'."
2013 Mar 25
1
error installing RcppClassic
Anyone knows what does this error means? > library(RcppClassic) Error in gzfile(file, "rb") : cannot open the connection I thought I installed the package successfully: > install.packages('RcppClassic') Installing package(s) into ‘C:/Program Files/R/library’ (as ‘lib’ is unspecified) also installing the dependency ‘Rcpp’ trying URL
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 Oct 08
0
Fatal Error: unable to load base package
*Dear All*
*
*
*I am able to compile the simple program given in the site
http://dirk.eddelbuettel.com/code/rinside.html, but when i execute it a
dialog appear saying "Fatal Error: unable to load base package". Please
help.*
*
*
*With regards*
*
*
*Sudhabrata Majumder*
*
*
This is the source code
#include <RInside.h> // for the embedded R via RInside
int
2017 Dec 03
1
Rcpp, dyn.load and C++ problems
On 3 December 2017 at 11:08, Peter Langfelder wrote:
| I would go to the source, in this case Dirk Eddelbuettel's (I hope I
| spelled it correctly)
You did. Take a point :)
| documentation for Rcpp:
|
| http://dirk.eddelbuettel.com/code/rcpp/Rcpp-attributes.pdf
Yup. And
RShowDoc("Rcpp-attributes", package="Rcpp")
in R is even easier.
On 3 December 2017 at 13:19,
2013 Mar 25
2
ifelse can't return a list? Please explain (R-2.15.3)
I hope you are doing well.
For me, this was an unexpected problem. I've hoped for quite a few
wrong things today, but I'm only asking you about this one. Why does
ifelse(1, list(a, b, c), list(x, y, z))
return a list with only a, not list(a, b, c) as I hoped. I wish it
would either
cause an error or return the whole list, not just the first thing.
Working example:
> x <- 1
>
2013 Apr 09
3
rep() fails at times=0.29*100
Dear list,
I have found an unusual behavior and would like to check if it is a
possible bug, and if updating R would fix it. I am not sure if should post
it in this mail list but I don't where is R bug tracker. The only mention I
found that might relate to this is "If times is a computed quantity it is
prudent to add a small fuzz." in rep() help, but not sure if it is related
to
2013 Apr 11
1
parallel::mclapply does not return try-error objects with mc.preschedule=TRUE
Hello,
Consider this:
1)
library(parallel)
res <- mclapply(1:2, stop)
#Warning message:
#In mclapply(1:2, stop) :
# all scheduled cores encountered errors in user code
is(res[[1]], 'try-error')
#[1] FALSE
2)
library(parallel)
res <- mclapply(1:2, stop, mc.preschedule=FALSE)
#Warning message:
#In mclapply(1:2, stop, mc.preschedule = FALSE) :
# 2 function calls resulted in an
2013 Apr 24
2
identify object that causes "Error in loadNamespace(name) : there is no package called ‘R.utils’"
Dear all,
I've bumped into the: "Error in loadNamespace(name) : there is no
package called ?R.utils?" error. I've already read a bit on this (
http://www.cybaea.net/Blogs/Data/A-warning-on-the-R-save-format.html )
but I have a follow-up question.
Given a workspace that automatically loads a package that I don't
really need/want (e.g. ?R.utils?), how do I identify which
2013 Jan 14
1
ginv / LAPACK-SVD causes R to segfault on a large matrix.
Dear R-help list members,
I am hoping to get you help in reproducing a problem I am having That is
only reproducible on a large-memory machine. Whenever I run the following
lines, get a segfault listed below:
*** caught segfault ***
address 0x7f092cc46e40, cause 'invalid permissions'
Traceback:
1: La.svd(x, nu, nv)
2: svd(X)
3: ginv(bigmatrix)
Here is the code that I run:
2011 Jun 27
1
R CMD check --force-multiarch does not install all the archs for testing
Hi,
Why isn't 'R CMD check --force-multiarch' installing the package
for all the architectures that are going to be checked?
For some packages, it only installs for the default arch ('i386').
Then testing the package for 'x64' fails.
For example,
Output of R CMD check --force-multiarch fabia_1.5.0.tar.gz:
-----------------------------------------------------------
*
2017 Dec 03
0
Rcpp, dyn.load and C++ problems
I would go to the source, in this case Dirk Eddelbuettel's (I hope I
spelled it correctly) documentation for Rcpp:
http://dirk.eddelbuettel.com/code/rcpp/Rcpp-attributes.pdf
Note that you need to do
sourceCpp("logistic_map.cpp")
in R instead of building and dyn.load()-ing the object.
HTH,
Peter
On Sun, Dec 3, 2017 at 11:04 AM, Martin M?ller Skarbiniks Pedersen
<traxplayer
2011 Feb 26
0
(no subject)
Greetings,
I have been trying to use the RInside package with C++ however I am running into an error.
I use Ubuntu Linux 10.04 (64-bit) and my R version is 2.12.2. I compiled R from source to give me a shared R library, shared BLAS (ATLAS). When I try to compile one of the examples given in the RInside package it compiles perfectly fine however when I run the program it gives me an error:
error
2017 Dec 03
1
Rcpp, dyn.load and C++ problems
On 3 December 2017 at 20:19, Dirk Eddelbuettel <edd at debian.org> wrote:
Hi Dirk,
Thanks for your answers. I got a few more questions.
>
> 0) Wrong list. Rcpp has its down, rcpp-devel, and I basically do not read
> this and would have missed this were it not for luck.
OK. I did found the rcpp-devel mailing-list.
But I though it was a developers of the rcpp-package.
So it is ok
2013 Jul 20
0
problem with minus signs when using postscript/pdf functions with ComputerModernItalic family
When I use the postscript with the ComputerModernItalic family, minus signs are not properly displayed, but are changed into capital gammas. The attached test-postscript.pdf file illustrates the problem, which I created starting with the following R code:
> postscript("test-postscript.eps", family = "ComputerModernItalic")
> plot(seq(-5,5,1),seq(-5,5,1))
> dev.off()
2017 Dec 03
2
Rcpp, dyn.load and C++ problems
On 3 December 2017 at 05:23, Eric Berger <ericjberger at gmail.com> wrote:
>
> Do a search on "Rcpp calling C++ functions from R"
>
Thanks. However search for "Rcpp calling C++ functions from R" gives a lot
of result but I think
some of them are outdated and others don't agree with each other.
Can you point to a specific good on-line guide for me?
Regards
2012 Nov 27
1
Problems with MinGW and boost on Windows
Hi,
I am not sure how widespread this problem is, but definitely occurs for me
on 64 bit Win 7 with a 64 bit R.
I think I have isolated the issue (to a certain extent) in the attached
Test.cpp file. Basically, I think linking with boost serialization is
causing the plugin to fail.
If I compile Test.cpp with line 43 (Dummy* Read() ...) commented out, I get
the expected output in R:
>
2013 Mar 14
1
Error message in vars package
Hi
I'm getting an error message with the roots() function in the vars package.
Even the example in the help file comes up with an error:
> data(Canada)
> var.2c <- VAR(Canada, p = 2, type = "const")
> roots(var.2c)
Error in UseMethod("roots") :
no applicable method for 'roots' applied to an object of class "varest"
The error is odd, for
2013 Oct 18
3
pamer.fnc y la nueva versión de R
Hola buenas.
al final corri el siguiente código en mi máquina de casa. El problema es
que ha habido algún cambio en la librería lme4, que hace incompatible los
nuevos objetos lmer con la funcioón pamer.fnc. En este tipo de situaciones
imagino que lo propio sería ponerme en contacto con el autor o intentar
corregir yo mismo el código o incluso ambas. ¿Es decortes escribir al
autor reportandole el
2011 Jan 26
2
Dealing with R list objects in C/C++
Hi,
I'd like to construct an R list object in C++, fill it with relevant data, and pass it to an R function which will return a different list object back. I have browsed through all the R manuals, and examples under tests/Embedding, but can't figure out the correct way. Below is my code snippet:
#include <Rinternals.h>
// Rf_initEmbeddedR and other setups already performed
2013 Oct 18
0
pamer.fnc y la nueva versión de R
Estimado Javier Villacampa Gonzáles
Si una persona se toma el trabajo de desarrollar y compartir, como es el
caso de R, seguramente conoce de problemas que tuvo que decidir mientras
escibía el código, y estará agradecido porque hay gente que utiliza su
aporte, su trabajo no fué a la nada, todo lo contrario.
En mi caso un solo autor tuvo una respuesta negativa para con migo.
Javier Marcuzzi