Displaying 20 results from an estimated 800 matches similar to: "YAML parser for R in Windows"
2002 Dec 23
4
calling R from python (fwd)
A question for a (experienced) user of the RPython package on
linux.
I'm trying to call R from python on a linux (Suse 7.3) box.
After installing R CMD INSTALL -c RSPython_0.5-2.tar.gz
I start python and do:
>>> import sys
>>> sys.path.append('/usr/local/lib/R/library/RSPython')
>>> sys.path.append('/usr/local/lib/R/library/RSPython/Python')
2009 Nov 02
1
R and Python
I am a long time user of R for financial time series analysis (xts, zoo,
etc) and for my next project I am thinking of adding the Python language to
the mix. The reason for adding Python is primarily its non-statistical
capabilities.
So my questions are what have people's experiences been with using interop
between R and Python. I see there are two items, rPy and RSPython. It looks
like rPy
2003 Sep 08
2
No joy installing R with shared libs.
Hello,
My platform is SuSE 8.1. After downloading and unpacking R version 1.7 I
tried building with shared libs enabled. (./configure --enabl-R-shlib). My
goal is to use RSPython but I am now in my own private segmentation fault
hell.
The R build worked fine: make, make check, make install cool.
The RSPython build worked fine.
Thinking I'm good to go, I run python. But when I import RS
2006 Nov 01
0
Re: YAML.load(some_string) doesn't return hash?
Oleg Kh wrote:
> A small problem here. As per documentation on
> http://corelib.rubyonrails.org/classes/YAML.html YAML.load(string)
> should just return a hash. However on my windows machine it returns
> something like this:
>
> #<YAML::Syck::DomainType:0x36d5038
> @domain="yaml.org,2002",
> @type_id="map:HashWithIndifferentAccess",
>
2003 Sep 09
1
No joy installing R with shared libs
>> Can some kind soul please give me a fool proof recipe for building R
>> and RSPython so that it actually works?
> I don't have a recipe, but one thought to help debug the process: Try
> installing RPy [1]. RPy also provides access to R via Python and uses
> the libR.so library. If you can install and "import rpy" without
> problem then it must be
2010 Jun 15
8
strange string in /etc/shadow
Hi,
I am using puppet (version 0.25.5-1.e15 for redhat) for password
management for non-system users. This morning, users on some of my
puppet clients had their encrypted password strings in /etc/shadow
replaced with the following string:
YAML::syck::BadAlias
That has effectively broken the users'' ability to login to those
servers. Puppet will not overwrite that string with the
2007 Aug 29
1
Excel (off-topic, sort of)
Except for the ability to perform circular recalculation, I believe that the closest programming analogy to a spreadsheet is a functional programming language. Check out Haskell (or LISP or Erlang) to do what you describe.
-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Fran?ois Pinard
Sent: Wednesday, August 29, 2007
2008 Mar 25
0
New package: yaml 1.0 released to CRAN
Hi all,
I've released a new package to CRAN called 'yaml'. It allows R to
parse YAML documents (http://yaml.org) into R objects, and there are
a few methods to convert R objects into YAML. The package uses the
Syck YAML parser (http://whytheluckystiff.net/syck/), the same parser
that Ruby and other languages use to parse YAML.
For more information, please visit:
2008 Mar 25
0
New package: yaml 1.0 released to CRAN
Hi all,
I've released a new package to CRAN called 'yaml'. It allows R to
parse YAML documents (http://yaml.org) into R objects, and there are
a few methods to convert R objects into YAML. The package uses the
Syck YAML parser (http://whytheluckystiff.net/syck/), the same parser
that Ruby and other languages use to parse YAML.
For more information, please visit:
2006 Dec 20
0
undefined method `to_sym' for #<YAML::Syck::MergeKey...
I have a stock gentoo rails install. I get something like this when I
try to use script/generate, rake migrate or script/console and probably
others.
0 wicked www/sharkwatch % ./script/console
Loading development environment.
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/core_ext/hash/keys.rb:27:in
`symbolize_keys'':NoMethodError: undefined method `to_sym''
2005 Jan 17
1
problem installing RSPython
Hi,
I'm trying to install RSPython v0.5-4 on a debian machine (woody,
testing) but am having the following problem.
$R CMD INSTALL -c --library=/usr/lib/R/library RSPython_0.5-4.tar.gz 2>err
But then...
$python
>> import RS
Error in .PythonInit() : Error in Python call: values
Error in library("RSPython") : .First.lib failed for 'RSPython'
Traceback (most recent
2003 Oct 27
1
Rpy Import Error
I am trying to install Rpy to test it out as an R
interface for a project that I am working on.
However, I get the following error. Any clues as to
what might be going on? I have alo tried RSPython, but
I gave up due to errors. RSPython segfaults when
started from R and gives an error message I can;t
remember from python. Thanks, Brett
>>> import rpy
Traceback (most recent call
2003 Dec 09
3
Interfacing R and Python in MS Windows
Hi all,
I need the power of R from within some of my Python programs...
I use debian linux (woody) at home and windows XP at work (the
latter is where I need to get things done!)
This are my packages:
R 1.8.0
Python 2.3
RSPython 0.5-3
This is what I've done:
(1) Since the Windows Binary of RSPython is compiled against
Python 2.2 I downloaded the tarball
(2) Followed the instructions in
2007 Aug 03
2
RSPython won't load in R 2.6.0 under Linux
I can compile RSPython without difficulty, been when I try to load it, I
get the error messages below. Also below are some cryptic warnings I get
on R boot (in case these are pertinent) and my sessionInfo().
Any help is appreciated. Thanks, Mark
Warning messages:
1: In .updateMethodsInTable(fdef, where, attach) :
Couldn't find methods table for "conditional", package
2001 Oct 31
1
shared libraries on FreeBSD 4.*
I've used R for a couple of years on FreeBSD with few problems. Recently,
a couple of the contributed packages seem to have difficulty finding
symbols in the shared libraries. Currently, I'm running R 1.3.1 on FreeBSD
4.4. I've tried setting LD_LIBRARY_PATH to /usr/local/lib
and some other things. The packages I've had trouble with are:
Matrix 0.3.15
RODBC 0.8.3
RSPython 0.3
2002 Mar 06
2
Announce: R from Python
Hello.
I'm not a regular subscriber in this mailing list, but I think that this
announce may interest somebody. Please, forgive me if this is the wrong place.
Based on the code of RSPython, but modifying it a little, I wrote an interface
for using R from Python. The main reason for writing it was to make it robust,
in order to avoid segmentation faults. Also, it is (IMMO) a very
2009 Feb 11
1
RSPython
Hi all,
I try to utilize RSPython to invoke Python from R. For me it works pretty
fine for basic applications, but I have 3 problems that may be related.
(1) I can't load other packages but "standard" ones also when I adjust the
PythonPath:
> importPythonModule('sys', all=T)
NULL
> importPythonModule('numpy', all=T)
Error in
2007 Oct 12
5
deciphering objects.log
Howdy -- I''ve been tracking down mem leaks (oh, the fun...), and I think
there is a clue in objects.log. There are a few mentions of this file, but
usually Zed saying "look at this file and it will help you". Can anyone clue
me in to what the actual columns mean?
18,Float,143952,256821,112869,,,
18,String,39543,41693,2150,24.727076,55.526376,2308.000000
2012 Jan 25
4
My ENC won't work, YAML is valid AFAIK
If anyone has any ideas, please share. I''m at a loss.
YAML from Puppet Enterprise 2.0.0 default ENC:
++++++++++++++++++++++++++++++++
---
name: rcf-cm-master.our.org
parameters: {}
classes:
- core-permissions
++++++++++++++++++++++++++++++++
YAML from my Python ENC using PyYAML. This results in ''cannot find node''.
++++++++++++++++++++++++++++++++
---
2011 Dec 07
1
RSPython installation
Does anyone know if Is there a way to manually install RSPython?
I get this error when I try to run the script from my DOS prompt.
V:\>R CMD INSTALL -c C:/Users/gene.leynes/Downloads/RSPython_0.7-1.tar.gz
* installing to library 'C:/Users/gene.leynes/Documents/R/win-library/2.13'
* installing *source* package 'RSPython' ...
**********************************************