Displaying 7 results from an estimated 7 matches for "soders".
Did you mean:
coders
2005 Dec 31
6
habtm recursion via destroy_without_callbacks
I am having a problem with two models that each have a HABTM
relationship to the other. For example:
CREATE TABLE people (id INT, name TEXT);
CREATE TABLE teams (id INT, name TEXT);
CREATE TABLE people_teams (person_id INT, team_id INT);
The person model has:
has_and_belongs_to_many :teams
And the team model has:
has_and_belongs_to_many :people
The trouble comes when trying to destroy
2010 Apr 26
3
Sweave
Hi everybody,
I wanted to use Sweave but I do not have the Latex package:
"LaTeX Error: File 'Sweave.sty' not found."
I cannot find it with MiKTeX :-(
Can somebody help me ?
Thanks a lot,
Jimmy
[[alternative HTML version deleted]]
2010 Aug 18
4
dimnames
Hi everybody,
I wanted to name a column vector (a variable).
This is what I did :
try<-matrix(1:4,nrow=4,ncol=1)
attr(try,"dimnames")<-list(NULL,"true value")
Is it OK ?
Thanks for your help,
Jimmy
[[alternative HTML version deleted]]
2010 Apr 26
2
seed
Hi everybody,
How can I set the seed for my simulations ? Is "set.seed(123456)" alright ?
Thanks a lot,
Jimmy
[[alternative HTML version deleted]]
2018 Feb 02
6
Allowing non-root users to reboot a workstation
I would like to be able to allow regular users that don't have admin
privileges to be able to reboot their workstation. (they're software
developers so rebooting their workstation doesn't affect anybody else)
I tried changing the ownership of /sbin/reboot and /sbin/shutdown to
root:users and permissions to 550, but that didn't work - it's still asking
for root privileges.
2010 May 18
2
Sweave counter
Dear R users,
I am using the Sweave package and I am doing some MCMC. I have a loop
function for my MCMC. Every 100 iterations, I want the number of iterations
already done to appear on my screen (but not on the final document). Is that
possible ?
Usually I can rely on
> if (i%%100==0) cat(i, "\n")
but not when using Sweave.
Thanks for your help,
Jimmy
[[alternative HTML
2010 Jun 02
2
Sweave glm.fit
Dear R users,
After running Sweave, this is what I get :
Warning messages:
1: glm.fit: algorithm did not converge
2: glm.fit: algorithm did not converge
There is no glm.fit function in my code.
Where does it come from ? From Sweave ? From system.time ?
Thanks for your help,
Jimmy
[[alternative HTML version deleted]]