Re: [R-pkg-devel] Error in dyn.load(dllfile) : unable to load shared object

2016-12-01 Thread Dirk Eddelbuettel
On 1 December 2016 at 17:15, Aarti Singh wrote: | Hello, | | I am new to R package development. I am working on a package that has in | its src folder one (prime) cpp file and some helper cpp (X.Cpp, Y.Cpp) and | one c file (Z.C) and their header files (X.h, Y.h and Z.h) | | I am getting the

Re: [Bioc-devel] package vignette error : external data can't be captured when compiling package vignette

2016-12-01 Thread Hervé Pagès
Hi, Make sure you understand the difference between the *package source tree*, which you control and where you must create the inst/ folder, and the *package installation folder*, which gets created and populated by 'R CMD INSTALL'. The exact location of the *package installation folder* doesn't

[Bioc-devel] package vignette error : external data can't be captured when compiling package vignette

2016-12-01 Thread Jurat Shayidin
Hi BiocDevel : I am getting vignette error when I building my packages, and external data can't be captured by system.file() . I did unit test all function of my packages, it works fine. When I am going to compile package vignette, test input bed file can't be detected. However, I used

[R-pkg-devel] Error in dyn.load(dllfile) : unable to load shared object

2016-12-01 Thread Aarti Singh
Hello, I am new to R package development. I am working on a package that has in its src folder one (prime) cpp file and some helper cpp (X.Cpp, Y.Cpp) and one c file (Z.C) and their header files (X.h, Y.h and Z.h) I am getting the following error when I do 'Build & Reload' in Rstudio. " Error

Re: [Bioc-devel] [Bioc-degel] AnnotationHub needed in the description of the ExperimentHubData

2016-12-01 Thread Marcin Kosiński
Hi Valerie, Thanks for the responce. Yes I have ExperimentHub in Depends. In the following code results I present the `query` NOTE that comes out after devtools::check(). Then I present the content of my DESCRIPTION file and NAMESPACE. After I added AnnotationHub to Imports and

Re: [Rd] Different results for cos,sin,tan and cospi,sinpi,tanpi

2016-12-01 Thread Ei-ji Nakama
hi, my environment... > sessionInfo() R version 3.3.2 (2016-10-31) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Debian GNU/Linux 8 (jessie) locale: [1] LC_CTYPE=ja_JP.UTF-8 LC_NUMERIC=C [3] LC_TIME=ja_JP.UTF-8LC_COLLATE=ja_JP.UTF-8 [5] LC_MONETARY=ja_JP.UTF-8

Re: [Rd] problem with normalizePath()

2016-12-01 Thread Martin Maechler
> Evan Cortens > on Wed, 30 Nov 2016 09:58:59 -0700 writes: > I found this as well. At our institution, our home directories are on > network shares that are mapped to local drives. The default, it appears, is > to set the location for libraries

Re: [Rd] Different results for cos,sin,tan and cospi,sinpi,tanpi

2016-12-01 Thread Prof Brian Ripley
Please note that you need to report your platforms (as per the posting guide), as the C function starts #ifdef HAVE_COSPI #elif defined HAVE___COSPI double cospi(double x) { return __cospi(x); } And AFAICS the system versions on Solaris and OS X behave the same way as R's substitute.

Re: [Rd] Different results for cos,sin,tan and cospi,sinpi,tanpi

2016-12-01 Thread Martin Maechler
> Martin Maechler > on Thu, 1 Dec 2016 09:36:10 +0100 writes: > Ei-ji Nakama > on Thu, 1 Dec 2016 14:39:55 +0900 writes: >> Hi, >> i try sin, cos, and tan. >>>

Re: [Rd] Different results for cos,sin,tan and cospi,sinpi,tanpi

2016-12-01 Thread Martin Maechler
> Ei-ji Nakama > on Thu, 1 Dec 2016 14:39:55 +0900 writes: > Hi, > i try sin, cos, and tan. >> sapply(c(cos,sin,tan),function(x,y)x(y),1.23e45*pi) > [1] 0.5444181 0.8388140 1.5407532 > However, *pi results the following >>