Displaying 20 results from an estimated 1000 matches similar to: "RJSONIO install problem"
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
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
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,
2013 Oct 16
1
Extract a predictors form constparty object (CHAID output) in R
I have a large dataset (questionnaire results) of mostly categorical
variables. I have tested for dependency between the variables using
chi-square test. There are an incomprehensible number of dependencies.
I used the chaid() function in the CHAID package to detect
interactions and separate out (what I hope to be) the underlying
structure of these dependencies for each variable. What typically
2011 Jun 01
3
Identifying sequences
Hallo Everybody
Consider the following vector
a=1:10
b=20:30
c=40:50
x=c(a,b,c)
I need a function that can tell me that there are three set of continuos
sequences and that the first is from 1:10, the second from 20:30 and the
third from 40:50. In other words: a,b, and c.
regards
Christiaan
[[alternative HTML version deleted]]
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,
2009 Jan 14
2
runs.test in by() statement
Hi everybody
I am a recent convert from SAS so please excuse me if this is all very
obvious:
I want to use the runs test {runs.test() in package tseries} to test the
randomness of a certain variable in a survey for each interviewer. I tried
to us the by() statement but it doesn't seem to work with runs.test() as the
function.
Here is what I have: Consider a data frame with two variables and
2009 Jun 10
2
isolating Hour and minute form date and time
Hi everybody. I have a dataframe that contains a factor with the date
information in the format like in the example below:
"2009/05/12 11:22:31 AM"
I have been able to convert it to POSIXt using strptime
Now I want to print only the date as one vector and the time in another
vector but they must be real date and time classes so that i can use them in
calculations
to reconstruct my
2009 May 14
4
Duplicates and duplicated
Hi everybody.
I want to identify not only duplicate number but also the original number
that has been duplicated.
Example:
x=c(1,2,3,4,4,5,6,7,8,9)
y=duplicated(x)
rbind(x,y)
gives:
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10]
x 1 2 3 4 4 5 6 7 8 9
y 0 0 0 0 1 0 0 0 0 0
i.e. the second 4 [,5] is a duplicate.
What I want is
2010 Dec 16
1
Is there a join() function in R ? OR: simulating "Combining ggplot2 and Google Maps" by David Kahle
Hi everybody
Im on R version 2.11.1 on Mac OS X
I am working through David Kahle's example of using ggplot2 with Rgooglemaps
(found here:
https://github.com/hadley/ggplot2/wiki/Crime-in-Downtown-Houston,-Texas-:-Combining-ggplot2-and-Google-Maps).
Excellent page by the way. I have downloaded the data and the code and want
to learn how to do this by first simulating David's results and
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\":
2011 Aug 12
1
Extract named regions from an Excel file using XLConnect?
Hi Everybody
In R, the XLConnect package can read and write named region to and from
Excel. In order to read a named region with the readNamedRegion function you
need to know it's name. You can check is a name exists with existsName, but
you still have to know the name. Is there a way to actually get a list of
the named regions in XLConnect sinilar to getRanges in the xlsx package.
On that
2009 Jun 10
1
by and by: using two indices in by() or tapply()
Hi everyone
I want to apply a function by two indices.
I have a number of surveyors submitting questionnaires. I want to check the
time of the first submission for the day for each surveyor and also see a
NA is no submission was done on a particular day.
This generates a sample of the data:
2011 Mar 14
1
Math characters in column heading using latex() in Hmisc
Hi Everybody
I want to print a latex table containing math characters in the column
heading
These are the formulae I want to use as column headings. It prints OK from
TeX
$\sum_{i}\sum_{j}C_{P,i,j,y}\times\mathit{FC}_{i}$, $XU_{alt,y}$, $n$,
$\bar{C}_{P,y}$
My plan was to create a character vector with these and later rbind the
values to them. When I create the vector like:
2009 Oct 07
1
merging dataframes with an unequal number of variables
Hallo Everyone
I have the kind of problem that one should never have because one must
always plan well and communicate with your team. But now I haven't so here
is my problem.
I have data coming in on a daily basis from surveys in 10 towns. The
questionnaire has 62 variables but some of the regions have used older
versions of the questionnaire that have a few variables less. I want to
combine
2011 Jan 21
5
User input in R program
HI Everybody
Does anyone know of documentation about different ways of obtaining user
input in R. I have used readline() but I wondered is there are sophisticated
packages that does things like validate answers or generate selection
lists.
bets regards
Christaan
[[alternative HTML version deleted]]
2012 Aug 07
2
Passing arguments to a function within a function ...
Hallo Everybody
How do you specify arguments for a function used within another function?
Here is my problem:
I am reconstructing a calculator for the burden of disease due to air
pollution from publications and tools published by the WHO. The
calculations make use of published dose-response relationships for
particular health end-points. This is then applied to populations with
known or
2009 Oct 27
0
Installing RPostgreSQL from source on Mac OS X
Hi Everybody
I use R2.9.2 on Mac OS X 10.5.2. I tried to install RPostgreSQL from source
on CRAN via the package installer. Apparently the program cannot find my C
compiler gcc . Here is the output message
trying URL '
http://cran.za.r-project.org/src/contrib/RPostgreSQL_0.1-6.tar.gz'
Content type 'application/x-gzip' length 141399 bytes (138 Kb)
opened URL
2011 Jul 27
2
Use a list to 'transport' a collection of data sets and results
Hi Everybody
I need to "transport" some data and results to use another application
(Sweave via LyX - where debugging is very difficult) in order to build a
report.
Is it possible to store a collection of variables of different types (like
named integers, matricies, data frames and two lists) all in one list and
save it and then simply load it again later and "unpack" the
2009 Oct 20
1
RPgSQL installation problem
Hi everybody
I am trying to install RPsSQL and get the following error message:
When I do ./configure form the untarred source directory I get
loading cache ./config.cache
checking for crypt in -lcrypt... no
No crypt function found
When I use the Package installer in R I get
install.packages("/Users/christiaanpauw/tmp/RPgSQL/", , NULL, type =
"source")
Warning in