Displaying 20 results from an estimated 3000 matches similar to: "Rcmd build -binary -- problem"
2011 Oct 21
3
R v2.13.2 - Cannot find Rcmd on path?
Hello,
I recently updated to R version 2.13.2. With R version 2.10.0, I often
created and installed R packages, however, I cannot do this since updating.
In other words, when I type in Rcmd build -binary PACKAGENAME I receive an
error message: "Rcmd is not recognized as an internal...". I suspect that
this is because Rcmd.exe is no longer installed in the bin folder, but
rather, in
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
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,
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
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
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
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
2007 Jun 14
1
building packages under windows
I tried to check or build a package under windows xp but I got the error
the package can not be installed
(without any details in the install.out file)
I work with R-2.5.0, Miktex 2.5.0, and I have installed the unix tools.zip,
Perl and Microsoft HTML Workshop.
The path environment is ok.
Have someone else encountered the same problem?
Thank you,
Cinzia
2011 Oct 28
1
model frame problem
Dear R community:
I am working on a model frame problem which is important for my data
analysis. What I am trying to get is to get data set d3 through the model
formula "ff=y~a+b+a*b" and data set d1 to generate a new data set d3 rather
than d2. I have tried several ways but did not get that done. I would
greatly appreciate any help. The codes are listed as follows:
Jixiang Wu
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
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
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
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 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.
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
2008 Aug 07
2
Cannot link mypackage to 2 other packages
Hi,
I need to link mypackage to 2 other packages so I can call
some C functions defined in these 2 packages from mine.
I've tried
Depends: packageA, packageB
LinkingTo: packageA, packageB
as suggested by the "5.4 Registering native routines" section
of the "Writing R Extensions" manual but then only packageA is
seen at compilation time (gcc is called with
2007 Mar 29
1
zlib+shlib issue with the official EL4 R binary
Hi,
I have got a curious issue with an R package which uses zlib, against
the official binary here:
http://cran.r-project.org/bin/linux/redhat/el4/i386/R-2.4.1-1.rh4AS.i386.rpm
on a Redhat EL4 i686 system.
The problem is that at the end of reading a gzip'ed file within my
C code, gzgetc() returns -1 (no more to read or error) but
gzeof() doesn't return true. Now one can probably jump to
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