search for: napolitano

Displaying 4 results from an estimated 4 matches for "napolitano".

2009 Dec 24
3
Newbie: colSums() compared with Matlab's sum()
Hi all, I'm trying to learn R after years of Matlab's experience. Here is an issue I couldn't solve today. Consider the following piece of code (written by memory): for(i in 1:n){ submat <- data[1:i,] C <- colSums(submat) } The problem is that at the first iteration, data[1:1,] reduces to a vector and colSums returns an error. This sounds really strange to me
2009 Dec 28
2
2D array of strings
Sorry for the dumb question, but I couldn't figure this out myself. Consider the following: > str <- c("abc","def") > array(str, c(2,1)) [,1] [1,] "abc" [2,] "def" How can i obtain the outcome of the second instruction without specifying the number of rows? Thank you in advance, Francesco.
2007 Feb 02
1
Valid users not working on 3.0.23d
Hi, Any one still having problems with "valid users" on 3.0.23d? I'm working in "security = USER" mode and with local users only. Share configuration : [private] path = /home/private valid users = papo force user = root force group = root read only = No create mask = 0600 directory mask = 0700 First test, anonymous
1999 Feb 03
0
[Q] Running 2 smbds bound to different interfaces on one machine?
Hi, I am trying to setup two Samba daemons (smbd) on one machine. I would like to have one smbd use configuration file A and the second smbd use configuration file B. Configuration file A will be setup for users home directories and would use security = USER. Configuration file B is for a shared printer and would use security = SHARE. The machine running Samba has aliasing, so I thought I