Displaying 20 results from an estimated 800 matches similar to: "Exporting to Excel ( all versions )"
2008 Jun 13
6
Newbie question on has_many
I have two classes: a Widget and a User. The User has an id that is
referenced in two places on the Widget: owner_id and operator_id.
How should I structure that reference for has_many?
Thanks folks - I appreciate any help on this.
--David
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2008 Mar 10
6
Probably OT, but CSS Help?
Ok I know this is off topic, but since you guys are usualy so helpful,
I thought I''d try here first.
Building a Rails App and one of the things we''ve done is put a CSS
class of;
* {
font-family:"Lucida Grande",verdana,arial,helvetica,sans-serif;
margin:0pt;
padding:0pt;
}
Now the problem is that the padding setting, for one reason or another
is killing my select
2006 Aug 16
4
New Model Object from Existing Model Object
Hey Guys, need a hand again....
Lets say I have an Order... and an Order has Order Lines and Order_Lines
have Items...
I want to create a New Order, which would have New Order Lines with the same
Items...
Is there a fast / easy way to do this, w/o having to create a new order,
loop through all the order lines, and create them associating them with the
Items?
Any help would be great, thanks
--
2008 May 14
5
RailsConf vs. My MacBook's Battery. ( Power Outlet Availability )
So my Macbook''s battery sucks... and I''m thinking of grabbing a new
one, I''m curious how the availability of power outlets have been at
RailsConfs. For those who have gone before, was it hard to find an
outlet to plug into? Are they mindful of this?
I hope so.
Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because
2007 Feb 08
5
xlsReadWrite Pro and embedding objects and files in Excel worksheets
Hans-Peter and other R developers,
How are you? Have you made any progess with embedding Url's in Excel?
Well, I have been busy thinking of more things for you to do;)
My colleagues in the lab are not R literate, and some are barely
computer literate, so I give them everything in Excel workbooks. I have
gradually evolved a system such that these workbooks have become
compendia of my
2009 Dec 15
7
ZFS Dedupe reporting incorrect savings
Hi,
Created a zpool with 64k recordsize and enabled dedupe on it.
zpool create -O recordsize=64k TestPool device1
zfs set dedup=on TestPool
I copied files onto this pool over nfs from a windows client.
Here is the output of zpool list
Prompt:~# zpool list
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
TestPool 696G 19.1G 677G 2% 1.13x ONLINE -
When I ran a
2007 Aug 15
4
Is there a automatic counter variable?
Does ruby have anything where if I''m going through a do-while loop, or
a "3.times" loop or "for product in products" where there''s a variable
that will tell me which iteration of the loop I''m on? Instead of
havign to declare my own counter = 0 and then increment it each time?
Seems like something Rails would have... I can''t seem to find
2008 Nov 04
3
Nester Resources, Routes and Class Inheritance
Ok here''s a quicky... but a goody :)
We have models Company, Reference and Applicant... and References and
Applicants just inherit from Company, and are basically companies with
the type field set to reference...
All companies can have a phone number associated with them, and phone
number is a different model...
I''m having trouble using the form_for method with a company that
2006 Aug 16
5
validation on methods that aren''t part of the database.
using the Rails Recipes book, i went through the tutorial on setting up
authentication on a site. the tutorial was great, but it raises a few
questions.
the fields in the database are password_hash, and password_salt. the
tutorial creates another method for password that takes the value it was
given and hashes it and adds the 6 character salt at the end.
what if i want to perform validation
2010 Mar 22
0
WriteXLS - New Version 1.9.0
The updated package has been submitted to CRAN and has begun to propagate to CRAN mirrors.
Package: WriteXLS
Version: 1.9.0
Description: Cross-platform perl based R function to create Excel (XLS) files from one or more data frames. Each data frame will be written to a separate named worksheet in the Excel spreadsheet. The worksheet name will be the name of the data frame it contains or can be
2010 Mar 22
0
WriteXLS - New Version 1.9.0
The updated package has been submitted to CRAN and has begun to propagate to CRAN mirrors.
Package: WriteXLS
Version: 1.9.0
Description: Cross-platform perl based R function to create Excel (XLS) files from one or more data frames. Each data frame will be written to a separate named worksheet in the Excel spreadsheet. The worksheet name will be the name of the data frame it contains or can be
2011 Jun 14
3
Read in from multiple Excel wksheets
I?ve got an Excel workbook with about 30 worksheets. Each worksheet
has 10000 rows of data over 30 columns.
I?d like to read the data from each worksheet into a dataframe or
matrix in R for processing. Normally, I use read.csv when interacting
with Excel but I?d rather manipulate a multisheet workbook directly
than set about splitting the original workbook and saving down each
part as a csv.
2011 Jun 24
3
extract worksheet names from an Excel file
Hi list,
Is there a R function I can use to extract the worksheet names from an Excel file?? If no, any other automatic ways (not using R) to do this?
thanks!
...Tao
2012 Apr 20
1
odbcConnectExcel() fails to fetch all columns
Folks,
Is there a parameter somewhere in RODBC that enables more columns to be
retrieved from an Excel worksheet?
# This next bit uses an undocumented call in RODBC
z <- odbcConnectExcel("./BBaselinePtQaires_apr2011.xls")
BQ <- sqlFetch(z, "BBaselinePtQaires")
Gives me:
z RODBC[1]
And
BQ 134 obs. of 59 variables
I have all the rows in the worksheet but only the
2006 Jun 29
1
RCOM Package
Hi list,
I just installed the rcom package and tried to read/give out some values
from/to Excel. Altogether it works great... but nevertheless I don't know
how the syntax works or in other words: "Which command needs which
parameters?"
Is there somwhere a manual about this package with good examples? I've read
the Package description... but there are not really good
2006 Jun 29
1
before_destroy & verification
Hey, probably an easy question but,
I''m trying to get a method to run "before_destory" for a model, and I
want the method to throw an error, and not delete the object from the
database, if a certain condition is held
Obviously, I can just raise an error and rescue it... but for some
reason I can''t get <% error_messages_for ''model" %> to catch
2006 Oct 13
5
Insert NULL into MySQL "time" not 00:00:00
Ok I''m not sure what I''m doing wrong, but I have a table that holds a
bunch of times, however when I don''t fill in the text box that passes
it''s input on to the variables, rails defaults to 00:00:00, which is
bad, because that''s midnight.
I''m pretty sure I''m doing somethign wrong, and I''m even thinking of
using the
2007 Jul 08
1
Writing Excel (.xls) files on non-Windows OSs using Perl
Hi all,
There have been quite a few threads in the recent months pertaining to
the ability to directly write native Excel (.xls) files from R. For
example, exporting R matrices and/or data frames to an Excel file, with
perhaps the ability to create multiple tabs (worksheets) within a single
file, with one tab/sheet per R object.
There exists the xlsReadWrite package on CRAN by Hans-Peter Suter,
2004 Mar 02
2
Import range of cells from Excel
Dear all,
I would like to import a range of cells (e.g. F10:K234) from an Excel
worksheet to R. I have looked for documentation on RODBC and RDCOMClient but
I was not able to find enough information to solve my problem and all the
examples I have seen were dealing with an entire worksheet, not a range of
cells.
Thanks,
Jean-Noel
Jean-Noel Candau
INRA - Unit? de Recherches Foresti?res
2011 Jul 10
3
OpenOffice ods spreadsheets in R?
I would like to open OpenOffice (LibreOffice) .ods files in R. I've
tried the ROpenOffice package from omegahat, but unfortunately, the
read.ods() function attempts to use the values of the first column in a
worksheet as row names, and thus does not allow duplicates in there
(which, even more unfortunately, occur in my files). Also, the function
does not allow to forward any other