Displaying 20 results from an estimated 9000 matches similar to: "Problem with rtest.c"
2008 Nov 26
1
Running rtest - how to/ help
I am trying to run rTest example (XP, Eclipse, ) available with code.
JRI etc are used from the rJava package (i.e. Haven't built myself)
The code dosent runs properly - it shows ( i tried passing argument as
--save). what else is possible.
'Creating Rengine (with arguments)' and then gets terminated.
When I am trying to use run.bat
>run.bat examples\rtest.java
it says
>
2018 Mar 01
0
Small program embedding R crashes in 64 bits
Hi everyone,
I'm trying to create a small C++ program which embed R, but I'm having
problems when I try to do it on Windows 64 bits. I have created a
minimal reproducible example which is just the
src/gnuwin32/front-ends/rtest.c file with the R_ReplDLLdo1() loop, the
only difference is that I set the interactive mode to TRUE. Here is
the cpp file:
1999 Oct 09
2
Re: R-0.65.1 for WinNT/9XRe: R-0.65.1 for WinNT/9X
Hello.
I've dowloaded R-0.65.1 for WinNT/9X.
>There is more support for (support of) ActiveX Automation via the
>Rproxy.dll: see the file front-ends/readme.
And where is this "the file front-ends/readme" which describes R's ActiveX
Automation ?
In "readme" under "r-install path\" and FAQ for Win port, no description
about this.
Please teach me.
1999 Oct 09
2
Re: R-0.65.1 for WinNT/9XRe: R-0.65.1 for WinNT/9X
Hello.
I've dowloaded R-0.65.1 for WinNT/9X.
>There is more support for (support of) ActiveX Automation via the
>Rproxy.dll: see the file front-ends/readme.
And where is this "the file front-ends/readme" which describes R's ActiveX
Automation ?
In "readme" under "r-install path\" and FAQ for Win port, no description
about this.
Please teach me.
2006 Sep 28
2
calling R from within Java, using jri
Hi,
I want to call R from within Java, using jri as per
http://www.rosuda.org/software/jri/
So I am following the instructions in the README file for JRI 0.2-4.
I have run 'sh configure.win' and 'make' and they seemed to be
successful.
(See below for the output from make, for example.)
But when I try 'run.bat rtest' (with and without R command line
arguments)
the output
2005 Oct 30
1
attaching the debugger to functional test.
People,
I''m trying to run the ruby debugger against a Test::Unit::TestCase class
which is a parent of a Rails class.
I started my study with a simple script:
#
# bikle_test.rb
#
require ''test/unit''
class BikleTest < Test::Unit::TestCase
def setup
@string10 = "hello"
end
def test10
assert_equal @string10, "hello"
end
end
The
2005 Nov 27
2
'For each file in folder F do....'
Hello,
I have 2700 text files in a folder and need to apply
the same program/procedure to each individually. I'm
trying to find how to code something like:
For each file in <Folder> do {<Procedure>}
is there an easy way to do this? other suggestions?
I have tried to list all the files names in a vector
e.g.
>listfiles[1:10,1]
1 H:/Rtest/AXP.txt
2 H:/Rtest/BA.txt
3
2012 Feb 26
2
Help needed! Error in setwd(newdir) : cannot change working directory
Hi Guys,
I am new to R and just trying to write a small script to automate a couple commands. But I run into the setwd(): cannot change working directory.
I googled a little bit and tried all fixes/suggestions with no success.
Basically I have a script that works from inside a directory with my data (/home/sean/Rtest/Data01). Now I want to modify the script to make it run from the upper directory
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
2003 Nov 20
1
Compile Packages under Windows and CHM
Hi,
I have been developing a small package. It install under RedHat Linux
9.0 without a problem. However, I have a small problem under Windows
XP. I am using R-1.8.0 on both systems and HTML Help Workshop
4.74.8702.0 on Windows XP. I created the package under Linux.
When I try to install the package created under Linux in Windows XP
using
c:\rtest> rcmd install rtest
I get the following
2005 Oct 08
1
windows/g95 peculiarity
I'm not looking for an answer here, this is just a report of a
peculiar event I've observed
and can reproduce.
I'm developing a g95 (20050129) compiled package on windows xp pro
using R-2.1.1, and gcc-3.4.2 (mingw special). An older version of the
F95 package compiled and ran without problems. The new version of the
package includes extensive changes in the code.
The package has a
2005 Mar 17
1
Compiling "embedding R" examples
Hi,
I am working at a major financial institution and we would like to embed R in one of our front office application.
The application is written in C/C++ so I started by trying to compile the examples in "tests/Embedding" of R 2.0.1.
I have modified "tests/Embedding/Makefile" according https://stat.ethz.ch/pipermail/r-help/2005-February/064341.html
and set
2007 Jun 01
3
Question on the R's C stack limit
Dear r-devel members,
I encountered a C stack limit issue, when I tried to embed R 2.5 into my
application. In the R-exts document, it says:"Note that R's own front ends
use a stack size of 10Mb". I desire to know: is it possible to decrease this
stack size
by modifying R's source code? If it's possible, which part of the source
code is responsible for the issue?
Thank
2008 Oct 14
1
To all TextMate users that wants to run tests with cmd + r in Rails 2.1 and above.
Because the require ''test_helper'' at the top of all the tests is
relative now (it used to be something like require ''../test_helper''),
you can''t just run the file with ruby anymore. And running the file
with ruby is exactly what command + r does. Which means you can''t
easily run your tests from textmate.
The solution:
2003 Sep 01
2
Error in dyn.load
Hi,
I've created a shared library from including this code (with g++
-I/usr/local/lib/R/include -I/usr/local/include -c Rtest.cpp; g++
-shared -L/usr/local/lib -o Rtest.so Rtest.cpp):
void check_data (SEXP data) {
int l=length (data);
}
But when I try to load it in R I get this error message:
unable to load shared library ...
...
undefined symbol: _Z9Rf_lengthP7SEXPREC
How can I solve
2006 May 25
1
compiling tests/Embedding
I am compiling the Embedding examples in the tests directory and get an
undefined reference. I include the make output as well as grep'd output
of nm on libR.so and compiler and arch information. Do I have an
improperly built R shared library or is there a problem with the
Embedding tests or something else I am not seeing?
Thanks for any help!
George
ost at
2003 Jul 07
1
Problems with a dll under windows
I am trying to get a dll compiled for use with dyn.load. I use R.1.7.1
under Windows.
I have tried the following trivial example based on the "Writing R
extensions" manual.
rtest.h
--------
class X {
public:
X ();
~X ();
void Give7(double*);
};
class Y {
public: Y (); ~Y ();
};
rtest.cpp
---------
#include <iostream.h>
#include "rtest.h"
static Y y;
2010 Sep 28
2
Opening a .R file with R (Windows)
I am new to using R. I installed R on my computer (Windows) and everything
things appears to be just fine. However, I have a simple script RTest.R
that does a few simple calculations. When I double-click the RTest.R icon,
I get an Information dialong box which says, "ARGUMENT 'C:\Documents and
Settings\kgilder\Desktop\RTest.R' __ignored__" . When I choose OK, R then
opens,
2006 Apr 03
3
New software, test site, OpenProfile
I''ve just put a new Ruby On Rails application up for testing at:
<http://rtest.openprofile.net>
Open Profile can be used as a login and user profile module for any Ruby
On Rails application.
Its purpose is to minimize the hassle of joining new web forums (or
anything else on the web that requires you to enter a user name, email
addres, password twice, etc.). If it''s
2008 May 16
2
Getting JRI/rJava to work
Hello All
I am trying to get the JRI examples from rJava to work on Windows XP and
failing. (And as a more general and connected question is there any
review/summary of front-end software for R?)
I have installed rJava from the Windows binary supplied. I compile and
run the example supplied (rtest.java) and get the results below. I do
not think the notes about a deprecated API are a problem. But