Displaying 20 results from an estimated 1000 matches similar to: "writing R shell scripts?"
2008 Jun 08
1
Issue with NA value and Octave compatibility
Dear R developers,
I'm an Octave developer in the process of implementing a single
precision type in Octave and I have an issue with the NA value. The
choice of NA value in Octave was made a few years back so that the high
word of the NA value was 0x7ff00000 and the low word was 0x000007A2 for
compatibility with R and to ease any possible issue with the exchange of
data files between Octave
2012 Mar 27
1
read.octave fails with data from Octave > 3.2.X
Hi,
I'm afraid that the function read.octave from package "foreign" has
some problems with the ASCII data format exported by new versions of
Octave (later than 3.2.X). It fails even for a simple case as:
[Octave code:]
octave:1> x=1;
octave:2> save -ascii testdata.mat x
[Now in R:]
> octavedata <- read.octave('testdata.mat')
Mensajes de aviso perdidos
In
2002 Dec 03
1
Plotting Speed: R vs Octave
Thank you. Guess it's a plausible explanation.
> -----Original Message-----
> From: Liaw, Andy [mailto:andy_liaw at merck.com]
> Sent: Tuesday, December 03, 2002 08:05 AM
> To: 'Chunlou Yung'
> Subject: RE: [R] Plotting Speed: R vs Octave
>
>
> If I'm not mistaken, Octave does not have its own graphics system, but
> rather rely on gnuplot, which is
2009 Jan 04
1
R/octave/matlab etc.
I'd echo a lot of what has been said about this by the folk who have
been making R work so well. One of the main difficulties is that the
environment of computations affects relative performance. e.g., what
settings did a distro package builder choose. I note that my 3 GHz Dual
Core machine running Ubuntu 8.04 gets
octave 3.0.0
octave:6> tic; a = a + 1; toc
Elapsed time is 0.120027
2011 May 31
0
[LLVMdev] multiple function return values in LLVM
Hi Yabin,
Octave uses an octave_value_list object to return multiple values so I
don't think it has anything to do with the compiler.
A sample function that can be dynamically linked with Octave and
called from octave interpreter:
#include <octave/oct.h>
DEFUN_DLD (divmult, args, nargout, "") {
octave_value_list retval;
// do some computation to compute r0 and r1
2009 Mar 09
3
Identical yum configs, different results
Hi all,
I have two new Centos 5.2 servers ("drizzle" and "fog"), both ROCKS headnodes installed from the same rolls. Identical `uname -a' output (2.6.18-92.1.13.el5, x86_64 etc), identical yum versions (Version: 3.2.8 Release: 9.el5.centos.1) with identical yum.conf files and identical repo files in /etc/yum.repos.d.
To simplify things I've disabled all repos
2010 Dec 19
2
R.matlab memory use
Hi,
I am trying to load into R a MATLAB format file (actually, as saved by
octave). The file is about 300kB but R complains with a memory
allocation error:
> library(Rcompression)
> library(R.matlab)
Loading required package: R.oo
Loading required package: R.methodsS3
R.methodsS3 v1.2.0 (2010-03-13) successfully loaded. See ?R.methodsS3 for help.
R.oo v1.7.2 (2010-04-13) successfully
2018 Jan 24
4
Geometry delaunayn and deldir results, differing results from Octave due to decimal precision?
The problem:
I would like to translate the Octave algorithm in griddata.m to R.
Within the griddata algorithm calls are made to the Delaunay function. For the R translation I have found delaunayn within the "geometry" package and also the deldir package.
Both do similar things but give slightly different results depending on the input.
The question is, what is making the results for the
2019 May 05
1
Porting R example datasets to GNU Octave
Hi, R Developers,
I'm interested in porting the R example datasets package to GNU Octave
and Matlab. Would you have objections to my doing so?
This would involve transforming the example data and metadata into a
format that Octave understands, and porting all of the datasets' Example
code pieces to Octave M-code. (This would require no work on your part;
it'd be my project.)
I think
2018 Jan 24
0
Geometry delaunayn and deldir results, differing results from Octave due to decimal precision?
"The question is, what is making the results for the R packages different
from each other?"
There are literally thousands of R packages, contributed independently by
thousands of people. There should be no expectation of consistency or for
that matter, "correctness", among them. Caveat emptor.
Only within the base R distribution, maintained and mostly written by the R
Core
2009 Sep 28
2
Polynomial Fitting
Hello All,
This might seem elementary to everyone, but please bear with me. I've
just spent some time fitting poly functions to time series data in R
using lm() and predict(). I want to analyze the functions once I've
fit them to the various data I'm studying. However, after pulling the
first function into Octave (just by plotting the polynomial function
using fplot() over
2002 Jan 14
1
new R documentation on CRAN
Dear R community
A few weeks ago, I uploaded a small text file called R-and-octave.txt
to the contributed docs section of CRAN. This file details
octave/matlab commands and their (near) equivalents in R (Matlab is a
widely-used high-level graphics/mathematics tool and octave a free
clone).
Someone has just pointed out to me that I never announced its
existence to anyone, hence this email (I
2009 Dec 01
1
eigenvalues of complex matrices
Dear all,
I want to compute the eigenvalues of a complex matrix for some statistics.
Comparing it to its matlab/octave sibling, I don't get the same eigenvalues
in R computing it from the exact same matrix.
In R, I used eigen() and arpack() that give different eigenvalues. In
matlab/octave I used eig() and eigs() that give out the same eigenvalues but
different to the R ones.
For real
2008 Oct 18
1
octave
trying to install octave from epel onto centos 5.2, and getting
dependency errors. only place I could find this RPM was in epel, which
I 'thought' ran on native rhel5/centos5 without requiring any other
repos, but I guess I'm wrong?!?
google tells me libhdf5 is some sot of 'heirarchial data format'
library, whatever that means.
# yum install octave
Loading
2011 Nov 17
1
Non-free packages in CRAN
Hello.
This is in relation to the discussion below:
http://sourceforge.net/mailarchive/forum.php?thread_name=CAPHS2gwmxJGF9Cy8%3DSEGasQcVRg_Lqu-ndCdVhO-r1LJsRQGuA%40mail.gmail.com&forum_name=octave-dev
If this is the wrong place to discuss this issue, I would be thankful
for a redirection to the appropriate forum.
As Henrik says, R or some organisation that acts in R's name, has
2006 Jun 14
2
Bug or not? (PR#8977)
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig807B2312A20EAF60129FDDFA
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi,
I am writing this email, because I am not sure if the issue I have
discovered is a bug or not.
For a few days I have been fiddling around with a small program that
calculates the reflectance of
2011 May 31
2
[LLVMdev] multiple function return values in LLVM
Hi all,
How can I implement a multiple function return values scheme in a
performance efficient way, just like what be done in Matlab or Octave?
Thanks in advance,
Yabin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110531/5813e7a6/attachment.html>
2008 Apr 21
1
R-2.7.0 RC (2008-04-20 r45403) fails fullcheck
A strange thing happened. After installing the most recent RC version of
2.7 (2008-04-20 r45403) I compiled it as usual with no errors. After
installing it I ran "make fullcheck". I got as far as testing recommended
packages and I got the following:
...
-------- Testing package foreign --------
Running examples in 'foreign-Ex.R' ...
Comparing `foreign-Ex.Rout' to
2003 Apr 16
2
import data from Matlab & error msg when install package "e1071"
Hello,
I am trying to import data from Matlab..
when i looked up R documentation, it says, package "e1071" have command
(read.octave) to import data from octave.
but when I tried to install package by using:
install.packages("e1071");
I got the following message: ( BTW, my platform is linux version 2.4.18-3
my gcc is 2.96).
* Installing *source* package 'e1071' ...
2009 Feb 07
3
Re-post data format question (apologies)
Hello all,
I have a *.csv file that looks like this (actual file is orders of magnitude
larger):
Site taxa no.ind
forest LMA 1
forest LCY 1
forest SCO 1
meadow LMA 2
meadow LCY 1
meadow PNT