Displaying 20 results from an estimated 3539 matches for "foreign".
2009 Sep 28
5
Multi-databases support
Hi,
While I was hacking ovirt-server, I have found that it's currently
restricted to Postgres DB. Even if I like postgres for serious work on a
server, I really prefer to hack/dev locally on a Sqlite or MySQL DB.
I have googled on rails in order to find a good answer for the "foreign
key problem" which forces OVirt to stay on pg. I have found a plugin on
this particular problem, named foreigner :
http://github.com/matthuhiggins/foreigner
It provides a rails' syntax to common operation on them. For instance :
add_foreign_key(from_table, to_table, options)
remo...
2011 Sep 20
2
Converting ID Numbers to Unique ID Number
First off, let me apologize for the elementary question. I'm obviously a
novice.
Here's a stripped version of my problem.
March
foreign id = 1234, my id = 1
foreign id = 1235, my id = 2
foreign id = 1236, my id = 3
So we are adding new people for April, and things don't necessarily come in
order:
April
foreign id = 1236
foreign id = 5000
foreign id = 1234
foreign id = 1235
foreign id = 7777
I need to create a vector of my o...
2006 Oct 12
1
Problems with package foreign (r-cran-foreign)
On 12 October 2006 at 13:02, Gregor Gorjanc wrote:
| Hello!
|
| I encounter the following problem when I try to load package foreign
|
| library(foreign)
| Error in dyn.load(x, as.logical(local), as.logical(now)) :
| unable to load shared library '/usr/lib/R/library/foreign/libs/foreign.so':
| /usr/lib/R/library/foreign/libs/foreign.so: undefined symbol:
| Rf_allocString
| Error: package/namespace load failed for ...
2009 Mar 06
1
Fix for foreign package segfault on Solaris 10 Intel
Like a couple of other posters in the past year, I was seeing R 2.8.1
segfault in the foreign package on my Solaris 10 Intel system:
> library(foreign)
*** caught segfault ***
address fe1d5c70, cause 'invalid permissions'
Traceback:
1: .C("spss_init", PACKAGE = "foreign")
2: fun(...)
This happened whether...
2006 Oct 24
2
Unable to load foreign after upgrade on ubuntu
...The version that is in the ubuntu
repos is 2.2.1, so I decided to upgrade by adding
deb http://cran.R-project.org/bin/linux/ubuntu dapper/
to my sources.list, as advised on the web page. After sudo apt-get
update and upgrade, I have version 2.3.1. However, when I try to load
the library 'foreign', I get the following error:
Error in dyn.load(x, as.logical(local), as.logical(now)):
Unable to load shared library
'/usr/lib/R/library/foreign/libs/foreign.so':
/usr/lib/R/library/foreign/libs/foreign.so: undefined symbol: isfinite
Error: package/namespace load failed for 'forei...
2004 Sep 24
2
rw2000dev: problems with library(foreign)
I get the following
> library(foreign)
Error in namespaceExport(ns, exports) : undefined exports: write.foreign
Error in library(foreign) : package/namespace load failed for 'foreign'
with rw2000dev as of (2004-09-17
Kjetil
--
Kjetil Halvorsen.
Peace is the most effective weapon of mass construction.
--...
2006 Oct 12
1
Installation fails on FreeBSD (PR#9293)
...). During the make, the following error message is generated.
<snip>
Formats: text html latex example
>>> Building/Updating help pages for package 'tcltk'
Formats: text html latex example
building/updating package indices ...
begin installing recommended package foreign
* Installing *source* package 'foreign' ...
eval: ./configure: Permission denied
ERROR: configuration failed for package 'foreign'
<snip>
The problem seems to occur when the following command is executed.
MAKE="make" R_LIBS= ../../../bin/R CMD INSTALL --no-lock -l...
2006 Jan 13
4
missing foreign key fields in scaffold views
Is there any reason that foreign key fields do not show in any of the
scaffold views ?
project table:
id serial primary key,
category_id integer,
user_id integer,
name varchar,
morestuff varchar
foreign key (category_id) references categories(id),
foreign key (user_id) references users(id)
scaffold generated views only show nam...
2006 Jun 21
1
Migration with foreign key won''t work
Hi all
I use the plugin which supports foreign keys with migrations:
http://wiki.rubyonrails.org/rails/pages/Foreign+Key+Schema+Dumper+Plugin/versions/12
I have created the following migration file:
class AddArtistsTable < ActiveRecord::Migration
def self.up
create_table :artists, :force => true do |t|
t.column :name, :stri...
2009 Jan 03
1
Bug report in foreign library (PR#13425)
here appears to be a bug in the foreign library. The following code used to
work, but now generates an error when 'package="SAS"' is specified:
ds <- read.csv("http://www.math.smith.edu/sasr/datasets/help.csv")
# running foreign package version 0.8-30
library(foreign)
# this works fine
write.foreign(ds, &...
2004 Apr 23
2
make fails with Sun Forte compiler (PR#6815)
...t;-xlic_lib=sunperf"
Is there a simple way to specify that in config.site? Anyways, that's probably
not the problem that I'm having, but if you have any advice...
Here's the real problem, make fails at:
MAKE="make" R_LIBS= ../../../bin/R CMD INSTALL -l ../../../library foreign.tgz
* Installing *source* package 'foreign' ...
checking for gcc... make[3]: Entering directory `/tmp/R.INSTALL.8673/foreign'
cc -xarch=v8plusa
make[3]: Leaving directory `/tmp/R.INSTALL.8673/foreign'
checking for C compiler default output... configure: error: C compiler cannot
crea...
2005 Apr 18
3
Install problem on Solaris 9
I'm trying to install R-2.0.1 on Solaris 9 and I'm receiving the
following error messages during make.
begin installing recommended package foreign
make[2]: *** [foreign.ts] Error 1
make[2]: Leaving directory
`/opt/net/source/R-2.0.1/src/library/Recommended'
make[1]: *** [recommended-packages] Error 2
make[1]: Leaving directory
`/opt/net/source/R-2.0.1/src/library/Recommended'
make: *** [stamp-recommended] Error 2...
2013 Mar 19
1
flac 1.3.0pre2 pre-release
...isable-static
> --disable-dependency-tracking --disable-debug --enable-sse --disable-3dnow
> --disable-altivec --disable-doxygen-docs --disable-xmms-plugin
> --enable-cpplibs --enable-ogg
>
> *make fullcheck:*
> This test fails with 'test_flac.sh':
>
> Testing --keep-foreign-metadata...
> round-trip test (wacky1.wav) encode... NOTE: --keep-foreign-metadata is a
> new feature; make sure to test the output file before deleting the original.
> decode... NOTE: --keep-foreign-metadata is a new feature; make sure to
> test the output file before deleting the orig...
2006 May 25
24
Make these a prt of Ruby on Rails!
3 things that should be part of the main Rails tree:
http://www.redhillconsulting.com.au/rails_plugins.html
Views?
--
Posted via http://www.ruby-forum.com/.
2008 Jan 24
1
package 'foreign'
Hi Everybody,
I need to install the R-package 'foreign'. However, when I try the
standard install.packages('foreign') I get the following error
message:
" package 'foreign' is not available in: install.packages("foreign") "
The funny thing is, that I am using an Ubuntu Gutsy system and the
foreign package shou...
2017 Oct 10
2
Cannot install igraph package
...;tcallawa at redhat.com> wrote:
>
> On 10/09/2017 11:16 AM, Paul Smith wrote:
>>
>> I am trying to install
>>
>> igraph package
>>
>> but getting the following error:
>>
>> ------------------
>> make: *** [/usr/lib64/R/etc/Makeconf:159: foreign-graphml.o] Error 1
>> ERROR: compilation failed for package ?igraph?
>> * removing ?/usr/lib64/R/library/igraph?
>> ------------------
>>
>> Any ideas?
>
> Need to see a lot more logs, specifically, the items before that Error
> occurs.
Thanks, Tom. Below, yo...
2002 May 01
2
R-1.5.0: compiling package foreign on WinNT failed
Dear R-help,
I was able to build R-1.5.0 on WinNT w/o problem (actually it seems easier
than previous version). However, I encountered problem when trying to
compile the recommended package foreign:
make: Entering directory `/cygdrive/g/rbuild/R-1.5.0/src/gnuwin32'
make DLLNM= FLIBS="-lg2c -lRblas" BUILD=MINGW \
-C G:/Rbuild/R-1.5.0-recommended/R.INSTALL/foreign PKG=foreign
RHOME=g:/rbuild
/R-1.5.0 RLIB=g:/rbuild/R-1.5.0/library \
-f g:/rbuild/R-1.5.0/src/gnuwin32/MakePkg...
2011 Nov 28
29
Lack of foreign-key constraints support in ActiveRecord
Is there any reason why AR has never supported foreign-key constraints?
I can understand the lack of support for triggers and stored procedures
since they are highly dependent on the database to create a wrap API
around them. But this is not the case for foreign keys.
This is specially important for open-source projects like
Redmine/Chiliproject a...
2005 Apr 23
1
RCMD check error windows
Dear Lister,
I am working with Windows XP and R 2.1.0 and can check and build
home-made packages easily (just *.r, *.rmd, *.rda files, no compiled
code). However for some reasons, I cannot check or build the package
'foreign' from the source (I took it as an exercise...). After some
lines of sentences OK (here omitted and replaced by ...), I get a
message like this:
RCMD check foreign
...
installing R.css in 'C:/R/rw2010/src/library/foreign.Rcheck'
-------Making package foreign-------------------
adding...
2006 May 17
2
Association data clobbering (foreign keys too?)
...so my Model A has a habtm collection of Bs *plus* a direct belongs_to
link to one B (and vice versa).
So
a = A.find(:first)
b = a.bs.first
a2 = b.a
might not give me back a, because b''s direct belongs_to a reference is
clobbered with the reference from the join table a_b (because the
foreign keys have the same name)?
Or does this only apply to non foreign key attributes?
There are no such problems if I''d make a_b a join model and have no
habtm, but a has_many :through instead?
What other options to circumvent this problem do I have (besides
renaming the foreign keys eithe...