Tagged Questions
1
vote
1answer
34 views
How to use bioconductor from rpy2?
I'm trying to use bioconductor (Specifically seqLogo) from rpy2. I found the helpful package:
http://pythonhosted.org/rpy2-bioconductor-extensions/index.html
however when I try this from the ...
0
votes
0answers
9 views
rpy2 windows Unable to unlink tempfile
I'm using Python 3.3, R-3.0.1, Win7-64. I'm getting an "Unable to unlike tempfile" in rpy2.robject (ln 48). Looking at it, some other process (presumably R) has hold of the file when Python is ...
0
votes
1answer
46 views
R system call returning stdin without escape characters
EDIT: This question was poorly thought out. My issue is actually with simply trying to display the text via shiny - not storing it. Somedays you just don't think clearly.
I have a python script that ...
0
votes
1answer
20 views
Rpy2: How to convert list of dictionaries to R data frame
I have a Python list of dictionaries as follows (coming from a sqlite3 row factory):
obs = [{'ave': 0.027, 'pap': 0.277},
{'ave': 0.29, 'pap': 0.333},
{'ave': 0.25, 'pap': 0.5}]
I would like to ...
1
vote
0answers
42 views
Rserve v.s. rpy [duplicate]
I am working on a project pretty reliant on the use of statistics. It is mainly in Python, but I would like to use some bits of R in it, even if I am not well-off with R syntax and data structures. ...
0
votes
1answer
51 views
dictionary-based keyword categorization
I'm pretty new to programming and have been pretty enthralled by its power so far. In this vein, there was a problem I had in which have a dataset in which one of the variable is a commodity name: ...
2
votes
2answers
58 views
What is the best way to read the ith column of a csv file with Python?
I am used to R which offers quick functions to read csv files column by column, can anyone propose a quick and efficient way to read large data (csv for example) files in python? the ith column of a ...
-2
votes
0answers
86 views
Best language and libraries for a betbot [closed]
I've written a betbot for BetFair in C# but it uses only simple algorithms to decide which matches place a bet on. Now I want to base the decisions on math (statistics) and machine learning (BetFair ...
5
votes
3answers
122 views
Get often occuring string patterns from column in R or Python
I have a column of string names, and I would like to find often occuring patterns (words).
Is there a way to return, say, strings with a higher (or equal) length than X, and occur more often than Y ...
2
votes
1answer
74 views
How to draw routes in open street maps using Python/R?
I have data in the form of lattitude and longitude co-ordinates. I want to plot a route for those co-ordinates in OSM using either Python or R. Can somebody tell me where can I begin? I've not worked ...
0
votes
1answer
55 views
Plotting color pattern graph
I know Stack Overflow is not a code writing service, but I am really stuck with this one and I have no clue how I can draw a map like this:
Where the color code is based on the p-value; the smaller ...
1
vote
1answer
37 views
Python calling plot from R script, plot does not stay [duplicate]
I am using Python which calls a plot from R. Python issues the Rscript command. Everything works, except that the plot instantly disappears.
I tried several things on the R side:
par(ask=TRUE)
...
0
votes
1answer
34 views
How to use python to score large file: alternatives to `exec`
I'd like to score very large files using models built in R.
The idea is to extract the actual predictor equation from the R model object and define a python string containing the equation.
The ...
0
votes
1answer
25 views
Is there any Python equivalent of R's biglm?
I have used biglm in R and found it very useful. Now I need the same type of functionality in python. Any ideas? I have seen that patsy/statsmodels has an incremental mode, but have not been able to ...
1
vote
1answer
26 views
How do I change the version of R that Sage integrates with?
I'm on a Mac OSX 10.8.3 and running Saga 5.9. Sage uses R 2.15.2 as its default version of R, whereas in RStudio where I do most of my statistical work, I use R 3.0.1 (newest version), but Sage ...