similar to: Runnin R prorams from a command line

Displaying 20 results from an estimated 7000 matches similar to: "Runnin R prorams from a command line"

2002 Aug 04
3
Fortran DLLs
Hello everyone, I'm using R 1.5.1 on Windows. I chose the option 'Install Source Files' when installing R. The code below shows my use of the command SHLIB and the error I get. C:\R\rw1051\bin>Rcmd SHLIB C:\Stage 9 (Phase 2)\cir3int.f 'perl' is not recognized as an internal or external command, operable program or batch file. I'm assuming I'm missing some perl
2002 Oct 24
1
Rjava failing to initialize in Windows 2000
Dear Any, I am trying to initialise Rjava with the objective of running ORCA within R. I am running R1.5.1 on Windows2000 and get the same problem with Sun Java run time jre-1.2.2_013 Java j2re-1.4.1_01 Microsoft Java Virtual Machine Build 3805 .JavaInit() is failing at : .C("s_start_VM", as.character(classPath), as.character(classPath),
2002 Aug 09
2
error starting SJava: classpath
Dear R experts, Sorry, I am resending this, since I have not received this mail myself for the past 5 hours. I saw a similar question dated July 2. But there is no answer to it. Does anybody have a solution to it? I am using window NT, and the R version is 1.5.1, the SJava package is the binary version SJavaWin_0.62-8.zip. Here are the error message: > library(SJava) > .JavaInit()
2002 Aug 12
1
Error 127 and dlltool
Hello: Many thanks to Professor Ripley for responding to my earlier post, included below, about trying to use mingw32 gcc.I did put back the original Rinternals.h. I am still crashing R every time I try to use C code. Here is what I did, basd on readme.packages: 1.) Ensured that C:\Rtools was first in my path, and obtained a new tools.zip from BDR's R tools site. 2.) Ensured that I
2002 Jun 27
1
Building from a source-code library under windows
Dear All, I have a pair of .cpp and .def file can be compiled using VC++ and works perfectly well in S-PLUS. I wanted to do the same for R; so I followed the guidline given in "Building from a source-code library under Windows" as much as possible and manage to compile them using VC++ and call it from R. But it gives different answer from the one called from S-Plus. I know that I did
2007 Mar 28
2
changes in behaviour of Rcmd SHLIB since 2.4.0
Dear all, I have some C code using the zlib uncompress. It compiles fine under Win XP (with SP2) with R up to 2.3.1 and generates four files (Makedeps, *.d, *.dll, and *.o): C:\Data\R-packages\cmg>rcmd SHLIB cmg.c -o cmg.dll latex: not found making cmg.d from cmg.c gcc -IC:/PROGRA~1/R/R-2.3.1/include -Wall -O2 -c cmg.c -o cmg.o cmg.c: In function `readcmg': cmg.c:33: warning:
2004 Apr 16
2
install packages
I am trying to install packages, WHat i did is: options(CRAN= "http://cran.us.r-project.org/") install.packages("pakgs") However I got error message like: trying URL `http://cran.us.r-project.org//bin/windows/contrib/PACKAGES' Error in download.file(url = paste(contriburl, "PACKAGES", sep = "/"), : cannot open: HTTP status was `404' In
2002 Jun 28
1
windres problem
Hello, I am trying to build an R package for Windows from an R package for Linux. There seems to be a "windres" problem somewhere. Here's what I get. C:\Temp>Rcmd build --binary VGAM > mm make[2]: windres: Command not found make[2]: *** [VGAM_res.o] Error 127 make[1]: *** [src/VGAM.dll] Error 2 make: *** [pkg-VGAM] Error 2 In more details, it goes like the following.
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
2002 Sep 11
1
.Renviron and Renviron.site (on Windows XP)
Hello, Could someone please tell me why the following doesn't work: I have a file C:\Program Files\R\rw1051\etc\Renviron.site, which contains the line: R_LIBS= "C:/Jim/LocalR-Libraries/FromCran"; "C:/Jim/LocalR-Libraries/Cantata" >From the documentation, I gather that I have put this file in the default location, but to be safe I also explicitly set the R_ENVIRON
2002 May 15
1
can't get rcmd to work on windows2k....
I'm trying to make sure my R package will install properly (build help files, etc) and when I try to run the rcmd check (or any rcmd option) I get the following error. Does dcf.pm stand for perl module? If not, why do I get this message? C:\systemfit\r_code>rcmd check --help Can't locate R/Dcf.pm in @INC (@INC contains: c \PROGRA~1\r\rw1041\share\perl; /usr/lib/perl5/5.6.1/cygwin-multi
2002 Jul 24
2
No subject
Hi, I am trying to use xgobi with R on a windows XP machine. I downloaded the package, which seems to have worked and started on the tutorial supplied. The command data(laser) works fine but the command xgobi(laser) returns C:/PROGRA~1/R/rw1051/library/xgobi/scripts/xgobi.bat -vtitle 'laser' -std mmx C:/DOCUME~1/Adam/LOCALS~1/Temp/xgobi-laser19169 > with nothing
2002 Aug 13
1
Rcmd SHLIB under NT
Hello: I'm trying to use Rcmd SHLIB to compile a single file, sann.c, to get sann.dll. I was able to get make libR.a to work, after going into MkRules and changing the line DLLTOOL=$(BINPREF)dlltool -k --as $(AS) to read DLLTOOL=C:/MINGW-1.1/bin/dlltool -k --as $(AS) But now I get: C:\rw1051\src\gnuwin32>Rcmd SHLIB sann.c make: make: Command not found make: *** [libR] Error 127
2004 Jun 14
1
glmmML package
I'm trying to use the glmmML package on a Windows machine. When I try to install the package, I get the message: > {pkg <- select.list(sort(.packages(all.available = TRUE))) + if(nchar(pkg)) library(pkg, character.only=TRUE)} Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library
2002 Sep 20
1
Trouble in running Rcmd --check on Windows 2000.
Hi! My Platform: Windows 2000 R version >1.5 Active Perl 5.6 Rtools at the start of the PATH. I am trying to build a package. The functions are written only in R (no C code). I am trying to proceed as described in R-exts.pdf But instead to get a build package i am getting (see below). At first glance it seems to me that i understand the output. At something similar i am looking most of my
2002 Oct 01
1
install.packages warning
I typically install packages from a local site: > install.packages("x:/tpm/tpm.zip",CRAN=NULL) updating HTML package descriptions Warning message: argument `lib' is missing: using C:/PROGRA~1/R/RW1051/library in: install.packages("x:/tpm/tpm.zip", CRAN = NULL) The warning doesn't bother me, but I've had to help other people who see "warning" and
2002 Jul 01
0
error starting SJava: classpath?
Does SJava require that omegahat be installed? I have installed the binary Windows package (SJavaWin_0.62-8.zip), made the change eliminating the call to .alias(), with the following results on startup: > library(SJava) > .JavaInit() Error in .JavaInit() : Couldn't start Java Virtual Machine: Cannot find the Omegahat interface manager class. Check you classpath! > tmp <-
2002 Feb 21
1
installing packages under Windows 2000
Hello, I am trying to install a package for R 1.4.1. under windows 2000, and cgywin perl 5.6.1. The first problem I had was with perl not picking up the R specific perl files. bash-2.05a$ ./Rcmd INSTALL /c/tmp/R/exactRankTests_0.6-2.tar.gz Can't locate R/Dcf.pm in @INC (@INC contains: c \PROGRA~1\R\rw1041\share\perl;/c/Program\ Files/R/rw1041/share/perl /usr
2004 Feb 17
1
RCMD SHLIB == Couldn't reserve space for cygwin's heap, Win32 ?
I've been trying to create/load/call a dll from R-1.8.1 on Windows without much success. I've been able to at least load the library on FreeBSD (1.8.1). I've been able to perform this before using DLL that weren't created using RCMD SHLIB, but simply compiling under MS DevStudio. C:\optflikam>rcmd shlib --output=optflikam.dll as47.f as197.f flikam.c g77 -O2 -Wall -c as47.f
2004 Feb 17
1
RCMD SHLIB == Couldn't reserve space for cygwin's heap, Win32 ?
I've been trying to create/load/call a dll from R-1.8.1 on Windows without much success. I've been able to at least load the library on FreeBSD (1.8.1). I've been able to perform this before using DLL that weren't created using RCMD SHLIB, but simply compiling under MS DevStudio. C:\optflikam>rcmd shlib --output=optflikam.dll as47.f as197.f flikam.c g77 -O2 -Wall -c as47.f