similar to: Creating an R package in windows- where to put images?

Displaying 20 results from an estimated 11000 matches similar to: "Creating an R package in windows- where to put images?"

2009 Mar 05
1
problem building a package with C code (PR#13572)
Hi, my name is Paula. Im trying to learn how to build an R package in Windows XP using a simple example which includes a C source code. The foo.c file is located in mypkg/src/foo.c. I used the command Rcmd build --force --binary [pkgpath]. The problem is when I install the zip file in R the function foo doesn?t exist. The result a recieved during the building process is copied below. I really
2006 Oct 01
2
Rcmd install mypkg
I noticed that in "R version 2.4.0 alpha (2006-09-16 r39365)" on Windows XP that I get this error: C:\Rpkgs>Rcmd install mypkg no Perl script 'install' The same command worked with no error in 2.3.1pat. If I capitalize INSTALL it does work; however, this was not necessary previously. Note that C:\Rpkgs>Rcmd check mypkg unlike install, still works in either lower or
2010 Oct 18
1
Rcmd build 32bit-only package on win7 64 bit platform?
Is it possible to suppress compiling for the x64 arch when doing 'Rcmd build <mypkg>? Such that the pre-compiled package for binary distribution only contains a 'lib/i386/mypkg.dll'. For CHECK (and also INSTALL) there is a '--no-multiarch' argument, but I didn't find something similar for build. Otherwise, I suppose, I could - handle the problem in Makevars or
2004 May 27
2
Rcmd check, windows xp, perl (2)
Thank you for your help. I??m sorry that I found not the right entries in the R-devel. Now, I have again a problem. After installing all needed things I have run Rcmd INSTALL -l ../mypkg and respectively make mypkg By running Rcmd check I get following message: * checking for working latex ...Error: environment variable TMPDIR not set (or set to unusable value) and no default
2002 Mar 02
1
GNU tar does not ignore files in .Rbuildignore (PR#1339)
Full_Name: David O. Nelson Version: 1.4.1 OS: solaris 2.7 Submission from: (NULL) (128.115.150.74) Putting patterns in .Rbuildignore has no effect when the tar being used is gnu tar (1.13) on solaris 2.7, whilst /usr/sbin/tar works perfectly. TO REPRODUCE: The current directory contains a source package directory ./mypkg... bimini.jgi-psf.org% echo >mypkg/foo bimini.jgi-psf.org% echo
2007 Jul 04
1
Newbie creating package with compiled code
Hi R Gurus! I'm trying to create a test package using the package.skeleton function. I wanted to add some compiled code too. In the src library, I put together a baby subroutine, compiled it and created a test.dll When I use the R cmd build, it works fine. But I get into trouble with the R CMD check section. /home/Desktop/R-2.5.1/bin # ./R CMD check mypkg * checking for working latex ...
2004 Jan 23
1
getent passwd problem (please it's quite URGENT)
Hi, My ultimate goal is to use this samba installation as a member server without having to maintain NT user accounts on the samba box. I have installed samba-3.0.1 in three Red Hat 9.0 machines installation went through fine. My configuration options for Samba were the following: ./configure --with-winbind --with-winbind-auth-challenge --with-pam --with-acl-support --with-ldapsam
2005 Mar 01
1
Two problems building a package
Hello all: I have written a few R scripts and am trying to turn them into a package for submission to CRAN. All of these scripts are R code only, no C or C++ or anything else. I'm working with R 2.0.1 running on a Windows XP machine. So far running ">rcmd install --build --docs=normal mypkge" seems to work (i.e., the library "mypkge" is installed in R\rw2001\library and
2014 Sep 03
2
timings for examples in R CMD check
I'm having a very hard time making R CMD check produce a clean check on examples because of the timings inserted into examples by R CMD check. I am getting a difference on every example output caused by timing information being inserted by 'R CMD check'. The current 'Writing R Extensions' manual[1] states on p. 14: If directory tests has a subdirectory Examples
2011 Oct 25
2
Building package/DESCRIPTION file not existing?
Hello useRs I am trying to build a package for personal use and for making easier working with other people but I keep getting the same error message about the DESCRIPTION file not existing. when trying to install from a source tar.gz file: Error in .read_description(dfile) : file 'C:/Users/PropriƩtaire/AppData/Local/Temp/RtmpHFMONb/R.INSTALL647a3535/mypkg/DESCRIPTION' does not
2005 Jun 19
1
Creating a R package for Windows XP
Hi: I'm trying to create a package to pass to someone else to use a group of functions with help files. I'm working on Windows XP. Step One: I use the example > ## two functions and two "data sets" : > f <- function(x,y) x+y > g <- function(x,y) x-y > d <- data.frame(a=1, b=2) > e <- rnorm(1000) > >
2005 Apr 22
1
Required Packages etiquette
Dear friends, I am writing a package that I think may be of interest to many people so I am in the process to build-check-write-thedocumentation for it. I have some questions regarding the "rules" that a package should abide in order to be consistent with the other packages on CRAN. I have read and reread the Writing R extension manual and googled the mailing list and I have found
2006 Nov 16
2
trouble loading example package
Greetings: I've installed Rtools, MikTeX, perl, minGW, and HTML Help Workshop, and have succeeded in making, checking (using R CMD check mypkg) then building the simple example package.skeleton(list=c("f","g","d","e"), name="mypkg") R CMD build mypkg produces a tarball. I don't know how to get a zip file. But when I try to Install
2007 Jun 05
1
'R CMD INSTALL mypkg' doesn't always update help pages
Hi, 'R CMD INSTALL mypkg' and 'install.packages(mypkg, repos=NULL)' don't update mypkg help pages when mypkg is a source directory. They only install new help pages if there are some but they leave the already installed pages untouched. So you end up with mixed man pages from different versions of the package :-/ I found no mention of this in 'R CMD INSTALL --help' or
2010 Sep 06
1
How to get "mypkg-manual.pdf"
I am building a package say mypkg. Five months ago, when I built the package I got the mypkg manual in pdf format. Today, after making updates, I build the same package, same name, and steps; unfortunately I do not get the manual in pdf format. Rather I get the following message: cd: can't cd to /cygdrive/c/Documents saving output to 'mypkg-manual.pdf' ...Done Could any one
2008 May 19
1
Error in building library - R CMD build mypkg.
----- Forwarded by Ajay DAS/US/BMNA01 on 05/19/2008 03:11 PM ----- Ajay DAS To: r-help
2005 Mar 09
1
delay of warning for things in .Rprofile
Hi all, I was playing with R-devel 2005-03-08 on winXP Pro (installed from Duncan's installer). My .Rprofile contains: options(defaultPackages=c(getOption("defaultPackages"), "mypkg"), chmhelp=TRUE) but "mypkg" has not yet been installed in the library/ directory of this installation. When Rgui starts, I do not get any error or warning, but upon
2014 Mar 06
1
version numbers for CRAN submissions that give warnings/notes
It often happens that I submit a new revision of a package, say mypkg-1.0-10, from R-Forge to CRAN after running R CMD check locally and looking at the log files on R-Forge. But R-Forge has the devel checks disabled, and I get an email from CRAN pointing out some new warning or note I'm asked to correct. OK, I correct this and commit a new rev to R-Forge. But, is it still required to
2005 Jan 05
4
make R package for windows on Linux
Hi, I made a package on a linux box. All worked fine. The package contains only R code (no C). I then wanted to make a zip file so that I could test the package on a windows machine. I have tried all the obvious ways to do this (and even some that are not!), but to no avail. The only instructions I find about building packages for windows (e.g. mypkg.zip) seem to imply that the build be done
2011 Oct 14
1
Creating a package skeleton with no flesh
Hi, Wouldn't it be awesome if package.skeleton() could be used to produce, well... a package skeleton? In a fresh R session: > package.skeleton("mypkg") Error in !have : invalid argument type This (not very informative) error message seems to occur because I'm trying to create a skeleton with no flesh on it: > foo <- function() {} >