Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
Try sub("[(]","", names(dataFrams) and sub("[)]","", names(dataFrams) Frans 2013/2/28 Jesus Munoz Serrano <jesusmunozserrano at gmail.com> > > Dear all > > I'm having some problems with a data set that has parenthesis within the variable names. A example of...
Hi Mohse, You can do that with the append parameter of the write.xlsx routine in the xlsx package: xlsx::write.xlsx(file1,file='XXXXX.xlsx',sheetName = '1') xlsx::write.xlsx(file2,file='XXXXX.xlsx',sheetName = '2',append = T) Success...
Sorry: > sub("[(]","", names(dataFrame) > > and > > sub("[)]","", names(dataFrame) > > Frans 2013/3/1 Frans Marcelissen <fransiepansiekevertje at gmail.com>: > Try > > sub("[(]","", names(dataFrams) > > and > > sub("[)]","", names(dataFrams) > > Frans > > > > > 2013/2/28 Jesus Munoz Serrano <jesusmunozserrano at gmail.com> >> >> Dear all >> >> I...
Hi Ian, The remark of Rainer is correct, but I think the solution is very simpe: f1 = function(a) { b = a + 1 b } f2 = function(x, z) { y = x*z(x) -2 y } > f2(x = 3, z = f1) [1] 10...
Hi Mohsen, Just read them with read.csv or read.table (file1<-read.csv(file=.....), and you can write them. Success! Frams 2016-01-13 15:47 GMT+01:00 Mohsen Jafarikia <jafarikia at gmail.com>: > Thanks Frans, > > My files...
Three remarks: 1. 'Install.Packages=="RODBC"' does nothing. Where did you find that? The command is install.packages("RODBC") 2. Sometimes it is a good idea to start reading a manual. 3. Please do not post in html Frans 2016...
Hoi Pauli, There is a difference between two ways of accessing columns in a matrex: > df$aaa NULL > df["AAA"] Error in `[.data.frame`(df, "AAA") : undefined columns selected So df["AAA"] or df[,"AAA"] gives the error message you...
Hi Michael, I don't know whether there is a particulal reason for using sendmailR, but I use mailR for this without any problem. mailR::send.mail(from, to, subject = "", body = "", encoding = "iso-8859-1", html = FALSE, inline = FALSE, smtp...
Hi, Should'nt it be A <- read.csv("C:\\\\Users\\Anthi\\Desktop\\R\\A.csv", header=TRUE) (c:\\ becomes c:\ In general I think it is better to use / and //) Frans -----Oorspronkelijk bericht----- Van: r-help-bounces at r-project...
Hi Ista, Your suggestion is not the solution I need. My problem is that in this way each plot gets another margin. I try to create a presentation with about 10 plots.The presentation does'nt look well if each...
Do you mean that you try to write several dataframes to the same sheet? You have asked this before, and I think it has been said that that is not possible with write.xls. I suppose that you still try...
Hello Christopher and others : What cannot be stressed enough is: do not combine both packages, it gives errors and incorrect results! I will show that below -------------------------------------------------------- a<-data.frame(groep=1:4,v=1:40) library(dplyr) a %>% group_by...
I think this is what reshape is made for... Frans -------------------------------------- rater.id <- c(1, 2, 1, 3, 2, 3) observation <- c(1, 1, 2, 2, 3, 3) rating <- c(6, 7, 4, 6, 2, 4) dat=data.frame(rater.id...
Hi, I had the same problem unde linux. My friend Albert Jan Roskam knew the solution: add Sys.setlocale(category = "LC_ALL", locale = "en_US.UTF-8") I suppose this also works under windows. Frans -----Oorspronkelijk bericht----- Van: r-help...
I agree with this. But there is (in my opinion) a much more dangerous point: a<b If there is an object called b in the function, it uses this b. But if you forgot to inialise b in the...
Hi Martin, In addition to what Duncan writes: I think winscp does exactly what you want. You can copy objects from/to linux, but also edit files from linux on the winduts machine without explicitly copying (of course you do...
Can't find what you're looking for? Try searching with Google .