similar to: R-alpha: RData in batch

Displaying 20 results from an estimated 30000 matches similar to: "R-alpha: RData in batch"

1997 Jun 17
1
R-beta: Problem with Ctrl-C
I have a minor problem with R-0.49 on RedHat Linux 2.0. When I interrupt R with Ctrl-C, it only works the first time. If I happen to do this at a further occasion, nothing happens: calculation goes on as if I had pressed nothing. What is your experience? Thanks, Philippe =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= r-help mailing list -- Read
1997 Nov 12
4
R-alpha: batch
Back to my favourite R subject: batch mode. Some months ago, I pointed out how the default of saving .RData automatically in batch can often lead to completely erroneous results when using data.frames. Basically the idea of .RData is to save the environment to start where one left off. This will generally be quite different than where one started the session. The idea of a batch file is to redo a
1997 Aug 21
2
R-alpha: thoughts on batch and fortran
Batch: For me, batch in its present state is broken and useless. My primary need for batch is to produce a final output file of a session after I have worked out a sequence of procedures. I save my instructions in a file that I can source, then run it in batch to have a copy of input and output together. (If there was a log file (or dribble), this problem would be solved.) At present, there are
1998 May 07
3
R-beta: scripting with R?
I've been playing with R for a while using emacs ESS. I've started to like it a lot ( the beautiful S language was unknown to me before I dumped into R) I want to make some scripts to automate the display of some statistics on web pages. I started to look for ways of using R in a scripting environment but I could not find information on this. Is there a way to call R with command prompt
1998 May 07
3
R-beta: scripting with R?
I've been playing with R for a while using emacs ESS. I've started to like it a lot ( the beautiful S language was unknown to me before I dumped into R) I want to make some scripts to automate the display of some statistics on web pages. I started to look for ways of using R in a scripting environment but I could not find information on this. Is there a way to call R with command prompt
2011 Jan 20
1
Question on RData and Rhistory extentions
Hi, It seems simple but I could not find the solution on the R site. I can't save properly ".RData" and ".Rhistory" in Windows 7 folders. I get files with no extension. Thanks in advance for your help. JP Jean-Philippe Puyravaud 9A Frederic Osanam Street Colas Nagar Puducherry 605001 E-mail: <mailto:jp.puyravaud@gmail.com>
2010 Nov 28
1
.Rdata file in data subdirectory won't load
Greetings, I wanted to add a dataset to a complete R package I am working on (the package cleanly installs and passes the R CMD check). The data (a matrix) was saved, and the save() image dragged to the /data folder, and is a .Rdata file. It can be read directly using load (see below), but now the R CMD check indicates "subdirectory data contains no datasets" and it won't load
2004 Sep 10
2
Re: FLAC to mp3 batch converter?
Christian, Sorry I don't think I was so clear with my explaination of what I am doing. Your requirement flac -> mp3 is really a special case of ripping, if you think of the entire chain.... normal ripping: CD -> wav -> mp3 Your case is [CD -> wav ->] flac -> wav -> mp3 Which is equivalent to: flac -> wav -> mp3 I need this too and am proposing to use a ripping
2006 Mar 29
3
load file RData which store in zip file
Dear R users, My situation: (1) I have limited workspace for my work harddisk (about 10 GiB). (2) I have a lot of data files in R workspace (*.RData) which most of them > 200 MiB. For some reason I zip some of them, for instance "filename.RData (250 MiB)" to "filename.zip (3MiB)". In this work I have a lot of more space of my harddisk. Normally, If I want to use
1999 Feb 19
1
Potential problem with tapply
Is the following behaviour of tapply not disappointing? Problem with tapply occurs when dealing with na.rm when an argument additional to na.rm is sent to the applied function (here quantile). Any comment? Thank you, Philippe Lambert > x <- c(12,10,12,2,4,11,3,7,2,1,18,7,NA,NA,7,5) > fac <- gl(4,4,16) > # Works fine > tapply(x,fac,quantile,na.rm=T) $"1" 0% 25%
2009 May 16
3
How to save R "clean" sessions in BATCH mode?
Thanks a lot for all of you that have reply me about opening and ending R workspaces in BATCH mode. However replies were a king general and I?m afraid I could not take the entire message from them. Therefore I chose to expose here a representative fraction of my work. I have 50 Rdata files (F1,F2,F3,F4, ,F50) with objects inside. I need to: open F1: - perform some simple operations
2004 Aug 20
1
R CMD check testing environment
I can't tell from the docs ("Writing R Extensions" 1.9.1) exactly what environment the tests, examples, and vignettes that R CMD check tries to run are in. In particular: 1) how do I get the package loaded? 2) how do I access data in the data/ directory? 3) where is the material in the other directories? (e.g., has inst/ material been installed? where?) Apparently (section 1.3)
2009 Oct 26
2
What is the most efficient practice to develop an R package?
I am reading Section 5 and 6 of http://cran.r-project.org/doc/contrib/Leisch-CreatingPackages.pdf It seems that I have to do the following two steps in order to make an R package. But when I am testing these package, these two steps will run many times, which may take a lot of time. So when I still develop the package, shall I always source('linmod.R') to test it. Once the code in
2010 Sep 17
3
How to set up an own package repository
Dear List, I'd like to set up a package repository so I can use install.packages() on it for home-grown packages. I set up an AMPP infrastructure on a windows box already, but I'm pretty lost with respect to what to do next as I didn't do any web-programming/admin yet. Could anyone recommend some r-specific tutorials or has a couple of suggestions for me? I've had a look at the
2004 Sep 10
1
Re: FLAC to mp3 batch converter?
Hi Christian, There is a perl script called rip (rip.sourceforge.net) that I was looking to alter for a similar requirment (flacs at home -> mp3s on laptop). I patched flac support into it for the encoder a couple of months ago. At the moment it uses cdparanoia to rip from CD but should not be hard to add flac as an alternative 'ripper' to make wavs and then you can use the encoder
2009 Mar 08
1
Prevent saving the workspace while running a script in batch mode
Dear R-user, I'm running a certain R script in DOS batch mode. Is there a way to prevent R from saving the workspace once this script is finished? I'm asking this because the resulting .RData file has the size of >70MB. I don't need this file since my script already writes the required output and this makes the whole process very slow (>15 minutes each time) FYI, my script:
2009 Apr 03
2
Basic doubts on the use of several script files in R batch mode
I already searched for information regarding the batch file operations within R. But I could not locate the information I need. Basically I have a doubt regarding the procedures on the batch use of several script files (*.R). How can I do this? How can I define the order of files? My intention is to programme openings, math operations and savings of *.Rdata sessions, but in a sequential
2009 Jul 27
2
create dataset permanently in package (i.e. default or our own package)
Hi, actually while opening R console and R commander we see some packages like car and datasets. in this packages we have default datasets are available. example: women and prestige like that. now i created a sales dataset importing from excel, xml or text file. now i want to store that dataset permanently in any one of the package like i mentioned above (car or datasets). now i closed my R
2011 Sep 21
1
R CMD build and vignettes
Dear R-helpers, www.statistik.lmu.de/~*leisch*/*Sweave*/*Sweave*-Rnews-2003-2.pdf says that R CMD build creates the pdf from a .Rnw file. But when I do R CMD build followed by R CMD check it gives me a warning that there is a vignette without a PDF. My query is : when R CMD build works it creates a pdf in the doc subdirectory of the directory returned by system.file(package = mypackage) and not
2003 Jul 02
2
Batch files in R
When I submit more than one batch file (same programs, different parameter values, huge simulations, different result names) the only results that get saved are from the *last* batch file to finish. They are all being run in the same subdirectory (so same .RData file?) I've done: R --save BATCH infile outfile and I've also put q(save="yes") at the end of the program, but