Displaying 20 results from an estimated 500 matches similar to: "Patch for RJSONIO"
2009 Jun 13
1
conditional dependencies & loading
Hi!
I'm working on a package that must convert data to and from JSON. For this,
it can use either the rjson package, or preferably, the faster RJSONIO
package.
I have two related questions about this.
First, how can I specify that the package depends on *either* RJSONIO *or*
rjson? (I.e. both are not required.)
Second, what's the best-practice R idiom for such conditional loading?
2011 Nov 05
2
install.packages problem
I'm trying to install the rdatamarket package. I did an
install.packages('rdatamarket') command but got an error about half way
through the install as follows:
* installing *source* package ?RCurl? ...
checking for curl-config... no
Cannot find curl-config
ERROR: configuration failed for package ?RCurl?
The install continued after the error but looks like it was completed. I'm
2012 Jun 19
0
Error with RJSONIO installation
Hi friends,
I was trying to install RJSONIO in Ubuntu10.04 LTS but unfortunately ends
up with following error.
trying URL 'http://stat.ethz.ch/CRAN/src/contrib/RJSONIO_0.98-1.tar.gz'
Content type 'application/x-gzip' length 1150673 bytes (1.1 Mb)
opened URL
==================================================
downloaded 1.1 Mb
* installing *source* package ‘RJSONIO’ ...
Trying to
2012 Aug 24
1
RJSONIO/rjson maximum depth?
Hi All,
has anyone run into maximum depth of nested JSON arrays in either rjson or
RJSONIO ?
I seem to be able to get up to 10 depth levels without problem, but
crossing over to 11 either causes an error or fails to load the nodes
properly.
with RJSONIO I tried:
a = fromJSON('data/myJSON.json', depth=1000)
but I still get this error:
Error in fromJSON(content, handler, default.size,
2012 Dec 27
1
Convert json data to an r dataframe
Hello to everybody,
I need to convert a json dataset in an R dataframe.
I suppose that I'd need to use rjson or rjsonio package.
The json dataset is:
http://apistat.istat.it/?q=getdatajson&dataset=DCIS_POPSTRBIL&dim=1,0,0,0&lang=1&tr=&te=
It would be nice if someone can help me to create a function like the one
below:
2013 Apr 13
1
RJSONIO Installation
Trying to install rjsonio and I've run into a couple of issues.
1. When installing from R, it's starts to download, then I get
* installing *source* package 'RJSONIO' ...
ERROR: configuration failed for package 'RJSONIO'
* removing 'C:/Program Files/R/R-3.0.0/library/RJSONIO'
2. I've tried similar steps on the cmd(I'm win7).
I receive the same message,
2009 Jun 12
1
Fast JSON <-> R converter?
Is there a *fast* converter between JSON and R? I'm aware of the rjson
package, but it is implemented in R, and it is too slow for my purposes.
TIA!
kynn
[[alternative HTML version deleted]]
2012 Dec 04
1
Reading JSON files from R
Hello All -
I am trying to use RJSONIO to read in some JSON files.
I was wondering if anyone could please comment on the level of complexity of
the files it can be used to read, exports from or directly from NoSQL DBMS
like MongoDB and such.
Also, i understand that in reading the JSON file RJSONIO will automatically
create the necessary structures. However I cannot seem to use to to read the
2013 Aug 29
0
Big Integer Support in JSON-to-R Conversion
I have come across an issue converting a JSON string in R (with either the
package 'rjson' or 'RJSONIO') when big integers are included in the JSON
string.
A simple example of the problem is:
> options(scipen=999) # To prevent representing the answer in scientific
notation
> json.str <- '{"bigInt":123456789123456789}' # Sample JSON string with
big
2010 Dec 11
2
toJSON question
Hello,
I am trying to use RJSONIO
I have:
x <- c(0,4,8,9)
y <- c(3,8,5,13)
z <- cbind(x,y)
Any idea how to convert z into the JSON format below?
I want to get the following JSON output to put into a php file.
[[0, 3], [4, 8], [8, 5], [9, 13]]
Thank you.
2010 Jul 13
0
RJSONIO install problem
Hi everybody
I am trying to install RJSONIO from source in on Mac OS X 10.5.8. I used the
Package Installer.
The message and sessionInfo is attached below
Can someone help me to understand the error message and maybe give hint
towards solving the problem
thanks in advance
Christiaan
Message:
The downloaded packages are in
2012 Mar 28
1
how to avoid farword slashes in RJSONIO output
Hi All,
I wanted know how to get RJSONIO output with out forward slashes? for
example:
"({\"total\":5,\"results\":[\n {\n \"id\": 1,\n\"name\": \"Monkey D
Luffy\",\n\"position\": \"Captain\",\n\"ambition\": \"I Will become the
pirate king\" \n},\n{\n \"id\": 2,\n\"name\":
2000 Aug 09
2
GenGC changes
As most R developers maybe are already aware of, R version 1.2.0
introduced a new `generational' garbage collector which means that
strings and vectors (and language objects) are handled differently from
the numerical atomic types.
>From ``Writing R Extensions'':
Earlier code was written in a style like.
VECTOR(dimnames)[0] = getAttrib(x, R_NamesSymbol);
2015 Jan 08
2
Testing R packages on Solaris Studio
I have setup a Solaris server to test packages before submitting to
CRAN, in order to catch problems that might not reveal themselves on
Fedora, Debian, OSX or Windows. The machine runs a Solaris 11.2 vm
with Solaris Studio 12.3.
I was able to compile current r-devel using the suggested environment
variables from "R Installation and Administration" and:
./configure
2007 Jun 28
1
How to set R_CStackLimit
Hi,
I have tried to disable stack checking by set R_CStackLimit to -1. However,
it always crashes my win32 multiple threads program. I am using R-2.5.0. My
code looks like:
#include <Rversion.h>
#if (R_VERSION >= R_Version(2,3,0))
#define R_INTERFACE_PTRS 1
#define CSTACK_DEFNS 1
#include <Rinterface.h>
#endif
and then, add below line to my main function:
R_CStackLimit =
2002 Oct 27
3
RODBC patchlet
[ Disclaimer: Yes, I do know that RODBC is in a state of minor limbo as far
as maintenance is concerned. But it is also useful, and used, which is why I
hope that someone might apply the small change outlined below. ]
The current version in CRAN's devel directories fails to build under R 1.6.1
(beta from Oct 27):
chibud:/home/edd/RODBC# R CMD INSTALL .
* Installing *source* package
2010 Aug 17
3
A question of install R packages
My R_version is 2.11.1.
I can?t install R packages.
The error massages are following:
package 'DBI' successfully unpacked and MD5 sums checked
error in normalizePath(path) :
path[1]="E:\R-2.11.1\library/DBI"??
--
View this message in context: http://r.789695.n4.nabble.com/A-question-of-install-R-packages-tp2327716p2327716.html
Sent from the R help mailing list archive at
2011 Jun 25
2
On .. glibc detected home/sguha/lib64/R/bin/exec/R: realloc(): invalid next size: 0x000000000209e210 ***
Hello,
I'm trying to use rjson to parse a JSON object. The object can be found here
http://pastebin.com/np0s5hgM
(you'll probably need to add quotes around the content)
fromJSON returns the error
glibc detected home/sguha/lib64/R/bin/exec/R: realloc(): invalid next
size: 0x000000000209e210 ***
Is there a fix coming soon? Maybe CRAN should also have an outstanding
bug field -
2010 Jun 09
2
Question on trying to build R 2.11.1 on Tru64(aka OSF1)
First I tried 'setenv R_SHELL /usr/local/bin/bash', as bash is the weapon
of choice for the faculty wishing to use R, then ran ./configure as before.
The ./configure output line
using as R_SHELL for scripts ... /usr/local/bin/bash
would seem to indicate that the R_SHELL environment variable was recognized
and acknowledged. However, I got the same build error:
gnumake[2]: Entering
2012 Jun 19
1
need help with unlist(), losing NULL values
Hi,
I have a very rudimentary kind of question on using unlist(). I am
parsing a bunch of JSON text using rjson package. Some data elements in
a dictionary happen to be null which rjson parses correctly.
> fromJSON(json_str='{"query":{"A":10, "B":null, "C":"hello"},
"query":{"A":20, "B":null,