similar to: Error when creating table "left" in migration

Displaying 20 results from an estimated 4000 matches similar to: "Error when creating table "left" in migration"

2006 Oct 13
3
Need help with barplots
I`ve read all the manuals and still couln`t find what is the difference between the stacked and side-by-side barplots ? Could you explain me ? [[alternative HTML version deleted]]
2015 Nov 07
3
Heads up on syslinux breakage in Ubuntu
On 07/11/15 19:38, Ady via Syslinux wrote: > >> >> Just a heads up that syslinux is broken in the current Ubuntu, syslinux >> just shows "Boot error". Downgrading to syslinux from 15.04 works perfectly. >> >> Ubuntu bug is here: >> https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/1499746 >> >> This is mostly in case anyone
2002 Jul 17
2
Problems with make pdf (R-patched_2002-07-15.tar.gz)
After configure, make and make check on a linux Suse 7.3 box, I run make dvi and make info with no problems but get a lot of garbage to my screen during make pdf. Is this normal? Is there a bug in this part of the installation? This is part of what I get on the screen: humboldt:/usr/local/R-patched # make pdf make[1]: Entering directory `/usr/local/R-patched/doc' make[2]: Entering
2005 Dec 22
3
reading long matrix
Hi, I'm needing some help finding a function to read a large text file into an array in R. The data are essentially presence / absence / na data for many species and come as a grid with each species name (after two spaces) at the beginning of the matrix defining the map for that species. An excerpt could therefore be: SPECIES1 999001099 900110109 011101000 901100101 110100019 901110019
2008 Mar 04
1
Plot with two different coloured regression lines and legend
It is a trivial problem, but in the book I couln`t figure out how to put different colours at different regression lines plot(bif,abund,type="n", xlab= "number_bifurcations", ylab="abundances") sbif<-split(bif,stage) sabund<-split(abund,stage) points(sabund[[2]],sbif[[2]],pch=16, col="red") for(i in 1:2) abline(lm(sabund[[i]]~sbif[[i]])) Thanks in
2006 Mar 17
2
domain users appear as local to samba
Hello, I have a samba server (3.0.21c) that gets its UNIX user info from nss_ldap. It acts as an ADS member server (the UNIX usernames match the ones in the Windows domain). Simple usage works fine: if I log in on a Win client as DOMAIN\user then I can map a drive on \\samba\user and read/write and so on. However if I look up the security properties of a file in \\samba\user, the owner shows up
2006 Apr 03
2
HABTM migrations
Bad rails day for Matt- In a migration, for a habtm: create_table :teams_users do |t| t.column :team_id, :integer t.column :user_id, :integer end Ok, fine. In a controller (well really a migration script): @user.teams << Team.find( 3 ) And the SQL pumped at my server is: INSERT INTO teams_users (`team_id`, `id`, `user_id`) VALUES (3, 3, 34) Which
2006 Apr 03
5
Is old school STI broken? How would you do the same now?
So this new STI :through thing is still not clear to me. I have a project now where I''m using this: class List < ActiveRecord::Base belongs_to :user end class StaticList < List has_and_belongs_to_many :items end In the script/console: >> StaticList.create NameError: uninitialized constant StaticList What? ok, fine. So a List.create would be in
2005 Jul 13
3
nlme, MASS and geoRglm for spatial autocorrelation?
Hi. I'm trying to perform what should be a reasonably basic analysis of some spatial presence/absence data but am somewhat overwhelmed by the options available and could do with a helpful pointer. My researches so far indicate that if my data were normal, I would simply use gls() (in nlme) and one of the various corSpatial functions (eg. corSpher() to be analagous to similar analysis in SAS)
2007 Jan 26
2
Using functions within functions (environment problems)
Hi everyone, I've been having difficulty writing wrapper functions for some functions where those same functions include other functions with eval() calls where the environment is specified. A very simple example using function lmer from lme4: lmerWrapper <- function(formula, data, family = gaussian, method = c("REML", "ML", "PQL", "Laplace",
2003 Jun 16
1
Problem when making refman.pdf on WinXP (R 1.7.1)
Dear R-help, Can some one tell me what could be the problem? I downloaded the R-1.7.1 source and try to compile it on WinXP. "make", "make bitmapdll", "make tcl", "make recommended" all ran w/o problem. However, when I ran "make docs", it failed at creating refman.pdf, with no apparent error that I could see. I have attached the log file
2001 Jun 29
3
Fail to build R (PR#1005)
Full_Name: Ziying Sherwin Version: 1.3.0 OS: Solaris 2.8 Submission from: (NULL) (130.14.31.32) We tried to install R on our Sun Solaris 2.8 machine using gcc 3.0. During the compilation, we got error messages like: gcc -I. -I../../../src/include -I../../../src/include -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c sockconn.c -o sockconn.o gcc -shared -o internet.so Rsock.o internet.o
2010 Sep 09
9
Will a Quad-core i5 processor significantly speed up development on Linux or Mac?
I am looking at getting a new Thinkpad with an i5 processor. I was curious to what extent this would speed up developing a Ruby on Rails app. I am guessing that this depends to what extent multi-threading is utilized, but I am not sure---hence the question :^) If it is not that significant, my other choice would be to get a used Thinkpad or Mac Pro, duo-core. So is there a significant
2007 May 01
2
Concepts question: environment, frame, search path
Folks: I'd appreciate if someone could straighten me out on a few concepts which are described a bit ambiguously in the docs. 1. data.frame: ---------------- Refan p84: 'A data frame is a list of variables of the same length with unique row names, given class "data.frame".' I probably don't need to point out how opaque that is! Anyhow, key question: Some places in
2006 Apr 07
2
MSSQL activerecord uses bad syntax
Hi all, I''m trying to get rails up on mssql for a friend, does anyone have experience? We''re working on a Windows XP box with MSSQL 2000 (no service pak), and both rails (1.1) and MSSQL are on the same box. I''m running into a bug (I think) where activerecord is using this syntax: SELECT TOP 1 * FROM users WHERE (users.user = ''jbgnuumnbu'')
2007 Jan 10
1
Compiling R-devel under Windows
Hello there, I have a habit of compiling R-patched and R-devel every few days. Recently, I noticed the following problem: I downloaded both versions with Revision: 40421, Last Changed Date: 2007-01-09. R-patched compiles with no problem. R-devel compiles fine but when it starts to make PDF documentation it generates the following (tail of the "make distribution" output): ! pdfTeX
2007 Aug 31
1
compiling R-devel
Hello. I am in a habit of compiling daily snapshots of R-devel and R-patched on my Windows XP workstation. I have cygwin environment with up-to-date RTools and MiKTeX. I run cygwin and MiKTeX upadaters pretty often (every couple of days) so both of them are reasonably current. Recently I noticed a small annoyance when compiling R-dvel. It started happening right after I updated to the new
2015 Mar 30
1
mysql can't connect from localhost -strange behavior
> > mysql> FLUSH PRIVILEGES; Yup! That was it. Thanks for the reminder! :) Tim On Mon, Mar 30, 2015 at 12:15 AM, Steven Tardy <sjt5atra at gmail.com> wrote: > > > mysql> grant all privileges on ftp.* to 'proftpd'@'localhost' > identified by > > 'testpattern'; > > Query OK, 0 rows affected (0.35 sec) > > mysql> FLUSH
2011 Mar 23
3
Compare three or more values?
Is there a less cryptic way to compare three or more values? allTheSame<-c("red","red","red","red") notAllTheSame<-c(132,132,132,999) all.identical <- function(vectorToTest){ cIdentical=sum(vectorToTest %in% vectorToTest[1]) return(cIdentical==length(vectorToTest)) } all.identical(allTheSame) all.identical(notAllTheSame) Thanks in
2006 Apr 03
4
STI Broken on 1.1
Yeah I''m getting major problems as well. I don''t know what the issue is but I''m thinking of going back to 1.0 I would really like to hear if you figure this out, kind of an important part of Rails for us. -Paul -------------- next part -------------- An HTML attachment was scrubbed... URL: