Displaying 20 results from an estimated 6000 matches similar to: "Error Rscript: No such file or directory"
2011 Mar 24
2
Using C code in R
Hi,
I am new to R and I want to know how to use C code which contains two
functions one called inside another.I know that how to use C code in R if it
has only one function but dont know how to do it in above case. I want to
use the same in R .My C code is as follows.
//#include <R.h>
void sayHello();
void g();
void sayhello() {
Rprintf("Hello world %d\n",global);
}
void
2012 Jun 06
1
problem in compililng c code using R CMD SHLIB
Hello all,
I was trying to compile a simple C program hello.c using R CMD SHLIB
hello.c.
MY R software residing in C:\Program Files\R\R-2.15.0, and also I have
downloaded the Rtools 2.15.0 and it is in C:\Rtools, MY file(hello.c) is in
E:\R_dir.
I have followed the procedures given below
1. In a new CMD.exe window I have set the path as
c:\ Rtools\bin; C:\Rtools\MinGW\bin;C:\Program
2011 Aug 02
2
R CMD check problem
Dear friends,
I am building an R package called *mypackage*. I followed every possible
steps (to my understanding) for the same. I got following problem while
doing *R CMD check mypackage*.
* installing *source* package 'mypackage' ...
** libs
cygwin warning:
MS-DOS style path detected: C:/PROGRA~1/R/R-213~1.0/etc/i386/Makeconf
Preferred POSIX equivalent is:
2006 Jan 16
4
Question about self and private
Hi!
There''s something I don''t understand yet about static/private methods. I
hope someone can explain...
E.g.:
class SayHello
def hello(who)
puts "Hello, " + who + "!"
end
def self.say(words)
puts words
end
end
hello = SayHello.new
hello.hello "World" : Hello World!
hello.say "hi" : Error
SayHello.say
2010 Dec 18
1
Rcmd SHLIB error
I am getting this error message when I try to run Rcmd SHLIB myprog.c.
There appears to be a missing / between etc and i386 in the path. I
am on Windows Vista and am using R version 2.12.1 Patched (2010-12-16
r53864) and just downloaded Rtools 2.12 today. Is this a bug in R?
How can I resolve this?
C:\tmp2>Rcmd SHLIB myprog.c
cygwin warning:
MS-DOS style path detected:
2010 Nov 03
2
Calling C in R in Windows 64 bit
Dear developers,
I am trying to run some C/ Fortran code in R. Although I have experience with that in Windows (Vista) 32 bit, I could not succeed in 64 bit. I downloaded the following:
- R 2.12.0
- Rtools 212
- miktex 2.9
- inno setup 5
-Afterwards, I changed the path as:
?C:\Program Files\R\R-2.12.0\bin;C:\Rtools\bin;C:\Rtools\MinGW64\bin;C:\Program Files\HTML Help Workshop;C:\Program Files
2013 Jan 02
3
problem when installing a R package
Hello all and happy new year !!!
I had a package that worked fine but since I switched to R 2.15.2, It is not
compatible anymore (I have the error message: not installed for
'arch=i386').
I have therefore updated Rtools 2.16 and Path variables as follow:
PATH=C:\Rtools\bin;C:\Perl\bin;C\Rtools\MinGW\bin;C:\PROGRA~1\R\R-2.15.2\bin\i38
2011 May 13
3
RMySQL problem on Windows 7 32 bit
I am attempting to analyze Affymetrix exonchip data using the exon map
package. I have installed this package but have had problems installing the
associated programs, specifically RMySQL since no windows binary exists.
I have followed the directions for compiling the package as found on -
http://biostat.mc.vanderbilt.edu/wiki/Main/RMySQL - but still have an error
when executing the
2006 Feb 20
4
how to set a simple application in Apache?
I am not familar with the RoR site stucture on Apache.
I did this but.it doen''t work.
I only want to output a word on a page with RoR.
I did this
1. >cd public_html (enter web root)
2. >rails sayhello
3. >cd sayhello
4. >cd app
5. >cd controller (enter controller folder)
6. edit application.rb
def hello
end
7. cd views (enter views folder )
8. add a
2012 Dec 07
0
R CMD SHLIB
Hello r-helpers,
I am new to Rtools and would like to build dll's from fortran subroutines for use within R.
I have had no luck compiling the following simple fortran code;
c sample subroutine to include for R
subroutine multiply(ax,bx,cx)
implicit none
integer ax,bx,cx
cx=ax*bx
end
>From the directory in which the file is located I used the
2011 Oct 12
1
Error in Rcpp/inline (Windows XP)
Hi, everyone,
I am just trying to use Rcpp in my computer, and I would like to try a
simple example from website, but R keeps reporting me error. I am using
Windows XP, and has installed Rtools and GSI.
Here is the response:
> src = '
+ Rcpp::NumericVector xa(a);
+ Rcpp::NumericVector xb(b);
+ int n_xa = xa.size();
+ int n_xb = xb.size();
+
+ Rcpp::NumericVector xab(n_xa + n_xb - 1);
2012 Mar 11
1
Problems when building a package for Windows 64
Hello
I have recently installed R 2.14.2 on a brand new pc running Windows 64.
One of things I would like to do is to recompile my R package (with C and
fortran source codes) for this new environment (it works on a mac and on a
linux box). To this end, I had rtools 2.14 downloaded and installed (I
have also added 2.14.2/bin/x64 to PATH so that Rcmd works on a terminal).
On a cmd terminal I
2012 May 18
1
Cannot Install Custom Package On Windows7 64-bit
Hi,
After uninstalling Rtools 2.14.0, I have installed the latest version of
Rtools 2.15.0 which gives the two folders
C:\Rtools\bin
C:\Rtools\gcc-4.6.3
R is installed in the directory
C:\R\R-2.15.0
I have set the Environment Variable
PATH=c:\Rtools\bin;c:\Rtools\gcc-4.6.3\bin;c:\R\R-2.15.0\bin;<others>
I am trying to install a custom package (BMEA_0.2.1) which is exactly
2012 Oct 09
2
RMySQL install on windows
I have been trying to install RMySQL on Windows 7 following the
procedure at:
http://biostat.mc.vanderbilt.edu/wiki/Main/RMySQL
I think I have properly installed RTools and created a proper
Renviron.site file saying:
MYSQL_HOME="C:/Program Files/MySQL/MySQL Server 5.5"
When I try to install the packages from source, I get warnings that
suggest I'm still not quite "with the
2011 May 03
1
Compiling Rgraphiz on Windows 7 64bit with R-2.13.0
Hi all,
I am trying to compile Rgraphiz on Windows 7 64bit with R-2.13.0. I have
installed
Rtools213.exe from [1]. The 64bit packages in [2] provided me with the 64 bit
version
of graphviz. After intalling the binary version Rgraphviz 1.30 (in 32bit) it
complains (as
expected) that:
> library(Rgraphviz)
Error: package 'Rgraphviz' is not installed for 'arch=x64'
I
2013 Jul 18
2
question about Makeconf and nvcc/CUDA
Dear R development:
I'm not sure if this is the appropriate list, but it's a start.
I would like to put together a package which contains a CUDA program on Windows 7. I believe that it has to do with the Makeconf file in the etc directory.
But when I just use the nvcc with the shared option, I can use the dyn.load command, but when I use the is.loaded function, it shows FALSE.
2012 May 13
1
Problem compiling package LogicReg - make Error 255
Hello all,
I've been using the R package LogicReg, but ended up having to change a
certain parameter in the Fortran 77 code (namely, I had to change LGCntrMax
to 25 in the file slogic.f).
I am using a 64-bit Windows 7 machine. When I tried to compile, I got the
following error:
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
C:\Program
2014 Oct 08
1
RCMD SHLIB problem in 64 bits
I am trying to build a dll writen in C to be called by R.
Interestingly, when I set the global environment variable PATH to be
"c:\Rtools\bin;C:\Rtools\gcc-4.6.3;C:\Program Files\R\R-3.1.1\bin\*i386*;"
and I typed "RCMD SHLIB Permutation.c" in Cygwin, the dll was compiled and
I can sucessfully call functions after I had loaded it into 32 bits R via
.Call.
However, now I want
2005 Jul 18
2
Streaming MP3's from Asterisk with Ices
I am trying to stream an mp3 file from an Asterisk meetme conference.
Ices and Icecast are streaming mp3 files on their own.
I have looked at the info on the wiki and the various readme files.
It appears you need to use Ices2 to work with the confirguration file
that Asterisk gives you, but it calls Ices. Ices2 appears to only
stream ogg files and i would like to stream an mp3 file.
Being
2005 Dec 17
3
some beginnerkernel questions
Hi List,
I run XEN 2 since some month (unfortunatly installed by a fiend of mine).
Recently I bought some new hardware and tried to get XEN 3 running on a
Debian Sarge 3.1.
I installed via the Debian installer a RAID 1 with LVM. even though there
are some devfs_mk_dir errors systems comes up.
Now I installed XEN but system doe not boot as the boot device seems not to
be recocnized by the