similar to: Fwd: building and installing a package in Windows

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

2004 Jun 15
1
building and installing a package in Windows
I'm trying to install a package in windows. I have a package directory, which contains all the essentials: .Rd in the Man directory, DESCRIPTION file, etc. I copied it to my R\bin directory, where the Rcmd file is located. Then, when I try to run "Rcmd build mypackage" from that directory in DOS, I get the following error: "'perl' is not recognized as a
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
2020 Oct 05
2
Clang API: any way to use a virtual filesystem ?
Hello, I am shipping my app (https://ossia.io) with an embedded clang to allow people to write extensions in C++ at run-time. For that to work I also ship a SDK with all the required headers, libc++, etc... which is downloaded & extracted in some folder. Problem is: while on my linux dev. machine this operation is fast, apparently on Windows and mac extracting a .zip with a few thousand
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,
2011 Dec 06
1
making changes to global variables in functions
I'm trying to write a function that takes several objects with many different attributes and then changes their attributes. So what I wanted to happen in the simplified example below is for the function to change the attributes of the objects state1 and state2 that are passed to it. But because stateA and stateB are local, this isn't working. Are there any easy solutions? e.g., if I could
2016 Sep 17
2
NUT unable to resolve host despite DNS working.
Hello all, I have been having a problem with upsmon on Fedora 24 on boot. NUT is configured as a netclient to a Raspbian NUT server. After boot up upsmon repeatedly says "connect failed: No such host". It is not able to connect at all until the service is bounced. This seems to indicate a name resolution problem but shouldn't this auto correct once name resolution is working properly
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
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
2014 Dec 21
0
loadNamespace and versionChecking and the otherpackage::otherfun syntax
This is an enquiry not so much about what the code for loadNamespace does, but rather about the intent and design of loadNamespace, and how it interacts with the `::` function, which seems to me to follow a slightly different philosophy. It is not an urgent question - the issue that started me wondering has been resolved another way - but I would like to complete my understanding of this aspect
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...
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 Dec 09
0
What is the development cycle where there are code in tests/ for package development?
I see 'library(stats)' at the beginning of R-2.10.0/src/library/stats/tests/nls.R. I'm wondering if I am developing my own package 'mypackage' whether I should put 'library(mypackage)' in a .R file in mypackage/tests/? If I do, then it seems awkward to me, because to use 'library(mypackage)', I have to first get 'mypackage' installed. So the
2007 Nov 28
0
trouble for building R package in Windows
Dear All, I think I have followed everything for building my first R package (Downloading Rtools, necessary files in necessary locations, no space in path and...). But when in command Prompt I write "Rcmd check mypackage" the first few steps are "OK" but then it gives the following error: checking whether package roots can be installed.....ERROR installation failed see
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
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
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:
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
2011 Apr 21
1
Package check issue: Rprofile.site is not used
Dear R-users, I am having some issues with a package I am working on (using R 2.12.1 in a Linux environment) and would like to have your opinions/advises. My package - let's call it mypackage for the purpose of this email - passes all checks of R CMD check, except for the following failure message: Error : .onLoad failed in loadNamespace() for 'mypackage', details: call: