Re: [R] building a package

2014-02-11 Thread Duncan Murdoch
On 14-02-10 11:45 PM, Cathy Lee Gierke wrote: Hi, I'm building a package in R and not able to find key information for a couple of things. 1. I have a .png graphic that the R code uses in print-outs it creates. What is the appropriate folder, or manner to incorporate a .png into the package?

[R] building a package

2014-02-10 Thread Cathy Lee Gierke
Hi, I'm building a package in R and not able to find key information for a couple of things. 1. I have a .png graphic that the R code uses in print-outs it creates. What is the appropriate folder, or manner to incorporate a .png into the package? 2. I have two .txt data files I want incorpora

[R] Building a Package & using gWidgets

2013-02-14 Thread Benjamin Ward (ENV)
Hi, For the past few months I've been building a simulation in R I hope to package. It consists of two usable functions, and many internal ones which one of the two usable functions call while looping, to perform the stages of simulation. A simple conceptual example is: # Abstract representati

Re: [R] Building a package with an existing dll

2012-10-15 Thread Simon Knapp
Anything you put in the folder 'inst' of a package gets copied, as is, to the installed package once 'everything else' is done (see section 1.1.3 of "Writing R Extensions" - which you read for caveats). Hence you can create inst/libs//libs/.dll where: - is either 'x64' or 'i386' (or both if you

[R] Building a package with an existing dll

2012-10-15 Thread GlennManion
I have setup a package directory structure with all the relevent files in the src, R, man and data directories. Also have the correct DESCRIPTION and NAMESPACE files in the root directory. I don't wisk to recompile the .dll file in the src directory as it currently works fine if I locate it in th

Re: [R] Building a package using classes

2010-06-05 Thread Bryan Hanson
Sébastien, late last year I found myself in the same situation, and asked a question or two about classes, which produced some very helpful answers. The thread starts here: http://r.789695.n4.nabble.com/Need-Advice-Considering-Converting-a-Package-f rom-S3-to-S4-td898853.html#a898853 Good Luck, Br

[R] Building a package using classes

2010-06-05 Thread Sébastien Durand
Hello, I am looking for an efficient and complete free tutorial to learn how to properly use, create and manage classes and their methods. I have build few R packages in the past but I was not going very far in class definition and so forth. So I wish to drastically improve my coding skills in

Re: [R] building a package

2009-08-10 Thread Barry Rowlingson
On Mon, Aug 10, 2009 at 10:24 PM, Erin Hodgess wrote: > Dear R People: > > I'm trying to build a package and am stuck on the last part; I keep > getting "there is no library". You seem to have more than one version of R on the go - the one in your system $PATH: > e...@erin-laptop:~/Desktop/R-2.9

[R] building a package

2009-08-10 Thread Erin Hodgess
Dear R People: I'm trying to build a package and am stuck on the last part; I keep getting "there is no library". Here are my statements: e...@erin-laptop:~/Desktop/R-2.9.1/bin$ R CMD check RcmdrPlugin.qual * checking for working pdflatex ... OK * using log directory '/home/erin/Desktop/R-2.9.

Re: [R] building a package that contains S4 classes and methods

2008-09-09 Thread Peter Dalgaard
Marie Pierre Sylvestre wrote: Hello R users, I am trying to make a my first package and I get an error that I can understand. The package is build out of three files (one for functions, 1 for s4 classes and 1 for s4 methods). Once I source them I run package.skeleton( name="TDC" ) within a

[R] building a package that contains S4 classes and methods

2008-09-09 Thread Marie Pierre Sylvestre
Hello R users, I am trying to make a my first package and I get an error that I can understand. The package is build out of three files (one for functions, 1 for s4 classes and 1 for s4 methods). Once I source them I run package.skeleton( name="TDC" ) within a R session and I get Creating di

Re: [R] Building a package and Depends search

2008-02-19 Thread john seers (IFR)
Thank you very much for your help - that fixed it. Sorry I did not see it in the manual. Regards JS --- -Original Message- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Sent: 19 February 2008 14:14 To: john seers (IFR) Cc: r-help@r-project.org Subject: Re: [R] Building a

Re: [R] Building a package and Depends search

2008-02-19 Thread Prof Brian Ripley
On Tue, 19 Feb 2008, john seers (IFR) wrote: > > > Hello R experts > > I am just learning how to build a package so this is probably a basic > question. I have read the manual( well, to be more truthful, am reading) > the manual, and I have searched the archives to the best of my ability. You cou

Re: [R] Building a package and Depends search

2008-02-19 Thread Gabor Csardi
I think you need "-l": R CMD check -l Gabor On Tue, Feb 19, 2008 at 02:00:38PM -, john seers (IFR) wrote: [...] > I think this is because I install my packages in "mylibrary" and use > "R_LIBS=C:/PROGRA~1/R/mylibrary" in my Renviron.site file. If I move the > package to the R main library

[R] Building a package and Depends search

2008-02-19 Thread john seers (IFR)
Hello R experts I am just learning how to build a package so this is probably a basic question. I have read the manual( well, to be more truthful, am reading) the manual, and I have searched the archives to the best of my ability. I am on Windows. When running the command "R CMD check packagen