Displaying 20 results from an estimated 6000 matches similar to: "About "=" in command line in windows."
2013 Feb 21
4
Getting htmlParse to work with Hebrew? (on windows)
Hello dear R-help mailing list.
Looks like the same issue in Russian:
library(RCurl)
library(XML)
u = " http://www.cian.ru/cat.php?deal_type=2&obl_id=1&room1=1"
a = getURL(u)
a # Here - the Russian is fine.
a2 <- htmlParse(a)
a2 # Here it is a mess...
None of these seem to fix it:
htmlParse(a, encoding = "windows-1251")
htmlParse(a, encoding =
2007 Jan 23
2
is it necessary to always register C routines with R_registerRoutines?
I am writing bindings to the neural network simulator SNNS.
At present I have used only .C interface, now I'm studying .Call interface.
I have adapted the example from page 77 of r-exts.pdf, however, it crashes
R.
I use MingW as recommended by Duncan Murdoch.
Please, tell me what I am missing.
The code is below.
Thank you.
SEXP snns_getVersion(void)
{SEXP version;
char *v;
2007 Aug 30
0
bug in DEoptim package
(the same mail was sent to the author)
When I called the function DEoptim with control=list(strategy=1) or
control=list(strategy=2)
I got the error:
Error in mui[rtd + 1, i] : incorrect number of dimensions
Analysis of the source code of the DEoptim reveals the following fragment
if (con$strategy > 5)
st <- con$strategy - 5 ## binomial crossover
else {
st <-
2007 May 25
1
Problem with accessing internal variable in package.
I am writing a package, which contains several functions and variables.
The variables are for internal use by functions.
Functions are ment to be callable by a user.
However, the function cannot access these variables.
The package contains only R code, and was created using package.skeleton
package.skeleton(name="ac9",
list=c(ls(pattern="(AB2)|(ac9)"),
2009 Sep 26
1
mboost_1.1-3 blackboost_fit (PR#13972)
Full_Name: Ivan the Terrible
Version: 2.9.2
OS: Windows XP SP3
Submission from: (NULL) (89.110.13.151)
When using the method blackboost_fit of the package mboost appear following
error :
Error in party:::get_variables(obj at responses) :
trying to get slot "responses" from an object (class "boost_data") that is not
an S4 object
Simple test case that produce bug:
2017 Aug 28
3
[bug report] Cyrillic letter "я" interrupts script execution via R source function
Hello,
I do not have an account on R Bugzilla, so I will post my bug report here.
I want to report a very old bug in base R *source()* function. It relates
to sourcing some R scripts in UTF-8 encoding on Windows machines. For some
reason if the UTF-8 script is containing cyrillic letter *"?"*, the script
execution is interrupted directly on this letter (btw the same scripts are
sourcing
2010 May 20
1
Use of R and Rscript in configure/Makevars in packages
We have seen problems with a number of packages which use R/Rscript to
run R code in configure or makefiles.
(a) You must give a full path: there need be no version of R in the
path, and if there is it might not be the version/build of R under
which package installation is being done. So the general form is to
use
${R_HOME}/bin/R
to select the right version. And since ${R_HOME} might
2010 Dec 28
4
batch file output
I run a batch file with the following command in Windows XP:
C:\R\R-2.12.1\bin\Rterm.exe --no-save --no-restore <C:\users\me\file.R> C:\users\me\file.out 2>&1
Is there any way to get only the output of R in file.out, without getting all the code from file.R too?
Any help greatly appreciated,
Mikkel
2010 Jul 21
3
Problem with invoking R from the command line (Windows Vista)
Dear all
I am running in a problem when trying to run R from Windows command line.
I am runnning Windows Vista, R-2.10.1.
I have a script I would like to run remotely from another program. As it did
not work, I thought I would test the script from the Windows command line
which highlighted a problem.
When I open the command line and type R at the prompt (or any other variant
(R CMD BATCH,
2018 Feb 01
1
Error message: 'Rscript' should not be used without a path
Dear R-devel members,
recently, I ran into the following error message (R-devel 2018-01-31):
'Rscript' should not be used without a path -- see par. 1.6 of the manual
I would like to know more about it, why is it required to run Rscript with
a path, and where is that par. 1.6 of the manual.
I get this error message during Travis r-devel build of my package for
generating makefiles. I
2003 Dec 21
1
Get message "cannot do complex assignments in base namespace" error
I am constantly running into the problem where I get
error messages like "cannot do complex assignments in
base namespace".
It might have something to do with the fact that R has
not started up completely, since I am trying to run
some R script using Rterm < Rscript.R.
When I perform the same script in a Interactive R
session, the R script has no problem with the
assignments that it
2012 Dec 21
1
Rterm does not load personal library
Greetings,
I am trying to run a short script from a shell:
c:\projects\hell>Rscript --default-packages=mypack X:/4Stephen/commit/curve.R > X:/4Stephen/commit/run1.out
Loading required package: utils
Warning message:
package 'RODBC' was built under R version 2.12.2
Error: could not find function "normalize"
Execution halted
Warning message:
closing unused RODBC handle 1
2007 Aug 21
1
runing .r file from C#
Hi,
I know that the general subject "calling R from C" has been discused but I
have been reading the manuals and also scouting the lists and I can not seam
to find
a working solution for my problem.
I want to call a R script ( let's call it "test.r" ) from within C# code.
After reading about this topic I am trying to do this :
System.Diagnostics.Process proc = new
2009 Sep 06
2
How to wait for a user response in Rscript?
Hi,
In 'example(barplot)' running in R, I see 'Hit <Return> to see next
plot:', then R waits for my input. I am wondering how to wait for a
user response in Rscript.
Regards,
Peng
2008 Oct 17
2
R script from Python
Hi,
I'm trying to execute R-script from Python. I'm using R 2.7.2, Python 2.5
and WinXP.
I don't won't to use Python/R interface because of nature of project.
Python code :
import subprocess
command = 'c:\\Program Files\\R\\R-2.7.2\\bin\\Rterm.exe --vanilla -q
<d:\\test\\run\\geneBank.r> d:\\output.out'
subprocess.Popen(command).wait()
After that, I get error
2017 Aug 28
0
[bug report] Cyrillic letter "я" interrupts script execution via R source function
My understanding (which could be wrong) is that when you source a file,
it first gets translated to your native locale and then parsed. When you
parse a character vector, it does not get translated.
In your locale, every "?" character (U+044F) gets replaced by the byte
"\xFF":
> iconv("\u044f", "UTF-8", "Windows-1251")
[1]
2011 May 19
1
Gui immediately closes when started from command-line
Hello,
I want to run an r script that contains code for a gui (rgtk) on the command
line (windows 2000, 32 bits) using R2.10.1, but the Gui disappears a few
miliseconds after I started the program. What switch should I use to prevent
this? I tried r.exe, rterm.exe and rscript.exe with various combinations of
switches, but none of them works.
TIA
Cheers!!
Albert-Jan
2019 Mar 25
2
R 3.5.3 having trouble spawning a new process on my Windows 10 machine
Hi all,
I am noticing some strange behaviour so I am bringing to this list. In the
past when I have submitted bugs to bugzilla, I have come here first for
confirmation/advice. Hopefully this is appropriate.
Upgrading from R 3.5.2 to R 3.5.3 seems to have elicited some strange
behaviour on my Windows machine. R seems to have trouble spawning a new
process on my machine. You can noticing with all
2008 Oct 16
1
Rscript -e, Sweave and tempdir()
Hello R-Help
I have a question about the "behind the scenes" behaviour of the Rscript -e command and particularly its interaction with Sweave and tempdir().
We are trying to deploy R as a web service to do water quality analyses and have been writing software to call Sweave via Rscript eg:
cmd> Rscript -e Sweave('sweavefile.Rnw')
One problem we have been having is that
2017 Dec 05
2
command line arguments are parsed differently on windows, from 3.4.3
Sorry for not reading carefully and thanks for confirming problem with
Rscript too.
On Dec 5, 2017 08:47, "G?bor Cs?rdi" <csardi.gabor at gmail.com> wrote:
> On Tue, Dec 5, 2017 at 4:40 PM, Henrik Bengtsson
> <henrik.bengtsson at gmail.com> wrote:
> > One comment:
> > For your R devel example you didn't use spaces in the expression, i.e.
> maybe