similar to: How to find the path or the current file?

Displaying 20 results from an estimated 1000 matches similar to: "How to find the path or the current file?"

2009 May 18
3
Parsing configuration files
Dear list, Is there any functionality in R that would allow me to parse config files? I have trie ??config and apropos('config') without succes, and also search the R package site. Mvh. Marie [[alternative HTML version deleted]]
2009 Jun 08
3
Combining elements of vectors
Dear list, I have a vector of elements which I want to combined each with each, but none with itself. For example, > v <- c("a", "b", "c") and I need a function 'combine' such that > combine(v) [[1]] [1] "a" "b" [[2]] [1] "a" "b" [[3]] [1] "b" "c" I am not very interested in the orders
2009 Jan 22
2
Unexpected behaviour of the as.Date (was: Error as.Date on Invalid Dates)
Dear Brian, I dont understand what you mean. The thread was about the as.Date which you suggested to be used instead of the as.date. Following your advice I tried the as.Date and have questions about the observed behaviour, which was surprising to me. Is this what you call hijacking? Do you mean I ought start a new thread instead? I thought my question were relevant to the threads'
2009 Feb 25
1
Problems with ARIMA models?
Dear R, I have find a website where they report problem with ARIMA models in R. I run the examples there and they give result as shown on the website. Does this mean that nothing has corrected in R? Maybe you not have seen the page, but the author said he contacted you. Here is the URL: http://www.stat.pitt.edu/stoffer/tsa2/Rissues.htm I like to know your opinion. Mvh. Marie [[alternative
2009 Feb 25
1
Problems with ARIMA models?
Dear R, I have find a website where they report problem with ARIMA models in R. I run the examples there and they give result as shown on the website. Does this mean that nothing has corrected in R? Maybe you not have seen the page, but the author said he contacted you. Here is the URL: http://www.stat.pitt.edu/stoffer/tsa2/Rissues.htm I like to know your opinion. Mvh. Marie [[alternative
2009 Feb 05
1
Problem with plotting data from within a function
Dear List, I try to develop code where plotting functions are embeded in my own functions. The following is simplified example: > test <- function() { > data <- data.frame(x=rep(1:2, each=50), y=rnorm(100)) > library(lattice) > attach(data) > xyplot(y~x) > detach() >} >test() As far as I understand R, when test is called this should create one local
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
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
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 ...
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
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 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
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
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
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
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
2008 Sep 16
3
Work with packages without using R CMD build/install
Hello, for my small project I would like to organize the data, functions and documentation as a package. I have already created a skeleton directory structure with DESCRIPTION file and put some files in the R, man and data subdirectories. Now I would like to work on the package without calling R CMD build/install after each change. In fact, I do not have the build tools installed yet (I am on