similar to: Compile R package under Windows

Displaying 20 results from an estimated 2000 matches similar to: "Compile R package under Windows"

2011 Dec 15
4
Undocumented functions
Hi! I am building a package. This package will not submitted to CRAN. I write the help files for the most important functions of my package, I cannot write it for all functions. This may sounds strange, but so there! I know that all user-level functions should be documented, so I have to move my undocumented functions to a non-user-level. It's right? To move my functions to a
2010 Jul 27
2
Sum list elements
Hi! I have a list of 24 elements, all of the same type (dataframe, for example). I am looking for an alternative to mylist[[1]] + mylist[[2]] + ... + mylist[[24]] to obtain the sum. Anyone can help me? Thanks in advance. Nicola S. [[alternative HTML version deleted]]
2010 Sep 28
2
Table with different digit number
Hi! I have a table representing both absolute and relative frequency, for example (code to get example data under the signature): Italy Germany absolute 100 105 relative 40.51 41.18 How can I print a different number of decimal digits? I try to transform to as.character, but cells result aligned to left and I don't like this solution. At the
2010 Nov 02
5
density() function: differences with S-PLUS
Hello! Someone know what are the difference between R and S-PLUS in the density() function? For example, I would like to reply this simple S-PLUS code in R, but I don't understand which parameter I should modify to get the same results. S-PLUS CODE: density(1:1000, width = 4) R-CODE: density(1:1000, bw = 4, window = "g", n = 50, cut = 0.75) I obtain the same x values, but
2010 Mar 25
1
Read SAS data
Hi! I need to import in R some SAS dataset (sas7bdat). I found two functions to do it: "read.ssd" from the package "foreign" and "sas.get" from "Hmisc". df = read.ssd(libname = path2data, sectionnames = "sasSmallDataset", tmpXport = path2data, tmpProgLoc = path2data, sascmd = path2sas) sas.get(libraryName = path2data, member =
2011 Oct 18
1
avoid s3 methods
Hello everybody. My issue arise when I build a package with my functions. This package is for personal purposes only and it will not submitted to CRAN. Anyway, this may be an opportunity for myself to clear the S3 methods concept. I read the R manual and some books about R programming but they are usually S4 oriented. I call a function plot.days(). When I check the package I obtain some
2010 Jul 29
1
Different decimal places in a matrix
Hi! I have a ftable object in which some row contains integers and some other contains a percentage that I would like to show with two digits after the dot. I tried something like ftblP[index,] = as.character(round(ftblP[index, ], 2)) where the index vector contains the number of the rows containing a percentage. My workaround works but it shows all numbers aligned to left, while I prefer that
2010 Nov 03
1
smooth: differences between R and S-PLUS
Hi! I am studying differences between R and S-PLUS smooth() functions. I know from the help that they worked differently, so I ask: - exist a package that permit to have the same results? - alternatively, someone know how can I obtain the same results in R, using a self made script? I know that S-PLUS use the 4(3RSR)2H running median smoothing and I try to implement it with the code below. I
2017 Sep 13
0
(no subject)
On 13/09/2017 5:23 AM, Brayford, David wrote: > When I try to install gsl in R I get the error Need GSL version >= 1.12 . However, I have version 2.3 of gsl installed on the system, which is picked up earlier in the configure process (see below). Is it possible for someone to fix this error in the configure script? > > checking for gsl-config...
2017 Sep 13
0
(no subject)
On 13/09/2017 9:10 AM, David Brayford wrote: > Hi Duncan, > > The output of gsl-config --version > 2.3 > > The output of gsl-config --cflags > -I/lrz/sys/libraries/gsl/2.3/include > > The output of gsl-config --libs > -L/lrz/sys/libraries/gsl/2.3/lib -lgsl -lgslcblas -lm > > gsl_version.h cat output > #define GSL_VERSION "2.3" > #define
2012 Jul 24
1
Trouble with Installing R Package gsl
Dear R users: I have a problem when installing the R package *gsl*. The procedure is as follows: (1) Since it needs a GSL vesion >=1.12, and the GSL library on the serve I use is too old, I download GSL 1.15 and install it in my own account, such as $HOME/local/gsl. Because I do not have root access, so it cannot be installed in standard folder. (2) Then I download the source code of R
2010 Oct 30
1
Trouble installing gsl wrapper
Hi, I'm trying to install the gsl wrapper source code (http://cran.r-project.org/src/contrib/gsl_1.9-8.tar.gz) on a Linux system (OpenSuse 11.1), but encountering the following problem. I've already installed 'gsl' version 1.14 (ftp://ftp.gnu.org/gnu/gsl/gsl-1.14.tar.gz) on the system. What's missing? Thanks a lot... > R CMD INSTALL gsl * installing to library
2017 Sep 13
4
(no subject)
When I try to install gsl in R I get the error Need GSL version >= 1.12 . However, I have version 2.3 of gsl installed on the system, which is picked up earlier in the configure process (see below). Is it possible for someone to fix this error in the configure script? checking for gsl-config... /lrz/sys/libraries/gsl/2.3/bin/gsl-config checking if GSL version >= 1.12... checking for gcc...
2010 Feb 28
1
Problem with gsl package
Hi all, I am new to R and am writing after having contacted Robin Hankin, who maintains the R gsl wrapper. I am trying to use an AFNI (neuroimaging analysis) program that depends on the R gsl package. When I try to use the script I wrote, I get an error that led me to suspect the gsl package was a culprit. When I do library("gsl") within R, I get: Error in dyn.load(file, DLLpath
2014 Oct 01
1
gsl package on mavericks
hello I maintain the gsl R package, and many users have recently reported that the package does not install from source under macosx 10.9 ("mavericks"). Users typically install the gnu GSL library and are able to compile and run a small "hello world" program which executes some of the Bessel functionality of the library; but under mavericks the configure script (which uses
2007 Nov 22
1
package gsl assumes incorrect gcc version during install (PR#10451)
Full_Name: Levi Waldron Version: 2.5.1 OS: Ubuntu Gutsy Submission from: (NULL) (206.248.157.88) I installed libgsl0-dev then tried to install the gsl cran package, unsuccessfully (see output below). As a workaround I created a symbolic link to /usr/bin/gcc-4.2, ie: sudo ln -s /usr/bin/gcc-4.1 /usr/bin/gcc-4.2 The correct behavior of the gsl package should be to use the executable
2016 Nov 01
2
libgsl.so.0
On 01/11/16 21:08, Kirill M?ller wrote: > Did you reinstall the gsl package [1]? Apparently not. I did a complete update.packages() which reinstalled a great number of packages (I have a great number in my personal library). There were complaints about 4 packages, one of which was "copula", but "gsl" was not one of them. I would have *thought* that if "gsl"
2005 Dec 25
4
Portability and Memory Issues for R-package
I have an upcoming JASA paper with an iid sampling algorithm for Bayesian Generalized Linear models (e.g., Logit, Poisson Regression, and Conditional Logit models with multivariate normal priors). At this point, I have implemented the algorithms in C and hope to make the functions and corresponding source code available through an R package. I have successfully created the code necessary to
2013 Mar 11
1
compiling C code using headers from another R package
I am developing an R package, eiR, which depends on another C library, GNU scientific library (GSL). In order to make life easier for the user, it would be nice to not have this as an external dependency, thus I would like to wrap this library in another R package, say GSLR for example. Thus far I know how to do this. The C code in eiR requires the .so library and the header files from GSL
2012 Aug 17
2
R package compilation: files in src directory should be ignored if C library is not available
I have written an R package which contains C source code (in the directory pkg/src). Only a subset of the functions in the pkg/R directory contain a .C() call to the functions in the pkg/src directory. The rest of the package will still work and be useful without the functions containing a .C() call. To compile the code in pkg/src requires the GSL library. This is detailed in the