Rolf,
Re version control: I use SVN and Git depending on the project I am working on
and what others are using. Years ago I used RCS, as you say its great for a
local repository (as is Git). The point I was making was not about version
control but that others like me might get caught out by
Rolf and Duncan
Many thanks. Your answers pointed me to a refinement that is closer to what I
want:
rm(list=intersect(ls(.GlobalEnv),ls(package:reedgraph)),
pos=.GlobalEnv)
This only removes items that are masked by GlobalEnv from my package.
As this is a bit long for some of the
On 10/11/12 12:08, Martin J Reed wrote:
Rolf and Duncan
Many thanks. Your answers pointed me to a refinement that is closer to what I
want:
rm(list=intersect(ls(.GlobalEnv),ls(package:reedgraph)),
pos=.GlobalEnv)
This only removes items that are masked by GlobalEnv from my package.
On 12-11-07 7:11 PM, Martin J Reed wrote:
Hi,
I have a problem with a package I have developed in that functions do not get
loaded due to older versions of the functions being in the .GlobalEnv’ fetched
from .Rdata files stored from previous saved workspaces. I need to be able to
fix this
Hi,
I have a problem with a package I have developed in that functions do not get
loaded due to older versions of the functions being in the .GlobalEnv’ fetched
from .Rdata files stored from previous saved workspaces. I need to be able to
fix this somehow when I load the package. I do not want
Suggestions:
(1) Work in a different directory (so that you will have a different ---
initially
empty) .RData file.
(2) Or: Clean up the .Rdata file in the directory that you are
currently using;
rm(list=ls()) does this for you. Every so slightly dangerous! :-)
(3) Possibly: Before
On Thu, Jun 2, 2011 at 11:48 PM, Nipesh Bajaj bajaj141...@gmail.com wrote:
This is how strange? How and from where I would know that I need to
install something pdflatex separately? Can you point some legitimate
link which says I need to install that (like Rtools?) Even this link
On Fri, Jun 3, 2011 at 11:51 AM, Sarah Goslee sarah.gos...@gmail.com wrote:
If you don't recognize the official r-project.org R-admin manual as a
legitimate
link then I'm afraid I also can't help you any further since there is nothing
more legitimate than the official documentation.
Except
A fortunes candidate??
-- Bert
If you don't recognize the official r-project.org R-admin manual as a
legitimate
link then I'm afraid I also can't help you any further since there is nothing
more legitimate than the official documentation.
Sarah
--
Sarah Goslee
On 04/06/11 00:02, Barry Rowlingson wrote:
SNIP
. someone on
StackOverflow was wondering why 0= x= 1 isn't a valid
expression, neither in the context of what he expected (TRUE if x is
between 0 and 1) nor how I explained it would function (as (0=x)=
1, and then comparing a TRUE/FALSE
Thanks Prof. Ripley and Duncan for your pointers. Noting down your
points I have modified my way of building package and have done
following so far:
1. In my C: drive I create one working folder naming R_PackageBuild
2. In R console I have written following codes:
setwd(c:/R_packageBuild)
On 02/06/2011 2:03 PM, Nipesh Bajaj wrote:
Thanks Prof. Ripley and Duncan for your pointers. Noting down your
points I have modified my way of building package and have done
following so far:
1. In my C: drive I create one working folder naming R_PackageBuild
2. In R console I have written
What else I need to do? In the Read-and-delete-me file following steps
are asked to perform:
* Edit the help file skeletons in 'man', possibly combining help files
for multiple functions.
* Edit the exports in 'NAMESPACE', and add necessary imports.
* Put any C/C++/Fortran code in 'src'.
* If you
I have run R CMD check trial1 and saw an error. This says that:
* checking pdf version of manual without hyperrefs or index ... ERROR
Re-running with no redirection of stdout/stderr.
Hmm... looks like a package
Error in texi2dvi(Rd2.tex, pdf = (out_ext == pdf), quiet = FALSE, :
pdflatex is not
I hope you're successful because I'm having issues as well building a simple
package on
windows. maybe when you're finished you can share back a step by step
guide.
On Thu, Jun 2, 2011 at 12:21 PM, Nipesh Bajaj bajaj141...@gmail.com wrote:
I have run R CMD check trial1 and saw an error. This
Still I am struggling to get some inputs from the experts here :(
Definitely We can shere our experiences once I am done (really, it
seems to me very hard nut to crack!) I strongly feel that related
documentations should be more Statistician-friendly, than some Engg.
guys
Thanks,
On Fri, Jun 3,
I don't use windows, but this error message you report:
Error in texi2dvi(Rd2.tex, pdf = (out_ext == pdf), quiet = FALSE, :
pdflatex is not available
Error in running tools:: texi2dvi
strongly indicates that you need to install pdflatex, don't you think?
If you don't have non-R code (c or
Hi,
On Thu, Jun 2, 2011 at 11:30 AM, Nipesh Bajaj bajaj141...@gmail.com wrote:
I editied the help page for fn1() function (as I already communicated
in previous mail) as follows:
\name{fn1}
\alias{fn1}
\title{
A function.
}
\description{
A function.
}
\usage{
A function.
What
On 03/06/11 11:33, Joshua Wiley wrote:
Hi,
On Thu, Jun 2, 2011 at 11:30 AM, Nipesh Bajajbajaj141...@gmail.com wrote:
I editied the help page for fn1() function (as I already communicated
in previous mail) as follows:
\name{fn1}
\alias{fn1}
\title{
A function.
}
\description{
A function.
}
On Thu, Jun 2, 2011 at 4:49 PM, Rolf Turner rolf.tur...@xtra.co.nz wrote:
On 03/06/11 11:33, Joshua Wiley wrote:
Hi,
On Thu, Jun 2, 2011 at 11:30 AM, Nipesh Bajajbajaj141...@gmail.com
wrote:
I editied the help page for fn1() function (as I already communicated
in previous mail) as
Okay, that might have been a little strong. screams bloody murder
is a warning, not technically an error, and does not occur when simply
running R CMD build. That said, the OP did mention using R CMD check
and pdflatex is not an issue when only building anyway. Still, it is
not the cause of the
On 03/06/11 12:16, Joshua Wiley wrote:
Okay, that might have been a little strong. screams bloody murder
is a warning, not technically an error, and does not occur when simply
running R CMD build. That said, the OP did mention using R CMD check
and pdflatex is not an issue when only building
On 02/06/2011 2:30 PM, Nipesh Bajaj wrote:
What else I need to do? In the Read-and-delete-me file following steps
are asked to perform:
* Edit the help file skeletons in 'man', possibly combining help files
for multiple functions.
* Edit the exports in 'NAMESPACE', and add necessary imports.
*
This is how strange? How and from where I would know that I need to
install something pdflatex separately? Can you point some legitimate
link which says I need to install that (like Rtools?) Even this link
'http://www.math.rug.nl/~trentelman/jacob/pdflatex/pdflatex.html' do
not provide any
Hi,
I use MikTeX on Windows and it works like a charm. Here's the link:
http://www.miktex.org/ I chose it after reading the installation
manual:
http://cran.r-project.org/doc/manuals/R-admin.html
The entire thing is very helpful, but particularly note Appendix D,
where you will find that for
On Jun 2, 2011, at 11:48 PM, Nipesh Bajaj wrote:
This is how strange? How and from where I would know that I need to
install something pdflatex separately? Can you point some legitimate
link which says I need to install that (like Rtools?) Even this link
On Wed, 1 Jun 2011, Nipesh Bajaj wrote:
I have been struggling for last one hour but not yet any through.
However again I recreate the package.skeleton and run R CMD check trial3
Here are the errors:
warning in dir.create(pkgoutdir, mode = 0755):
cannot create dir 'c:\Program
Dear all, I am having a strage problem while I was trying to build a
package. Here is my package skeleton:
fn1 - Vectorize(function(x,y,z) {
return(x + y +z)
}, vectorize.args = c(x), SIMPLIFY = TRUE)
package.skeleton(trial3,namespace = TRUE)
However when
On 11-05-31 3:36 PM, Nipesh Bajaj wrote:
Dear all, I am having a strage problem while I was trying to build a
package. Here is my package skeleton:
fn1- Vectorize(function(x,y,z) {
return(x + y +z)
}, vectorize.args = c(x), SIMPLIFY = TRUE)
Actually partly I followed. Here is the more details what I have done so far:
1. Edit the help file skeletons in 'man', possibly combining help
files for multiple functions.
I have modified with following:
\name{fn1}
\alias{fn1}
\title{
A function.
}
\description{
A function.
}
\usage{
A
I have been struggling for last one hour but not yet any through.
However again I recreate the package.skeleton and run R CMD check trial3
Here are the errors:
warning in dir.create(pkgoutdir, mode = 0755):
cannot create dir 'c:\Program files\R\R-2.13.0\bin\trial3.Rcheck',
reason
On 11-05-31 4:58 PM, Nipesh Bajaj wrote:
I have been struggling for last one hour but not yet any through.
However again I recreate the package.skeleton and run R CMD check trial3
Here are the errors:
warning in dir.create(pkgoutdir, mode = 0755):
cannot create dir 'c:\Program
32 matches
Mail list logo