similar to: building and installing a package in Windows

Displaying 20 results from an estimated 5000 matches similar to: "building and installing a package in Windows"

2004 Jun 15
1
Fwd: building and installing a package in Windows
Thanks to everyone who responded to my 'Perl' problem! Indeed, it wasn't in the Path. I now have a different problem and would appreciate any insights: after I run "Rcmd build mypackage", I get the following error: "'sh' is not recognized as a command, program, or batch file" Thanks in advance, -yevgeniy >Date: Tue, 15 Jun 2004 16:04:36 -0400
2005 Jul 04
1
installing packages and libraries
When I run the following: cd \Rpkgs rcmd install mypackage -l library I get a message that it cannot find quadprog which is a library that mypackage depends on. Error: package 'quadprog' could not be loaded I previously used C:\Program Files\R\rw2011\library as my library for CRAN packages and did not have a problem but now that I use C:\Program Files\R\library this problem
2006 Dec 22
1
building R-package under windows - error - in options("deafultPackages") was not found
Dear all, I have been building R packages under windows on my old pc, successfully. Now I have bought a new pc, still running windows, and I am trying to build the same R packages as before, but now without the same success. I have installed the Rtools, perl, mingw and added them to the environment variables. I am running Windows XP Professional on a Thinkpad T60. I have installed R-2.4.1,
2012 Mar 22
2
Rcmd build -binary -- problem
Hi. I need a bit of help. I'm running Windows 7 and "out of the box" versions of Rtools and R (version 2.14.2) and am trying to compile a package that worked before. When I run the command: > Rcmd build -binary mypackage > Warning: unknown option '-binary' i get a warning and it creates the tar.gz file but not the zip file like before. Something has changed with
2015 Dec 22
1
Summary of,all undefined globals
Dear Listers, Kurt (subject "CRAN packages maintained by you" sent on 02/07/2015) was mentionning to package maintainers that "with current versions of r-devel, one can get a convenient summary of all undefined globals" and describing how to get a summary conveniently. Now I am using R 3.2.3 but cannot get this by using rcmd check --as-cran mypackage, the
2005 Feb 15
2
Making a Package
Hello. I have what I know to be a simple question, but never having done anything like this it is pretty tough. I'm trying to write an R package. I have a collection of functions that I loaded into R and then used package.skeleton(). After editing everything in the resulting folder, call it NewPackage, I tried to follow along with some instructions I found for Windows users. I installed
2011 Mar 24
3
R CMD build creates tar file instead of tar.gz file
Dear all, I'm trying to create my own package by following for instance http://epub.ub.uni-muenchen.de/6175/2/tr036.pdf In step 6 (page 19) it says that the command 'R CMD build <mypackage>' should result in a tar.gz file. However, after running the command I end up with a tar file only (no gz extension). I also get the following warnings in the command prompt C:\Program
2006 Jun 29
1
Problems Creating an R package
Hi all, When I check my package using "Rcmd check ..\myPackage\R.mykg" on Windows in Command Prompt, this is what get:- * using log directory 'C:/R/bin/R.getdata.Rcheck' * using Version 2.3.1 (2006-06-01) * checking for file 'R.getdata/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'R.getdata' version '1.0' * checking
2009 Mar 29
3
Eclipse and StatET Howto (also added Subversion, Rtools)
I recently got a RFC on Eclipse and StatET setup from a R-help user, so here it is. Note: there may be slight errors of omission in my directions as I am making these notes after I had a successful install. If you have questions post here. Setup tested with Eclipse 3.4.0 on XP 32-bit and Eclipse 3.4.2 on Vista 32-bit. R 2.9.0 alpha. Installing StatET: 1. Go to Help > Software Updates...
2002 May 02
3
Building own packages on Windows 2000!
Hi! I encountered some things trying to build own packages under Windows 2000 for which i found no answer in the documentation. First. 1. I do not found the rcmd.exe in the bin directory of R_HOME. I installed R using the setup.exe 2. I updated the R intatllation with one of the zip files. (rw1041sp.zip) now i had the rcmd.exe in the bin. 3. I do not found any hint in the docu that perl is
2004 Aug 27
2
Packing of data files in packages
Hola! I am writing a package with some large data files, so it would be good to use the feature of zipping data. However, I use .R files to read in the data from one (sometimes more) files, so Rcmd build --zip-data gives a package which does'nt work. How should I do it, is it better ti zip each data file individually and use the functions to read from zipped files, or are there some other
2003 Oct 09
3
Source package installation for WinXPpro
Hi I d like to compile the source code from last Affy package for WinXPpro under R18beta however the doc is pretty poor regarding this process... I went to FAQ R Win then to http://www.stats.ox.ac.uk/pub/Rtools/ and downloaded in The essentials, tools and Perl 5.8.0, then MingW from www.mingw.org and I wonder if I need any other stuff from this page ? I m not sure but I dont think I need the
2004 Nov 29
2
Building latest version of package
Hi I have a package which was built using R 1.9.1 and everything worked fine. I recently upgraded to R 2.0.1 and tried to re-install my package - and I got: Error in library(mypackage) : 'mypackage' is not a valid package -- installed < 2.0.0? So I tried rebuilding it using my new version of R: R CMD BUILD --binary mypackage hhc: not found cp: cannot stat `mypackage.chm': No
2009 Oct 26
2
R CMD check: Error in .C
Function/file names are hypothetical. Say I have written myfunction.R, which calls myfunction.c via .C("myfunction", ...). I've compiled successfully myfunction.c via R CMD SHLIB myfunction.c in the terminal. Then, in the R console: dyn.load("myfunction.so") source("myfunction.R") test <- myfunction() # works fine So everything is in order, myfunction works
2011 Aug 02
2
R CMD check problem
Dear friends, I am building an R package called *mypackage*. I followed every possible steps (to my understanding) for the same. I got following problem while doing *R CMD check mypackage*. * installing *source* package 'mypackage' ... ** libs cygwin warning: MS-DOS style path detected: C:/PROGRA~1/R/R-213~1.0/etc/i386/Makeconf Preferred POSIX equivalent is:
2015 Oct 31
1
Example input data with example output using relative pathway in vignette of R package?
I'm putting together an R package. I would like to show example code in the vignette, where example data files (included in the package) are used to generate an (example) output file. I read about using example data in Hadley Wickham's post ( http://r-pkgs.had.co.nz/data.html), and believe I should keep my example data as raw data, as it must be parsed to generate the output. So, I
2006 Mar 31
1
Fortran and C entry point problem.
Dear All, I have seen a number of e mails on this topic but I have not seen a general solution to date. I have Fortran and C source codes and they have been compiled successfully using: R CMD build mypackage And R CMD install mypackage Without error messages. I then open R and tests out two functions and get: > pgl(0.2,1,2,3,4) Error in
2006 Mar 31
1
Fortran and C entry point problem.
Dear All, I have seen a number of e mails on this topic but I have not seen a general solution to date. I have Fortran and C source codes and they have been compiled successfully using: R CMD build mypackage And R CMD install mypackage Without error messages. I then open R and tests out two functions and get: > pgl(0.2,1,2,3,4) Error in
2004 Nov 11
4
Questions on package creation
I have some questions about 1. nomenclature, 2. recommended file locations and 3. overall procedure related to creating packages. To the extent that it matters, examples here relate to Windows XP R 2.0.1 beta. The questions are interspersed and prefaced with ***. My understanding is that there are actually 6 forms of a package that one should use in package development: 1.
2004 Nov 06
2
install/build/build --binary
I have question regarding package installation. What is the difference between check, INSTALL, build and build --binary, which imply which and what order does one normally perform them? I have been trying: R CMD build /mypackage R CMD check /mypackage R CMD build --binary /mypackage in that order but wanted to check that this is right. Also, what portion of the check process can be run