similar to: Rcmd BATCH command line arguments

Displaying 20 results from an estimated 5000 matches similar to: "Rcmd BATCH command line arguments"

2003 Jun 02
6
Building an R package under Windows NT
I am trying to build a R 1.7 package under Windows NT. I created the DESCRIPTION file, the RD file and added the code to the R folder. I also downloaded and installed the Rtools package and have Perl 5.0. I know that Perl, Miktex, and gcc are working. I also have my PATH variable set correctly. I can fake install my package by removing the *.R from the code file, using Rcmd Rdconv to create
2003 Sep 17
3
Building and loading a DLL on Windows NT
I am trying to build a simple dll with Rcmd SHLIB to link into R. The results of the build are below. From my limited knowledge of building DLLs, it looks like it worked (I didn't get any errors). F:\R\dlls> Rcmd SHLIB add.C making add.d from add.C g++ -IC:/PROGRA~1/R/src/include -Wall -O2 -c add.C -o add.o ar cr add.a *.o ranlib add.a g++ --shared -s -o add.dll add.def add.a
2003 Oct 31
4
Array Dimension Names
I would like to reference array dimensions by name in an apply and a summary function. For example: apply(x, "workers", sum) Is there a better way to do this than creating a new attribute for the array and then creating new methods for apply and summary? I don't want to name the individual elements of each dimension (such as with dimnames) but rather name the dimensions. Thanks
2003 Jun 09
2
ESRI shapefiles and EMME/2 packages
I just uploaded two packages to CRAN. shapefiles_0.1.tar.gz - functions to read and write ESRI shapefiles (including dbfs) emme2_0.1.tar.gz - functions to read binary data from an EMME/2 databank data (EMME/2 is a transportation modeling program) Please let me know if you find any bugs or have some suggestions. Thanks. Regards, Benjamin Stabler Transportation Planning Analysis Unit Oregon
2003 Jul 23
2
paste and NAs
I understand how R treats NAs but in the situation below it would be nice to have a na.skip argument to paste so it does not convert the NAs to "NA"s and simply skips those elements of the vector for pasting. > x [1] "2.13" "2.3" NA NA "2.83" NA > paste(x, "0", sep="") [1] "2.130" "2.30"
2003 Apr 25
2
Open an r+b file connection on Windows
I am trying to open an existing binary file, seek to a position in the middle, and then write one byte, while keeping the already existing data after that byte. It seems to me that I am unable to open a connection to a binary file in both read and write mode. I can open the "r+b" binary file connection and seek around, but I can't write to the file. And looking at the function
2004 Aug 05
1
R interface to Python (in Windows)
I put a copy of R 1.8.1 for Windows on our FTP site at: ftp://ftp.odot.state.or.us/outgoing/Test/. It should be there for a few days before it gets deleted. Benjamin Stabler Transportation Planning Analysis Unit Oregon Department of Transportation 555 13th Street NE, Suite 2 Salem, OR 97301 Ph: 503-986-4104 -----Original Message----- From: Peter Wilkinson [mailto:pwilkinson at videotron.ca]
2002 Dec 19
2
list to data.frame
R Help- I have a list of 102 vectors all of the same type and length called time.by.orig. I can't data.frame(time.by.orig) but I can data.frame(time.by.orig[1:length(time.by.orig)]). Why is this? Thanks for your help. str(time.by.orig) List of 102 $ 1 : num [1:102] 1.34 17.39 14.36 14.22 7.56 ... $ 2 : num [1:102] 17.5 0.7 17.7 12.4 10.4 ... $ 3 : num [1:102] 14.063 17.568
2004 Mar 08
3
Decision Trees
I am familiar with the rpart and tree packages for classification and regression trees. However, quite a bit of the research in the transportation community relating to decision trees uses the C4.5 family of algorithms by Quinlan. Are there any plans to make a C4.5 (or a derivative of it) available to R? If not, then I might use the WEKA Java package ( http://www.cs.waikato.ac.nz/ml/weka) that
2004 Jan 14
2
R internal data types
I am trying to figure out R data types and/or storage mode. For example: > #From a clean workspace > gc() used (Mb) gc trigger (Mb) Ncells 415227 11.1 597831 16 Vcells 103533 0.8 786432 6 > x <- seq(0,100000,1) > is.integer(x) [1] FALSE > is.double(x) [1] TRUE > object.size(x) [1] 800036 > gc() used (Mb) gc trigger (Mb) Ncells 415247
2003 May 12
1
problems with Rcmd BATCH (PR#2965)
Hello, I have a test file that runs OK with > Rterm.exe --no-restore < filename.R When I try > Rcmd BATCH filename.R I get the following error message: Can't locate R/Utils.pm in @INC (@INC contains: C:\PROGRA~1\R\rw1070\share\perl c:/Perl/lib c:/Perl/site/lib .) at C:\PROGRA~1\R\rw1070/bin/BATCH line 22. BEGIN failed--compilation aborted at C:\PROGRA~1\R\rw1070/bin/BATCH
2004 Feb 26
1
writing polygons/segments to shapefiles (.shp) or other A rcGIS compatible file
The main limitation of the shapefiles package that I put together is that it does not create shapefiles from R objects - rather it only writes shapefiles that have been read into R and manipulated within the constraints of the existing file structure. By this I mean that for example you can change the coordinates of points and write them back out. Or you can add a bunch of blank columns in the
2003 Feb 13
5
ESRI shape file import and time-space models
Dear R user, I am running R under Windows 2000. I am looking for a routine for importing - shape files (ESRI) into R - dbase files (FOXPRO) into R and I am looking for time-space models for description and prediction of Bernoulli-, Binomial- and Poissonvaraibles. Thank's a lot for a reply. Sincerely yours, Ekkehardt Altpeter Swiss Federal Office of Public
2002 Oct 04
3
R 1.6 Gui for Windows
I upgraded to R Gui 1.6 this morning and I can't seem to get it to accept my new startup directory. R 1.51 will accept "F:\_ben\bls\gen1\results\bls\analysis" as the start in directory for the R Gui shortcut, but R 1.6 will not. R 1.6 will accept "F:\_ben\bls\gen1\results\bls". It seems to have trouble when I add "\analysis." R still loads fine but I get the
2009 Jan 16
2
Missing file to run Rcmd batch on Windows
Hi, I'm trying to run an R script using Rcmd Batch from the command line on a Windows Vista machine. I am using R version 2.8.1. I installed the batch files 4-3 found at http://cran.r-project.org/contrib/extra/batchfiles/ and added them to my path. I also had to install the latest version of perl (it's Strawberry perl if that makes a difference) and have added this to my path. Now when
2004 Dec 29
2
help with Rcmd check
I've been working on a package that requires a shared library to be loaded. I have used the NAMESPACE file to load the library according to: http://cran.r-project.org/doc/manuals/R-exts.html#Load%20hooks <http://cran.r-project.org/doc/manuals/R-exts.html#Load%20hooks> my shared library is "excelpoi.so" hence I have added "useDynLib(excelpoi)" to my NAMESPACE file.
2009 May 01
1
locating rcmd.exe through a batch script
Dear R-sians! The following command works fine on Dos Prompt, but not in a windows batch script... dir /S /B C:\Progra~1\R\R* |findstr /I "rcmd.exe" |findstr /I "2.8.1" how do I implement the above in a windows batch script? I tried to use: for /F "usebackq tokens=*" %%i in (`dir /S /B C:\Progra~1\R\R* |findstr /I "rcmd.exe" |findstr /I
2002 Nov 07
3
Rcmd? Where?
Hello, I got R 1.6.0 for windows and I need Rcmd, which was not included. Where can I get it? (I have to start R and give the name of the file with the R-commands on the command line, so that R is invoked together with its command-file "todo.R". Do I really need Rcmd for that? To write "Rterm todo.R" did not work.) Richard -- Richard M?ller - Am Spring 9 - D-58802
2003 Mar 12
1
Rcmd BATCH
Hello, I''ve a question: I invoke R from a text editor in a Win2000 operating system using Rcmd.exe BATCH inFile outFile I''ve two problems: a) If I use windows() as graphics device, all windows close immediately after script execution, how can I let them not to die? b) Is it possible to redirect the content of outFile to the console output? Many thanks. Paolo
2008 Mar 05
3
ipf function in R
Hi I have a 3 x 2 contingency table: 10 20 30 40 50 60 I want to update the frequencies to new marginal totals: 100 130 40 80 110 I want to use the ipf (iterative proportional fitting) function which is apparently in the cat package. Can somebody please advice me how to input this data and invoke ipf in R to obtain an updated contingency table? Thanks. By the way I am quite new to R. -- Dr