similar to: two instances of R

Displaying 20 results from an estimated 10000 matches similar to: "two instances of R"

2004 Mar 13
4
nnet classification accuracy vs. other models
I was wandering if anybody ever tried to compare the classification accuracy of nnet to other (rpart, tree, bagging) models. From what I know, there is no reason to expect a significant difference in classification accuracy between these models, yet in my particular case I get about 10% error rate for tree, rpart and bagging model and 80% error rate for nnet, applied to the same data. Thanks.
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
2007 Jul 13
8
More sorting problems with untokenized index
I''m having problems sorting on untokenized fields. I have one field that sorts fine, but there are others that seem to sort on a different field. Here''s the index description: acts_as_ferret :remote=>true,:fields=>{:name=>{:boost=>2},:name_for_sort=>{:index => :untokenized}, :city=>{:boost=>2}, :city_for_sort=>{:index=>:untokenized},
1997 Nov 27
4
R-alpha: RData in batch
Just a word to mention that I have lost 2 hours yesterday to find out why R refused to use a function from a package calling C-code. R invariably answered that the C code was not in the load table (something like this). I have tried everything (or nearly) to solve my problem knowing that this same package used to work on my computer at the university. Finally, I found out that running the same
2013 Mar 01
7
Why so many worker threads?
Hello! Can anyone explain why my Unicorn installation (for RoR site) have so many worker threads? * screenshot: http://i.stack.imgur.com/U9TFR.png * unicorn.rb: https://gist.github.com/907th/4995323 Thanks!
2007 Feb 08
2
How to protect two jobs running on the same directory at the same time not to corrupt each other results:
Hi, I have a large group of jobs, some of them are running on the same directory. All of them in batch mode. What are the best ways to protect from corrupting the results two or more jobs running on the same directory. One, I would think can be to run each job in a separate directory, collect the results and after remove the directories. But I have thousands of jobs that will run in parallel
2006 May 17
1
Renaming Rplots.ps from BATCH scripts.
I often use R CMD BATCH to run my files (e.g. script.R), and get the output recorded in script.Rout -- this is great. On my setup (R.2.3.0 on linux), if any plots are created, they get stored in Rplots.ps. This can get confusing if I have several batch scripts in one directory. I've written a simple shell script to rename Rplots.ps to e.g. script.Rout.ps so that later I can easily identify
2006 Jul 25
1
valgrind complains about save (PR#9096)
valgrind complains about the save command in R 2.3.1 as shown by the script included below. Of course, I don't know whether this "Conditional jump or move depends on uninitialised value(s)" is really a bug. Experience with similar issues in my own code says it may be, but it is also hard to tell. Having no familiarity with the code cited in deflate.c, I leave the issue to experts.
2002 Apr 02
4
Two R sessions?
Hi R users, I am still a relatively new R user migrated from S+. I wonder in R how do you handle one difference between R and S+. S+ saves objects as different files in .Data directory while R saves all objects in a big file .RData. In S+, I can start two S+ sessions from the same directory and work simultaneously as long as new objects in the two sessions are not in the same names. This is
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
2003 May 05
1
commandArgs()
Apologies for asking about this, but I don't quite understand how this works after looking through the FAQ and the Help archives. Let's say I want to pass "1000" as an argument to R. I did the following: >R CMD BATCH --1000 infile outfile When I do print( commandArgs() ), I see [1] ".../R.bin" "--restore" [3] "--save"
2007 Dec 19
5
assigning and saving datasets in a loop, with names changing with "i"
Dear R users, I am analysing a very large data set and I need to perform several data manipulations. The dataset is so big that the only way I can play with it without having memory problems (E.g. "cannot allocate vectors of size...") is to write a batch script to: 1. cut the data into pieces 2. save the pieces in seperate .RData files 3. Remove everything from the environment 4. load
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)
2005 Nov 03
4
shared-mime-info (PR#8278)
Full_Name: Vaidotas Zemlys Version: 2.1.1 OS: Ubuntu 05.10 Submission from: (NULL) (213.197.173.50) Hi, This is really a feature request, not a bug. I wrote the mail to R-devel, but nobody answered it. I use Gnome on my computer and sometimes I use its default text editor gedit. It uses gtksourceview library for syntax highlighting. I decided that it would be nice if gedit supported R
1997 May 08
1
R-beta: Two simple suggestions.
1) The .RData file (and S .Data area) are cputype dependent. When R is used from different types of machines (say, HP and Sun) that share a common filesystem (say afs or dfs) then loading the wrong type of .RData file can lead to mysterious behaviour. In my environment, undergraduate students are the most likely to log into different cputypes, and they end up being quite confused. To
2009 May 13
1
Overlaying two plots
Hi useR's, I want to overlay an image plot over a world map and I can do it, but just not the way I need to do it. Here is the code I am using (with data file attached) to create my baseline map: library(sp) load("TM_WORLD_BORDERS_SIMPL-0.2.RData") par(bty="l") plot(wrld_simpl, axes = TRUE, ylim = c(-90, 90), xlim=c(-180, 180), asp=1.5) lim <- par("usr")
2009 Jul 15
1
loading multiple .Rdata and preserving variable names
Dear R-users, I need to load outputs from multiple previous calculations into one R session for comparison and (cross-)analysis. The previous calculations are stored in different directories in .Rdata files (I don't know if this is the best storage for later usage, but the previous project could be recalculated and saved into different format, if needed, potentially.) I can load consequently
2013 Feb 20
4
Error in setwd(outDir) : cannot change working directory
I installed R on my Windows laptop in C:\Program Files\R\R-2.15.2 and am able to open RGUI (640bit), see packages and run commands. However, when I test the installation and run the basic tests and all the tests on the standard and recommended packages i.e.: library("tools") testInstalledBasic("both") testInstalledPackages("base", errorsAreFatal
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 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: