Displaying 20 results from an estimated 1000 matches similar to: "Can R work on very large of data?"
2004 Jul 09
3
Can R read data from stdin?
Is there anyway I can write a script which feed input datasource from stdin
and let R process it (maybe frequency report) then output the report to
stdout?
I can't seem to find much info on documentation or FAQ on this topic.
Thanks!
Soichi Hayashi
**********************************************************************
The information contained in this communication is
confidential,
2004 Aug 05
1
Using pipe for input data
Hi.
I have asked this question before and Aaron J. Mackey and Tony Plate gave me
some great insight but I still can't figure out how to do what I am trying
to accomplish. So let me ask again...
What I am trying to do is to make R read data from pipe (stdin).
Say I have following files on my directory
my.dat
apple 1
orange 2
grape 3
my.R
d <- read.table(
2012 Feb 24
3
Devise generates Mailer by its own?
Rails 3.1.3
Hi. I''m a little confused with Devise and ActionMailer.
It seems that Devise has its own way of sending mails through
ActionMailer.
Does it generate Mailer class when "rails g devise..." command is
executed?
Or do I need to do some special command in order to generate Mailer?
I have certainly set up a devise User table but there is no Mailer class
for it,
2013 Jan 07
2
plot x-axis DateTime NOT evenly spaced
R-64 latest
Hi. I am trying to plot a set of csv data, which looks like
> head(interval)
date inteval
1 2012-07-01 00:57:54 +0900 156
2 2012-07-01 01:07:41 +0900 587
3 2012-07-01 01:09:31 +0900 110
4 2012-07-01 01:18:42 +0900 551
5 2012-07-01 01:39:01 +0900 1219
6 2012-07-01 01:40:40 +0900 99
as you can see, more than one event happens each day,
2013 Apr 27
4
required field for one, optional for another
rails 3.2.11
My app has User model, its one of the fields is entrepreneur:boolean.
So users have two types; one is normal users, the other is professional
users.
For normal users, only emails and usernames are required and other
fields are optional.
For professional users, in addition to above, addresses and real names
are required.
Is there any Ruby way to set the requirement depending on the
2012 Oct 13
4
Database design, working but looking for better ways
Rails 3.1.3
Hi. I have designed the database used for my travel plan application.
You should be able to look at the diagram in the link below, hopefully.
https://cacoo.com/diagrams/biDSyxh8yzk2kIeg
("belongs_to" is omitted since it''s obvious)
Basically, the application can list the destinations from a choice of
the departure.
Not mention that the departure_id (integer) and
2012 Feb 22
3
Parent id for find_or_create method
Rails 3.1.3
I have tables, Video and Script having association,
Video 1 --- n Script
So, every Script needs the parent id, in this case, video_id.
If I simply create a new Script instance, the view renders as follows.
<%= render :partial => "new_script", :locals => { :script =>
Script.new(:video_id => @video.id)} %>
which works fine. Now I would like to
2012 Aug 25
2
cannot bundle install due to missing therubyracer
ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux]
rails 3.1.3
Ubuntu 10.04 LTS
I have another environment with MacOSX Snow Leopard, and am sharing the
Rails project files through Dropbox.
When I chose to develop a project further in this Ubuntu machine, I have
executed ''bundle install'' which gave an error
#---------
Gem::Installer::ExtensionBuildError: ERROR: Failed to
2012 Nov 30
4
Tokeninput incremental search not working
Rails 3.1.3
After watching
http://railscasts.com/episodes/258-token-fields?autoplay=true
I have installed the similar functionality to my app.
However,
def index
@cities = City.all
...
does in fact give the list of all cities in the text field, but
def index
@cities = City.where("name like ?", "%#{params[:q]}%")
...
does NOT
2012 Mar 02
2
Change DB data type and limited decimals
Rails3.1.3
I have db type,
startp:integer
I need to change it to float. More specifically,
1.2, 45.1, 143.8 ...
I have two questions:
1. Is removing and adding the field through migration the only way?
in other words, is there a single command to change the type?
2. Is there anyway to limit the decimal place to only one?
56.3, 34.2... are acceptable, but 23.112, 77.34, ... are
2012 Nov 12
7
RSpec: controller POST create
Rails 3.1.3
rspec-rails (2.11.4)
rspec 2.11.1
I am new to rspec. I don''t quite understand tests for POST create part.
I have generated scaffold, and simultaneously it generated
controller_spec.rb as well.
it "assigns a newly created plan as @plan" do
post :create, {:plan => valid_attributes}, valid_session
assigns(:plan).should be_a(Plan)
2013 Jun 03
1
sidekiq: push background results to front
Rails 3.2.11
Sidekiq latest
My app continues background jobs that generate texts as the output.
class ProcessText
include Sidekiq::Worker
def perform(name, count)
puts "executing..."
@feed = Feed.first
@feed.process # here it returns String results!
end
end
What I want is basically how to send (or push?) the result texts to a
particular web
2012 Sep 23
2
Find by id in the view template dynamically
Rails 3.1.3
I have a model ''Airline'', whose STRING column is ''company'' only.
Also, another model ''Plan'' has an INTEGER column ''airline_id''.
I would like to show the ''company'' name (string) in a template like
<% @plans.each do |plan| %>
Airline: <%=
2012 Jan 27
4
Redirecting to create new page with input
Rails 3.1.3
I believe this is a very very fundamental question, but since I am new
to Rails, it''s more productive to ask someone to point out what I need
to do.
Say, I have a search method that generates a list of youtube videos. I
have completed this part.
And also, I have set up a database, Video, whose fields are video_title
and URL.
I need to place a button to each of these video
2012 Feb 07
2
save method (create action) saves twice
Rails 3.1.3
I have changed a regular scaffold action a bit so that it can save using
ajax.
All I needed to do was adding ":remote => true" in
<div id="script_new">
<%= form_for script, :remote => true do |f| %> <!-- HERE!!! -->
<%= f.hidden_field :video_id %>
<%= f.text_field :text %>
<%= f.submit "save" %>
2012 Oct 03
1
distinguishing input objects for a function
platform x86_64-apple-darwin9.8.0
arch x86_64
os darwin9.8.0
system x86_64, darwin9.8.0
version.string R version 2.13.1 (2011-07-08)
I am trying to write a function that takes a few objects as input.
test <- function(directory, num = 1:100) {
> }
the argument, "num", has the default value. But when the function is
called, it can take an array
2012 Sep 10
2
suggestion for user-friendly input: typeahead
Rails 3.1.3
I am hoping some of you may give me suggestions about user input helper
methods.
I have a large set of model, Flight, and its fields are
airline, flight_name, departure, destination
As you can imagine, the flight data will be very large; it could be
thousands if it is international.
I will ask users to input the desired flight plan, and it will be
crucial if the users make
2004 Jul 19
2
SSLeay
Could someone tell me where i can download the latest version of SSLeay. I
have tried the following sites:
* <ftp://ftp.psy.uq.oz.au/pub/Crypto/SSL/>
* <ftp://ftp.uni-mainz.de/pub/internet/security/ssl>
* <ftp://ftp.cert.dfn.de/pub/tools/crypt/sslapps>
* <ftp://ftp.funet.fi/pub/crypt/mirrors/ftp.psy.uq.oz.au>
* <ftp://ftp.sunet.se/ftp/pub/security/tools/crypt/ssleay>
2012 Sep 22
1
formtastic does not save at all
Rails 3.1.3
I am using Formtastic gem in order to deal with multi-select
dependencies.
<%= semantic_form_for(@give) do |f| %>
<%= f.inputs do %>
<%= f.input :departure,
:collection => Departure.find(:all, :order=>:city).collect{ |c|
[c.city,c.id]},
:required=>true %>
<div id="destinationCity">
<%= render :partial =>
2020 Oct 28
2
dovecot quota-warning detection mail
Morikawa-san,
Your conf is wrong.
Should be:
quota_warning = storage = 95 %% quota-warning 95 %u
Your conf:
quota_warning = storage = 95 %% quota-warning 95% u
There's a space between % and u.
First of all, try the above and let us know if it changes.
Kouga
-----Original Message-----
From: ????? <morikawa-k6 at itec.hankyu-hanshin.co.jp>
Sent: Wednesday, October 28, 2020